diff options
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);
|