summaryrefslogtreecommitdiff
path: root/608/CH21/EX21.07/21_07.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /608/CH21/EX21.07/21_07.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '608/CH21/EX21.07/21_07.sce')
-rwxr-xr-x608/CH21/EX21.07/21_07.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/608/CH21/EX21.07/21_07.sce b/608/CH21/EX21.07/21_07.sce
new file mode 100755
index 000000000..d5abd1c29
--- /dev/null
+++ b/608/CH21/EX21.07/21_07.sce
@@ -0,0 +1,14 @@
+//Problem 21.07: Determine the terminal voltage of a generator which develops an e.m.f. of 200 V and has an armature current of 30 A on load. Assume the armature resistance is 0.30 ohm. 
+
+//initializing the variables:
+Ra = 0.30; // in ohms
+Ia = 30; // in Amperes
+E = 200; // in Volts
+
+//calculation:
+//terminal voltage,
+//V = E - Ia*Ra
+V = E - Ia*Ra
+
+printf("\n\n Result \n\n")
+printf("\n terminal voltage of a generator is %.0f V ",V) \ No newline at end of file