diff options
Diffstat (limited to '1172/CH4/EX4.1')
-rwxr-xr-x | 1172/CH4/EX4.1/4_1.txt | 6 | ||||
-rwxr-xr-x | 1172/CH4/EX4.1/Example4_1.sce | 13 |
2 files changed, 19 insertions, 0 deletions
diff --git a/1172/CH4/EX4.1/4_1.txt b/1172/CH4/EX4.1/4_1.txt new file mode 100755 index 000000000..f3e52326e --- /dev/null +++ b/1172/CH4/EX4.1/4_1.txt @@ -0,0 +1,6 @@ + # Problem 1 #
+
+ Magnitude of force F is 7.176350 N
+ Angle made with X - axis is 69.612564 degree
+ Angle made with Y - axis is 51.166475 degree
+ Angle made with Z - axis is 134.165477 degree
diff --git a/1172/CH4/EX4.1/Example4_1.sce b/1172/CH4/EX4.1/Example4_1.sce new file mode 100755 index 000000000..fb48f6782 --- /dev/null +++ b/1172/CH4/EX4.1/Example4_1.sce @@ -0,0 +1,13 @@ +clc
+//Given that
+F = [2.5,4.5,-5] // F is a force vector act through origin
+// sample Problem 1 Page No. 176
+printf("\n\n\n # Problem 1 # \n")
+F_magnitude = sqrt ( 2.5^2 + 4.5^2 + (-5)^2)
+theta_x = (180 / %pi ) * acos ( 2.5 / F_magnitude)
+theta_y = (180 / %pi ) * acos ( 4.5 / F_magnitude)
+theta_z = (180 / %pi ) * acos ( -5 / F_magnitude)
+printf (" \n Magnitude of force F is %f N", F_magnitude)
+printf(" \n Angle made with X - axis is %f degree", theta_x)
+printf(" \n Angle made with Y - axis is %f degree" ,theta_y)
+printf(" \n Angle made with Z - axis is %f degree", theta_z)
|