summaryrefslogtreecommitdiff
path: root/3137/CH16/EX16.32
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3137/CH16/EX16.32
downloadScilab-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/CH16/EX16.32')
-rwxr-xr-x3137/CH16/EX16.32/Ex16_32.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3137/CH16/EX16.32/Ex16_32.sce b/3137/CH16/EX16.32/Ex16_32.sce
new file mode 100755
index 000000000..18d4182e0
--- /dev/null
+++ b/3137/CH16/EX16.32/Ex16_32.sce
@@ -0,0 +1,18 @@
+//Initilization of variables
+m=20 //kg
+g=9.8 //m/s^2
+vo=3 //m/s
+v=0 //m/s
+s=4 //m
+//Calculations
+//Using equations of motion
+Na=m*g //N
+F=(Na*0.075)/0.125 //N
+a=F/m //m/s^2
+//Displacement
+d=-(v^2-vo^2)/(2*a) //m
+displ=s-d //m
+v_f=sqrt(2*a*displ) //m/s
+//Result
+clc
+printf('The final velocity is %f m/s',v_f)