diff options
Diffstat (limited to '3137/CH12/EX12.12')
-rwxr-xr-x | 3137/CH12/EX12.12/Ex12_12.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/3137/CH12/EX12.12/Ex12_12.sce b/3137/CH12/EX12.12/Ex12_12.sce new file mode 100755 index 000000000..f186c3e75 --- /dev/null +++ b/3137/CH12/EX12.12/Ex12_12.sce @@ -0,0 +1,13 @@ +//Initilization of variables
+//Calling upward direction positive
+xdot1=6 //ft/s
+xdot3=3 //ft/s
+xdoubledot=2 //ft/s^2
+xdoubledot3=-4 //ft/s^2
+//Calculations
+xdot=-xdot1 //ft/s
+xdot2=2*xdot-xdot3 //ft/s
+xdoubledot2=2*xdoubledot-xdoubledot3 //ft/s^2
+//Result
+clc
+printf('The value of velocity is %f ft/s and acceleration is %f ft/s^2',xdot2,xdoubledot2)
|