diff options
Diffstat (limited to '278/CH5/EX5.7')
-rwxr-xr-x | 278/CH5/EX5.7/ex_5_7.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/278/CH5/EX5.7/ex_5_7.sce b/278/CH5/EX5.7/ex_5_7.sce new file mode 100755 index 000000000..d0bf2bb86 --- /dev/null +++ b/278/CH5/EX5.7/ex_5_7.sce @@ -0,0 +1,14 @@ +//find diameter of axle
+clc
+//solution
+//given
+L=1000//mm
+W=30*10^3//N
+f=60//N/mm^2//stress
+//let d be diameter
+pi=3.14
+//Z=(pi/32)*d^3
+M=W*L/4//N-mm
+//f=M/Z
+d=[M/(60*0.09982)]^(1/3)//mm
+printf("the diameter of axle is,%f mm",d)
\ No newline at end of file |