summaryrefslogtreecommitdiff
path: root/24/CH45/EX45.6/Example45_6.sce
blob: 3d04ad52feab36bc7058a11b0b78101e6a7c772a (plain)
1
2
3
4
5
6
7
8
9
10
//Given that
v = 2.8*10^8  //in m/s
H = 19.3*10^-3  //in m/s.ly

//Sample Problem 45-6
pt = mopen('Example45_6_result.txt', 'wt')
mfprintf(pt, '**Sample Problem 45-6**\n')
r = v/H
mfprintf(pt, 'The quasar is approx at a distance of %ely', r)
mclose(pt)