blob: 30e78d30e8f2577a82b3c8f8a3b1d95f7b5ab4f1 (
plain)
1
2
3
4
5
6
7
|
//Example 8_7
clc();
clear;
//To find the ratio of perihelion to that at aphelion
//We know that (Ip*Wp)=(Ia*Wa) as I=m*r^2
//(Wp/Wa)=(ra/rp)^2 as Vt=w*r
printf("The ratio of perihelion to that at aphelion is (Vp/Va)=(ra/rp)")
|