summaryrefslogtreecommitdiff
path: root/3422/CH7/EX7.4
diff options
context:
space:
mode:
Diffstat (limited to '3422/CH7/EX7.4')
-rwxr-xr-x3422/CH7/EX7.4/Ex7_4.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3422/CH7/EX7.4/Ex7_4.sce b/3422/CH7/EX7.4/Ex7_4.sce
new file mode 100755
index 000000000..f4efae8cf
--- /dev/null
+++ b/3422/CH7/EX7.4/Ex7_4.sce
@@ -0,0 +1,11 @@
+//example 7.4, page 165
+clc
+pr=100//in kw
+N=18//in min
+tou=90//in min
+R=30//in min
+tou_1=120//in min
+a=N/tou
+b=R/tou_1
+px=pr*sqrt((1-exp(-(a+b)))/(1-exp(-(a))))
+printf("The power is %f kw",px) \ No newline at end of file