diff options
Diffstat (limited to '24/CH6/EX6.2')
-rwxr-xr-x | 24/CH6/EX6.2/Example6_2.sce | 20 | ||||
-rwxr-xr-x | 24/CH6/EX6.2/Example6_2_FBD.jpg | bin | 0 -> 39593 bytes | |||
-rwxr-xr-x | 24/CH6/EX6.2/Example6_2_result.txt | 5 |
3 files changed, 25 insertions, 0 deletions
diff --git a/24/CH6/EX6.2/Example6_2.sce b/24/CH6/EX6.2/Example6_2.sce new file mode 100755 index 000000000..6640c9ece --- /dev/null +++ b/24/CH6/EX6.2/Example6_2.sce @@ -0,0 +1,20 @@ +exec("degree_rad.sci",-1)
+
+//GIven that
+g = 9.8 //in /s^2
+mass = 75 //in kg
+mu_k = 0.10
+phi = dtor(42)
+
+//Sample Problem 6-2a
+printf("**Sample Problem 6-2a**\n")
+//T * cos(phi)- mu_k * N = 0
+//T * sin(phi) + N = mass * g
+mat_A = [cos(phi),-mu_k;sin(phi),1]
+mat_B = [0 ;mass * g]
+F = inv(mat_A) * mat_B
+printf("The Tension in the string is %f N\n", F(1))
+
+//Sample Problem 6-2b
+printf("\n**Sample Problem 6-2b**\n")
+printf("The force of friction will not change")
\ No newline at end of file diff --git a/24/CH6/EX6.2/Example6_2_FBD.jpg b/24/CH6/EX6.2/Example6_2_FBD.jpg Binary files differnew file mode 100755 index 000000000..47b424d1d --- /dev/null +++ b/24/CH6/EX6.2/Example6_2_FBD.jpg diff --git a/24/CH6/EX6.2/Example6_2_result.txt b/24/CH6/EX6.2/Example6_2_result.txt new file mode 100755 index 000000000..f95e9e07b --- /dev/null +++ b/24/CH6/EX6.2/Example6_2_result.txt @@ -0,0 +1,5 @@ +**Sample Problem 6-2a**
+The Tension in the string is 90.734256 N
+
+**Sample Problem 6-2b**
+The force of friction will not change
\ No newline at end of file |