I have a big project due tomorrow morning regarding Kepler's laws, and I'm stuck on one. I have to prove Kepler's second law via observations I've collected from Stellarium. Problem is, the areas either end up negative or they're not equal.
The project is focused on Jupiter and its moons. I have graphed the oscilating distance between Jupiter and each of its Galilean moons. Through that I have found the a and c of every ellipse, and through those - the b. With those, I have the ellipse function for every orbital path, and the focal points of each one (I decided that Jupiter is on the positive focal point).
Now I have to prove the second law. I have radii for each moon's path measured in equal time intervals. I will use three to build 2 "triangles." If the function of the ellipse is: f(x)=((b^2)-((b^2*(x^2)/(a^2))^0.5 then:
F(X)=b*((a*((sin(x/a))^-1))+((x*((-(x-a)*(x+a))^(1/2)))/abs(a)))/2
In an attempt to simplify, I chose three distances of which the x that is on the ellipse perimeter is always bigger than c. I can find the x of each radii using: r1=a-(cx/a). Then, I find their y's through f(x). THEN I move onto the areas. I have gone over it a few times, and what I have, when all the x's are bigger than c, is:
S1: F(x1)-F(x2)-((y1*(x1-c))/2)+((y2*(x2-c))/2)
S2: F(x2)-F(x3)+((y3*(x3-c))/2)-((y2*(x2-c))/2)
Problem is, the areas don't turn out the same! This is one of the few instances where they aren't in the negatives as well.
For example, with Europa:
x=(((678661260.6^2)-(678661260.6*d))/7006365.5)
f(x)=((678625093.5^2)-((((678625093.5^2)*(x^2))/(678661260.6^2))))^0.5
F(x)=678625093.5*((678661260.6*((SIN(x/678661260.6))^-1))+((x*((-(x-678661260.6)*(x+678661260.6))^(1/2)))/ABS(678661260.6)))/2
x1:173340290.7
y1:656116120.5
x2:407290065
y2:542830084.5
x3: 596849455.5
y3: 323018129.8
In the end, I get:
S1 = 5.04111e17
S2=1.09607e17
The ratio isn't even close to 1! I don't know what went wrong.
Please help. I can send excel sheets, photos, graphs, whatever is needed.
I need this for tomorrow. Please.
Image link for example: