blob: e7517bdacb48e8cc6901e20cbaee0ce8c1ff06e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
clear
//Given
r=10**-10
R=10**-15
Rs=7*10**8
//Calculation
R1=r/R
Re=R1*Rs
//Result
printf("\n Radius of the earths orbit is %0.3f m. Thus the earth would be much farther away from the sun",Re)
|