From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3705/CH8/EX8.9/Ex8_9.sce | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 3705/CH8/EX8.9/Ex8_9.sce (limited to '3705/CH8/EX8.9/Ex8_9.sce') diff --git a/3705/CH8/EX8.9/Ex8_9.sce b/3705/CH8/EX8.9/Ex8_9.sce new file mode 100644 index 000000000..503b2ef6f --- /dev/null +++ b/3705/CH8/EX8.9/Ex8_9.sce @@ -0,0 +1,19 @@ + +clear// + +//Variable Declaration +sigma_w=120 //Working Stress in MPa +tau_w=70 //Working Shear in MPa + +//Calcualtions +//Section a-a +M=3750 //Applied moment at section a-a in N.m +T=1500 //Applied Torque at section a-a in N.m + +//After carrying out the variable based computation we compute d +d1=((124.62)/(sigma_w*10**3*%pi))**0.3333 //Diameter of the shaft in m +d2=((65.6)/(tau_w*10**3*%pi))**0.3333 //Diameter of the shaft in m +d=max(d1,d2) //Diameter of the shaft to be selected in m + +//Result +printf("\n The diameter of the shaft to be selected is %0.1f mm",d*1000) -- cgit