summaryrefslogtreecommitdiff
path: root/3648/CH8/EX8.8/Ex8_8.sce
blob: ddadbe7c789258d2c52ed6ddd3161e996a99f0c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//Example 8_8
clc();
clear;
//To find out how long does the sun take to complete one revolution
ra_rb=10^5
noofrev=1/25    //units in rev/day
wafter=(ra_rb)^2*(noofrev)
t=86400   //units in sec
time=t/wafter   //units in sec
printf("The sun would take for one revolution in time=")
disp(time)
printf("sec")