summaryrefslogtreecommitdiff
path: root/3647/CH9/EX9.2/ex9_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3647/CH9/EX9.2/ex9_2.sce')
-rw-r--r--3647/CH9/EX9.2/ex9_2.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3647/CH9/EX9.2/ex9_2.sce b/3647/CH9/EX9.2/ex9_2.sce
new file mode 100644
index 000000000..18ba7f359
--- /dev/null
+++ b/3647/CH9/EX9.2/ex9_2.sce
@@ -0,0 +1,12 @@
+//Solutions to Problems In applied mechanics
+//A N Gobby
+clear all;
+clc
+//initialisation of variables
+a=600000//lbf in
+b=%pi*(4)^4/32//in^2
+q=4000//in^2
+//CALCULATIONS
+D=sqrt((a)/q)*2/b*10//in
+//RESULTS
+printf('The shaft diameter=% f in',D)