summaryrefslogtreecommitdiff
path: root/620/CH14/EX14.5/example14_5.sce
blob: 17aca00249d7537761ecf8b057399bc58def16b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
disp("Part a");
l=0.1;
vel=20;
b=0.7;
v=b*l*vel;
disp("the maximum voltage (in V) that can be induced is"); disp(v);
disp("Part b");
deg1=60*%pi/180;
deg2=30*%pi/180;
deg3=10*%pi/180;
v1=v*sin(deg1);
v2=v*sin(deg2);
v3=v*sin(deg3);
disp("voltage induced (in V) when moving at an angle of 60° is"); disp(v1);
disp("voltage induced (in V) when moving at an angle of 30° is"); disp(v2);
disp("voltage induced (in V) when moving at an angle of 10° is"); disp(v3);