summaryrefslogtreecommitdiff
path: root/278/CH4/EX4.7/ex_4_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '278/CH4/EX4.7/ex_4_7.sce')
-rwxr-xr-x278/CH4/EX4.7/ex_4_7.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/278/CH4/EX4.7/ex_4_7.sce b/278/CH4/EX4.7/ex_4_7.sce
new file mode 100755
index 000000000..eae6c4341
--- /dev/null
+++ b/278/CH4/EX4.7/ex_4_7.sce
@@ -0,0 +1,16 @@
+//find diameter of bars and of the pin,refer fig 4.8
+clc
+//solution
+//given
+P=80000//N//tensile force applied
+f1=100//(N/mm^2)
+f2=80//(N/mm^2)
+//diameter of bars in mm
+//A1=(pi/4)*D1^2//Area of bar
+//P=f1*(pi/4)*D1^2
+D1=sqrt((4*P)/(f1*pi))
+printf("\nthe diameter of bars is,%f mm\n",D1)
+//diameter of pin
+//A2=(2*pi/4)*D2^2//area of pin
+D2=sqrt((4*P)/(2*pi*f2))
+printf("\n the diameter of pin is,%f mm \n",D2) \ No newline at end of file