summaryrefslogtreecommitdiff
path: root/620/CH8/EX8.3/example8_3.sce
blob: a5aa67d680a58fc587dc122bf1dce756dc67553c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
disp("Part a");
p=0.2;
v_1=1.5;
v1_1=p*v_1;
v2_1=v_1-v1_1;
disp("the time taken to reduce the terminal voltage by 20 % is 5 h");
disp("Part b");
v_2=1.2;
v1_2=p*v_2;
v2_2=v_2-v1_2;
disp("the time taken to reduce the terminal voltage by 20 % is 10 h");
disp("Part c");
v_3=1.4;
v1_3=p*v_3;
v2_3=v_3-v1_3;
disp("the time taken to reduce the terminal voltage by 20 % is 75 h")