summaryrefslogtreecommitdiff
path: root/3760/CH4/EX4.63/Ex4_63.sce
blob: 9afe8568ec8bd8c7164bbe02b1f75d8b5b95be7d (plain)
1
2
3
4
5
6
7
8
9
10
clc;
v1=6; // hoist speed
i=60; // series current 
v=600; // supply voltage
r=0.5; // net resistance
g=9.81; // acceleration due to gravity
v2=4; // reduced hoist speed
Ea1=v-i*r; // counter EMf corresponding to v1
rx=((v-((v2/v1)*Ea1))/i)-r;
printf('External resistance to be added is %f ohms',rx);