diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2642/CH1/EX1.1 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2642/CH1/EX1.1')
-rwxr-xr-x | 2642/CH1/EX1.1/Ex1_1.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/2642/CH1/EX1.1/Ex1_1.sce b/2642/CH1/EX1.1/Ex1_1.sce new file mode 100755 index 000000000..ce1be8491 --- /dev/null +++ b/2642/CH1/EX1.1/Ex1_1.sce @@ -0,0 +1,21 @@ +// FUNDAMENTALS OF ELECTICAL MACHINES
+// M.A.SALAM
+// NAROSA PUBLISHING HOUSE
+// SECOND EDITION
+
+// Chapter 1 : REVIEW OF ELECRTIC CIRCUITS
+// Example : 1.1
+
+clc;clear; // clears the console and command history
+
+// Given data
+Q = 4 // chagre in C
+t = 0.54 // time in sec
+
+
+// caclulations
+I = Q/t // current in A
+
+// display the result
+disp("Example 1.1 solution");
+printf(" \n Current is \n I = %.2f A ", I);
|