blob: b255fab86f4ffb2ddb89fe0c76999b9d328b4038 (
plain)
1
2
3
4
5
6
7
|
clc;
g=32 //gravitational constant in ft/sec square
w=128; //mass in lb
F=(1/2)*(1/2)*128' //calculating F in lb
m=w/g; //calculating m in slugs
disp(F,"Weight at height above the earths surface of one earth radius = "); //displaying weight
disp(m,"Mass of the girl in slugs= "); //displaying mass in slugs
|