diff options
author | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
commit | f35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch) | |
tree | eb72842d800ac1233e9d890e020eac5fd41b0b1b /1301/CH3 | |
parent | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff) | |
download | Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2 Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip |
updated the code
Diffstat (limited to '1301/CH3')
-rwxr-xr-x | 1301/CH3/EX3.22/ex3_22.sce | 17 |
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 |