summaryrefslogtreecommitdiff
path: root/3871/CH5/EX5.29/Ex5_29.sce
diff options
context:
space:
mode:
Diffstat (limited to '3871/CH5/EX5.29/Ex5_29.sce')
-rw-r--r--3871/CH5/EX5.29/Ex5_29.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/3871/CH5/EX5.29/Ex5_29.sce b/3871/CH5/EX5.29/Ex5_29.sce
new file mode 100644
index 000000000..76d4b1606
--- /dev/null
+++ b/3871/CH5/EX5.29/Ex5_29.sce
@@ -0,0 +1,21 @@
+//=============================================================
+//Chapter 5 example 29
+
+clc;
+clear all;
+
+
+//variable declaration
+V1 = 1000; //potential of vane in volts
+
+//calculations
+//v = VA-VB
+mprintf("theta 10 S D");
+mprintf("\ntheta praportional to Tt praportional to 2*V1*V")
+mprintf("\n10 praportional to 2 praportional to 1000");
+mprintf("\ndividing above expressions ")
+v = (10/25)*(2500/2000);
+
+//result
+mprintf("v = %3.2f volt",v);
+