diff options
Diffstat (limited to '24/CH9/EX9.3/Example9_3.sce')
-rwxr-xr-x | 24/CH9/EX9.3/Example9_3.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/24/CH9/EX9.3/Example9_3.sce b/24/CH9/EX9.3/Example9_3.sce new file mode 100755 index 000000000..752928ae9 --- /dev/null +++ b/24/CH9/EX9.3/Example9_3.sce @@ -0,0 +1,14 @@ +exec("degree_rad.sci",-1)
+
+//Given that
+m1 = 4 //in kg
+m2 = 8 //in kg
+m3 = 4 //in kg
+F1 = [-6, 0]
+F2 = [12*cos(dtor(45)), 12*sin(dtor(45))]
+F3 = [14, 0]
+
+//Sample Problem 9-3
+printf("**Sample Problem 9-3**\n")
+aC = (F1 + F2 + F3)/(m1 + m2+ m3)
+printf("The acceleration of center of mass is %fm/s^2 at \nan angle of %f degrees to the positive x-axis", norm(aC), rtod(atan(aC(2)/aC(1))))
\ No newline at end of file |