summaryrefslogtreecommitdiff
path: root/2414/CH17/EX17.1/Ex17_1.sce
blob: c35420791d3cc293089b8d4e853ac025efc8d1ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc;
close();
clear();
//page no 547
//prob no. 17.1
H=10^6;    //meter
v=20*10^6/sqrt(H+6.4*10^6);   //m/s
mprintf('(a)velocity , v=%i m/s\n',v);
R=6.4*10^6;    //data rate in bits per second
C=2*%pi*(H+R);    //circumference in m
mprintf(' (b)circumference , C=%i m\n',C);    //raunded value of C shown in book solution
T=C/v;
mprintf(' (c)The period is , T=%.2f seconds or %.2f minutes',T,T/60);