From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 608/CH8/EX8.02/8_02.sce | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 608/CH8/EX8.02/8_02.sce (limited to '608/CH8/EX8.02') diff --git a/608/CH8/EX8.02/8_02.sce b/608/CH8/EX8.02/8_02.sce new file mode 100755 index 000000000..5bfaee267 --- /dev/null +++ b/608/CH8/EX8.02/8_02.sce @@ -0,0 +1,16 @@ +//Problem 8.02: A conductor carries a current of 20 A and is at rightangles to a magnetic field having a flux density of 0.9 T. If the length of the conductor in the field is 30 cm, calculate the force acting on the conductor. Determine also the value of the force if the conductor is inclined at an angle of 30° to the direction of the field. + +//initializing the variables: +B = 0.9; // in tesla +I = 20; // in Amperes +l = 0.30; // in m +alpha = 30; // in degree +u0 = 4*%pi*1E-7; + +//calculation: +F1 = B*I*l +F2 = B*I*l*sin(alpha*%pi/180) + +printf("\n\nResult\n\n") +printf("\n (a)Force when the conductor is at right angles to the field = %.1f N",F1) +printf("\n (b)Force when the conductor is at 30° angle to the field = %.1f N",F2) \ No newline at end of file -- cgit