summaryrefslogtreecommitdiff
path: root/1172/CH8/EX8.4.1/Example8_4a.sce
blob: 20127990da7fc0f803e5eb42a5772ca22f619dec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
clc
//Given that
t1 = 1 // time period of satellite s1 in hours
t2 = 8 // time period of satellite s2 in hour
r1 = 1.2e4 // radius of orbit of satellite s1 in km

// sample problem 4a page No. 300
printf("\n\n\n # Problem 4a # \n")

printf("Standard formula r2/r1 = (t2/t1)^(2/3)")
r2 = r1 * (t2/t1)^(2/3) // calculation of radius of orbit of satellite s2 in km
v1 = 2 * %pi * r1 / t1  // calculation of speed of satellite s1 in km/h
v2 = 2 * %pi * r2 / t2  // calculation of speed of satellite s2 in km/h
del_v = v2 - v1 // calculation of relative speed of satellites in km/h

printf (" \n Relative speed of satellite s2 wrt satellite s1 is %e km/h.", del_v)