summaryrefslogtreecommitdiff
path: root/3137/CH13/EX13.2/Ex13_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3137/CH13/EX13.2/Ex13_2.sce')
-rwxr-xr-x3137/CH13/EX13.2/Ex13_2.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3137/CH13/EX13.2/Ex13_2.sce b/3137/CH13/EX13.2/Ex13_2.sce
new file mode 100755
index 000000000..1276604bc
--- /dev/null
+++ b/3137/CH13/EX13.2/Ex13_2.sce
@@ -0,0 +1,16 @@
+//Initilization of variables
+m=5 //kg
+s=12 //m
+v=4 //m/s
+vo=0 //m/s
+g=9.8 //m/s^2
+mu=0.25
+//Calculations
+//Using the kinematic equations of motion
+a=(v^2-vo^2)/(2*s) //m/s^2
+//Using Newtons Principle
+N1=g*m //N
+P=m*a+mu*N1 //N
+//Result
+clc
+printf('The value of P is %fN',P)