diff options
Diffstat (limited to '1301/CH3/EX3.15/ex3_15.sce')
-rwxr-xr-x | 1301/CH3/EX3.15/ex3_15.sce | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/1301/CH3/EX3.15/ex3_15.sce b/1301/CH3/EX3.15/ex3_15.sce new file mode 100755 index 000000000..56cc6d845 --- /dev/null +++ b/1301/CH3/EX3.15/ex3_15.sce @@ -0,0 +1,8 @@ +clc;
+g=32; //gravitational constant in ft/sec square
+m=50; //mass in slugs
+w=m*g; //calculating weight in lb
+disp(w,"Weight in lb = ");
+w=50; //weight in lb
+m=w/g //calculating mass in slugs.
+disp(m,"Mass in slugs = "); //displaying result
\ No newline at end of file |