summaryrefslogtreecommitdiff
path: root/2075/CH3/EX3.8/pe3_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '2075/CH3/EX3.8/pe3_8.sce')
-rwxr-xr-x2075/CH3/EX3.8/pe3_8.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/2075/CH3/EX3.8/pe3_8.sce b/2075/CH3/EX3.8/pe3_8.sce
new file mode 100755
index 000000000..bec0ae0c6
--- /dev/null
+++ b/2075/CH3/EX3.8/pe3_8.sce
@@ -0,0 +1,19 @@
+//example 3.8
+clc; funcprot(0);
+// Initialization of Variable
+M=1000;
+H=40;
+T=30;
+E1=.9;
+E2=.5;
+V=220;
+//calculation
+W=M*H;
+P=(W)/(T*550);
+disp(P,"power required in hp")
+printf('Pick a 5HP motor')
+P1=5;
+Pe=P1/E1;
+I=(Pe*746)/V;
+disp(I,"current required in amp")
+clear()