diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /3137/CH13/EX13.14/Ex13_14.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '3137/CH13/EX13.14/Ex13_14.sce')
-rwxr-xr-x | 3137/CH13/EX13.14/Ex13_14.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/3137/CH13/EX13.14/Ex13_14.sce b/3137/CH13/EX13.14/Ex13_14.sce new file mode 100755 index 000000000..8293807d4 --- /dev/null +++ b/3137/CH13/EX13.14/Ex13_14.sce @@ -0,0 +1,15 @@ +//Initilization of variables
+theta=10 //degrees
+v=10 //ft/s
+v0=0 //ft/s
+u=1/3 //coefficient of friction
+g=32.2 //ft/s^2
+//Calculations
+//Equations of motion for box are
+//Simplfying the equations by sybstitution
+a=((u*cosd(theta))-sind(theta))*g //ft/s^2
+//Time calculations
+t=(v-v0)/a //s
+//Result
+clc
+printf('The value of a is %fft/s^2\n The time required is %f seconds',a,t)
|