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 /608/CH9/EX9.01 | |
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 '608/CH9/EX9.01')
-rwxr-xr-x | 608/CH9/EX9.01/9_01.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/608/CH9/EX9.01/9_01.sce b/608/CH9/EX9.01/9_01.sce new file mode 100755 index 000000000..2f37a2687 --- /dev/null +++ b/608/CH9/EX9.01/9_01.sce @@ -0,0 +1,16 @@ +//Problem 9.01: A conductor 300 mm long moves at a uniform speed of 4 m/s at right-angles to a uniform magnetic field of flux density 1.25 T. Determine the current flowing in the conductor when (a) its ends are open-circuited, (b) its ends are connected to a load of 20 ohm resistance.
+
+//initializing the variables:
+l = 0.3; // in m
+v = 4; // in m/s
+B = 1.25; // in Tesla
+R = 20; // in ohms
+u0 = 4*%pi*1E-7;
+
+//calculation:
+E = B*l*v
+I2 = E/R
+
+printf("\n\nResult\n\n")
+printf("\n (a)If the ends of the conductor are open circuited no current will flow even though %.1f V has been induced",E)
+printf("\n (b)From Ohm’s law, I = %.3f Ampere",I2)
\ No newline at end of file |