summaryrefslogtreecommitdiff
path: root/1529/CH9/EX9.1/9_01.sce
blob: 58f916fc961e9a6d2ab90d71158f2f857cb4e402 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Chapter 9, Problem 1
clc;
B=1.25;                     //flux density
v=4;                        //conductor velocity
l=300*10^-3;                //conductor length
R=20;                       //resistance 
E=B*l*v;                    //calculating emf
I=E/R;                      //calculating current from ohms law
disp("(a)");
disp("If the ends of the conductor are open circuited, no current will flow.");
disp("(b)");
disp("If its ends are connected to a load of 20ohm resistance, then");
printf("Current = %f A",I);