summaryrefslogtreecommitdiff
path: root/2732/CH6/EX6.11/Ex6_11.sce
diff options
context:
space:
mode:
Diffstat (limited to '2732/CH6/EX6.11/Ex6_11.sce')
-rwxr-xr-x2732/CH6/EX6.11/Ex6_11.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2732/CH6/EX6.11/Ex6_11.sce b/2732/CH6/EX6.11/Ex6_11.sce
new file mode 100755
index 000000000..58799b05f
--- /dev/null
+++ b/2732/CH6/EX6.11/Ex6_11.sce
@@ -0,0 +1,15 @@
+clc
+//initialization of variables
+clear
+d=5 //cm
+rpm1=300 //rpm
+rpm2=30000 //rpm
+s=1000 //kg/cm^2
+//calcuations
+T=(d/2)*%pi*10^2*s/32
+hp1= 2*%pi*rpm1*T/4500
+hp2=hp1*100
+// results
+printf('Horse power at 300 rpm and 30000 rpm are respecively %d, %d h.p.',hp1/10,hp2/10)
+
+// wrong/approximate answers in the text