summaryrefslogtreecommitdiff
path: root/1301/CH3/EX3.22
diff options
context:
space:
mode:
Diffstat (limited to '1301/CH3/EX3.22')
-rwxr-xr-x1301/CH3/EX3.22/ex3_22.sce17
1 files changed, 9 insertions, 8 deletions
diff --git a/1301/CH3/EX3.22/ex3_22.sce b/1301/CH3/EX3.22/ex3_22.sce
index cd4cc0d1b..51b4206dc 100755
--- a/1301/CH3/EX3.22/ex3_22.sce
+++ b/1301/CH3/EX3.22/ex3_22.sce
@@ -1,8 +1,9 @@
-clc;
-F=50-30; //force in lb
-w1=50; //weight in lb
-w2=30; //weight in lb
-m=(w1+w2)/g; //calculating mass
-disp(m,"Mass in slugs = "); //displaying result
-a=F/m; //Newton's Law
-disp(a,"Accelaration in ft/sec square = "); //displaying result
+clc;
+F=50-30; //force in lb
+g = 9.81;
+w1=50; //weight in lb
+w2=30; //weight in lb
+m=(w1+w2)/g; //calculating mass
+disp(m,"Mass in slugs = "); //displaying result
+a=F/m; //Newton's Law
+disp(a,"Accelaration in ft/sec square = "); //displaying result \ No newline at end of file