summaryrefslogtreecommitdiff
path: root/1938/CH3
diff options
context:
space:
mode:
Diffstat (limited to '1938/CH3')
-rwxr-xr-x1938/CH3/EX3.1/3_1.sce26
-rwxr-xr-x1938/CH3/EX3.10/3_10.sce34
-rwxr-xr-x1938/CH3/EX3.11/3_11.sce36
-rwxr-xr-x1938/CH3/EX3.12/3_12.sce31
-rwxr-xr-x1938/CH3/EX3.13/3_13.sce22
-rwxr-xr-x1938/CH3/EX3.14/3_14.sce20
-rwxr-xr-x1938/CH3/EX3.15/3_15.sce27
-rwxr-xr-x1938/CH3/EX3.16/3_16.sce32
-rwxr-xr-x1938/CH3/EX3.17/3_17.sce34
-rwxr-xr-x1938/CH3/EX3.18/3_18.jpgbin0 -> 74993 bytes
-rwxr-xr-x1938/CH3/EX3.18/3_18.sce24
-rwxr-xr-x1938/CH3/EX3.19/3_19.sce21
-rwxr-xr-x1938/CH3/EX3.2/3_2.sce24
-rwxr-xr-x1938/CH3/EX3.20/3_20.sce22
-rwxr-xr-x1938/CH3/EX3.21/3_21.sce19
-rwxr-xr-x1938/CH3/EX3.22/3_22.sce10
-rwxr-xr-x1938/CH3/EX3.23/3_23.jpgbin0 -> 38736 bytes
-rwxr-xr-x1938/CH3/EX3.23/3_23.sce29
-rwxr-xr-x1938/CH3/EX3.24/3_24.jpgbin0 -> 33168 bytes
-rwxr-xr-x1938/CH3/EX3.24/3_24.sce33
-rwxr-xr-x1938/CH3/EX3.25/3_25.jpgbin0 -> 29971 bytes
-rwxr-xr-x1938/CH3/EX3.25/3_25.sce28
-rwxr-xr-x1938/CH3/EX3.26/3_26.jpgbin0 -> 29364 bytes
-rwxr-xr-x1938/CH3/EX3.26/3_26.sce34
-rwxr-xr-x1938/CH3/EX3.27/3_27.jpgbin0 -> 32631 bytes
-rwxr-xr-x1938/CH3/EX3.27/3_27.sce28
-rwxr-xr-x1938/CH3/EX3.28/3_28.jpgbin0 -> 31752 bytes
-rwxr-xr-x1938/CH3/EX3.28/3_28.sce24
-rwxr-xr-x1938/CH3/EX3.29/3_29.jpgbin0 -> 31836 bytes
-rwxr-xr-x1938/CH3/EX3.29/3_29.sce32
-rwxr-xr-x1938/CH3/EX3.3/3_3.sce28
-rwxr-xr-x1938/CH3/EX3.30/3_30.jpgbin0 -> 27184 bytes
-rwxr-xr-x1938/CH3/EX3.30/3_30.sce29
-rwxr-xr-x1938/CH3/EX3.31/3_31.jpgbin0 -> 44054 bytes
-rwxr-xr-x1938/CH3/EX3.31/3_31.sce33
-rwxr-xr-x1938/CH3/EX3.32/3_32.jpgbin0 -> 27387 bytes
-rwxr-xr-x1938/CH3/EX3.32/3_32.sce34
-rwxr-xr-x1938/CH3/EX3.4/3_4.sce16
-rwxr-xr-x1938/CH3/EX3.5/3_5.sce23
-rwxr-xr-x1938/CH3/EX3.6/3_6.jpgbin0 -> 307248 bytes
-rwxr-xr-x1938/CH3/EX3.6/3_6.sce35
-rwxr-xr-x1938/CH3/EX3.7/3_7.jpgbin0 -> 94081 bytes
-rwxr-xr-x1938/CH3/EX3.7/3_7.sce34
-rwxr-xr-x1938/CH3/EX3.8/3_8.sce22
-rwxr-xr-x1938/CH3/EX3.9/3_9.sce34
45 files changed, 878 insertions, 0 deletions
diff --git a/1938/CH3/EX3.1/3_1.sce b/1938/CH3/EX3.1/3_1.sce
new file mode 100755
index 000000000..78f4b7f2b
--- /dev/null
+++ b/1938/CH3/EX3.1/3_1.sce
@@ -0,0 +1,26 @@
+clc,clear
+printf('Example 3.1\n\n')
+
+Pole=6
+V=500
+A=2 //because of wave wound armature
+Z=1200 //number of armature conductors
+phi=20*10^-3 //useful flux per pole
+Ra=0.5 ,Rsh=250 //armature and field resistance
+Il=20 //current drawn from supply
+mechanical_losses=900
+Ish=V/Rsh
+Ia=Il-Ish
+Eb=V-Ia*Ra //because V=Eb+Ia*Ra
+N=Eb*60*A/(phi*Pole*Z) //Eb=phi*Pole*N*Z/(60*A)
+
+P_m=Eb*Ia //Electrical equivalent of mechanical power
+omega=2*%pi*N/60
+Tg=P_m/omega
+
+P_out=P_m-mechanical_losses
+T_sh=P_out/omega //Useful torque
+P_in=V*Il
+percentage_efficiency=100*P_out/P_in
+
+printf('Speed developed is %.3f r.p.m\nTorque developed is %.2f N-m\n\n(i) Useful torque is %.2f N-m\n(ii) Efficiency is %.2f percent',N,Tg,T_sh,percentage_efficiency)
diff --git a/1938/CH3/EX3.10/3_10.sce b/1938/CH3/EX3.10/3_10.sce
new file mode 100755
index 000000000..81ad668b3
--- /dev/null
+++ b/1938/CH3/EX3.10/3_10.sce
@@ -0,0 +1,34 @@
+clc,clear
+printf('Example 3.10\n\n')
+
+motor_output_FL =15000 //full load motor output
+V=250,R_sh=100
+
+//at 80 % of full load
+motor_output_FL_dash=(80/100)*motor_output_FL //80 percent of full load output
+eta=90/100 //efficiency
+motor_input=motor_output_FL_dash/eta
+total_losses = motor_input - motor_output_FL_dash //at 80 % of full load
+//at maximum efficiency , variable losses = constant losses
+constant_losses= total_losses/2
+variable_losses= constant_losses
+I= motor_input/V //line current at 80% load
+I_sh= V/ R_sh
+I_a= I- I_sh
+//since armature copper loss =R_a*I_a^2
+R_a=variable_losses/I_a^2
+E_b1=V-I_a*R_a //motor back EMF at 80% of full load
+N_1=750 // corresponding speed is given as 750 rpm
+
+//When motor current is 80 A
+I=80
+I_a=I-I_sh
+arm_cu_losses= R_a*I_a^2 //armature copper loss
+total_losses = arm_cu_losses + constant_losses
+motor_input= V*I
+motor_output = motor_input- total_losses
+eta=100*motor_output/motor_input //efficiency of motor
+printf('Efficiency of motor is %.2f percent when motor draws 80A current',eta)
+E_b2=V-I_a*R_a //motor back EMF at 80% of full load
+N_2=N_1*(E_b2/E_b1) //because E_b is proportional to N
+printf('\nand Speed is %.2f r.p.m',N_2)
diff --git a/1938/CH3/EX3.11/3_11.sce b/1938/CH3/EX3.11/3_11.sce
new file mode 100755
index 000000000..0d4d9ac6a
--- /dev/null
+++ b/1938/CH3/EX3.11/3_11.sce
@@ -0,0 +1,36 @@
+clc,clear
+printf('Example 3.11\n\n')
+
+V=250
+R_sh=166.67,R_a=0.15 //resistance of shunt field winding and armature
+N_0=1280 //in rpm
+I_L1=67 //current drawn on full load
+I_sh= V/ R_sh
+I_a1=I_L1 - I_sh
+E_b1=V-I_a1*R_a
+
+//on no load
+I_L0=6.5
+I_a0= I_L0 - I_sh
+E_b0=V-I_a0*R_a
+
+//part (i)
+//using speed equation N is proportional to E_b
+N_1=N_0*(E_b1/E_b0)
+printf('(i)Full load speed is %.3f r.p.m\n',N_1)
+
+//part (ii)
+speed_regulation=100*((N_0-N_1)/N_1)
+printf('(ii)Speed regulation is %.2f percent \n',speed_regulation)
+
+//part (iii)
+stray_losses = E_b0*I_a0 //mechanical power developed on no load
+power_developed_FL= E_b1*I_a1
+shaft_output_FL= power_developed_FL - stray_losses
+hp_rating= shaft_output_FL/746 //in horse power
+printf('(iii)H.P rating of the machine Is %.2f H.P\n',hp_rating)
+
+//part (iv)
+power_input=V*I_L1
+eta=100*(shaft_output_FL/power_input) //efficiency at full load
+printf('(iv)Efficiency at full load is %.2f percent\n',eta)
diff --git a/1938/CH3/EX3.12/3_12.sce b/1938/CH3/EX3.12/3_12.sce
new file mode 100755
index 000000000..a462c88e2
--- /dev/null
+++ b/1938/CH3/EX3.12/3_12.sce
@@ -0,0 +1,31 @@
+clc,clear
+printf('Example 3.12\n\n')
+
+V=200
+R_sh=240,R_a=0.1 //resistance of shunt field winding and armature
+rotational_loss=236
+I_L_FL=9.8 //full load line current
+N=1450
+I_sh=V/R_sh
+I_a_FL = I_L_FL - I_sh
+E_b= V- I_a_FL * R_a
+
+//part(i)
+gross_mech_P_dev= E_b*I_a_FL //gross mechanical power developed
+mech_P_dev= gross_mech_P_dev - rotational_loss //mechanical power developed
+printf('(i)Gross mechanical power developed is %.2f W\n',gross_mech_P_dev )
+printf(' Mechanical power developed is %.2f W\n',mech_P_dev )
+
+//part(ii)
+P_out=mech_P_dev
+printf('(ii)The power output is %.2f W\n',P_out)
+
+//part(iii)
+T_sh=P_out*60/(2*%pi*N)
+T_L=T_sh
+printf('(iii)Load torque is %.2f N-m\n',T_L)
+
+//part(iv)
+P_in=V*I_L_FL
+eta=100*P_out/P_in
+printf('(iv)Efficiency at full load is %.2f percent\n',eta)
diff --git a/1938/CH3/EX3.13/3_13.sce b/1938/CH3/EX3.13/3_13.sce
new file mode 100755
index 000000000..17f150853
--- /dev/null
+++ b/1938/CH3/EX3.13/3_13.sce
@@ -0,0 +1,22 @@
+clc,clear
+printf('Example 3.13\n\n')
+
+V=240
+P_out=25*735.5 //output power in watts
+R_a=0.14,R_sh=80 //resistance of armature and shunt field winding
+brush_drop=1 //voltage drop across brush
+I_L_FL=95 //input current at full load
+I_sh=V/R_sh
+I_a_FL = I_L_FL - I_sh //armature current at full load
+
+arm_cu_loss_FL = R_a*I_a_FL^2 //full load armature copper loss
+field_cu_loss= R_sh*I_sh^2 //field copper loss
+printf('(i)Armature and field copper losses are %.2f W and %.0f W respectively\n',arm_cu_loss_FL,field_cu_loss)
+brush_cu_loss= 2*brush_drop*I_a_FL //brush contact copper loss
+printf('(ii)Brush contact copper loss is %.0f W\n',brush_cu_loss)
+E_b=V-I_a_FL*R_a - 2*brush_drop //back emf
+gross_mech_P_dev= E_b*I_a_FL //gross mechanical power developed
+IFW_losses = gross_mech_P_dev - P_out //iron friction and windage losses
+printf('(iii)Core plus mechanical losses = %.1f W\n',IFW_losses+field_cu_loss+arm_cu_loss_FL)
+eta=100*(P_out/(P_out + IFW_losses+ brush_cu_loss+field_cu_loss+arm_cu_loss_FL ))
+printf('(iv)Efficiency is %.2f percent',eta)
diff --git a/1938/CH3/EX3.14/3_14.sce b/1938/CH3/EX3.14/3_14.sce
new file mode 100755
index 000000000..65fa6c19b
--- /dev/null
+++ b/1938/CH3/EX3.14/3_14.sce
@@ -0,0 +1,20 @@
+clc,clear
+printf('Example 3.14\n\n')
+
+I=5 //no load current
+V=500
+R_sh=250,R_a=0.5 //resistance of shunt field winding and armature
+motor_input_NL = V*I
+I_sh=V/R_sh
+I_a=I-I_sh
+arm_cu_loss_NL = R_a*I_a^2 //no load armature copper loss
+constant_loss = motor_input_NL - arm_cu_loss_NL
+I_FL=50, I_a_FL = I_FL - I_sh //currents at full load
+arm_cu_loss_FL = R_a*I_a_FL^2 //full load armature copper loss
+
+total_loss= constant_loss + arm_cu_loss_FL
+motor_input=V*I_FL
+motor_output_FL= motor_input - total_loss
+printf('Required output power is %.3f kW\n',motor_output_FL/1000)
+eta=100*(motor_output_FL/motor_input) //full load efficiency
+printf('Full load efficiency of motor with 50A current is %.2f percent ',eta)
diff --git a/1938/CH3/EX3.15/3_15.sce b/1938/CH3/EX3.15/3_15.sce
new file mode 100755
index 000000000..8ebbd4fa3
--- /dev/null
+++ b/1938/CH3/EX3.15/3_15.sce
@@ -0,0 +1,27 @@
+clc,clear
+printf('Example 3.15\n\n')
+
+V=250
+R_sh=275,R_a=0.8 //resistance of shunt field and amature
+I_L0=3.91 //load current
+I_sh=V/R_sh
+I_a0= I_L0 - I_sh
+constant_losses= V*I_L0 -R_a*(I_a0)^2
+
+//as a generator
+P_out=10*10^3
+I_L=P_out/V
+I_a = I_L + I_sh
+field_cu_loss=R_sh*(I_sh)^2 //field copper loss
+arm_cu_loss= R_a*(I_a)^2 //armature copper loss
+eta_gen = 100 *(P_out/(P_out+constant_losses + field_cu_loss+ arm_cu_loss)) //efficiency as generator
+printf('Efficiency as a generator = %.2f percent\n',eta_gen)
+
+//as a motor
+P_in=10*10^3 //at V=250
+I_L=P_in/V
+I_a=I_L - I_sh
+field_cu_loss=R_sh*(I_sh)^2 //field copper loss
+arm_cu_loss= R_a*(I_a)^2 //armature copper loss
+eta_m = 100 *((P_in-(constant_losses + field_cu_loss+ arm_cu_loss))/(P_in)) //efficiency as motor
+printf('Efficiency as a motor = %.2f percent',eta_m)
diff --git a/1938/CH3/EX3.16/3_16.sce b/1938/CH3/EX3.16/3_16.sce
new file mode 100755
index 000000000..a29193ba5
--- /dev/null
+++ b/1938/CH3/EX3.16/3_16.sce
@@ -0,0 +1,32 @@
+clc,clear
+printf('Example 3.16\n\n')
+
+I=4 //no load current in amperes
+V=500
+motor_input_no_load=I*V //no load motor input
+R_a=0.5,R_sh=250//resistance of armature and shunt field resistnace
+I_sh=V/R_sh
+
+I_a=I-I_sh
+arm_cu_loss_noload=R_a*I_a^2 //No-load armature copper losses
+constant_loss=motor_input_no_load - arm_cu_loss_noload
+I_FL=40,I_aFL=I_FL- I_a //full load currents
+arm_cu_loss_fulload=R_a*I_aFL^2 //Full-load armature copper losses
+Total_loss=arm_cu_loss_fulload + constant_loss
+
+motor_input=V*I_FL
+motor_output_fullload=motor_input - Total_loss
+printf('Output power at full-load is %.0f W',motor_output_fullload)
+efficiency= motor_output_fullload*100/motor_input //motor efficiency
+printf('\nEfficiency at full-load is %.1f percent',efficiency)
+
+E_bNL=V-I_a*R_a
+E_bFL=V-I_FL*R_a
+
+//E_b =N*phi
+//E_bNL/E_bFL=N_NL/N_FL
+//applying rules of componendo and dividendo
+//change_in _speed=(N_NL - N_FL)/N_FL=(E_bNL - E_bFL)/E_bFl
+
+change_in_speed=100*(E_bNL - E_bFL)/E_bFL
+printf('\npercentage change in speed from no load to full load is %.3f percent',change_in_speed)
diff --git a/1938/CH3/EX3.17/3_17.sce b/1938/CH3/EX3.17/3_17.sce
new file mode 100755
index 000000000..a0d8a2a84
--- /dev/null
+++ b/1938/CH3/EX3.17/3_17.sce
@@ -0,0 +1,34 @@
+clc,clear
+printf('Example 3.17\n\n')
+
+V=500
+R_a=0.22,R_sh= 250//armature resistance and shunt field resistance
+I=5 //no load current
+motor_input_NL=V*I //no load motor input
+I_sh=V/R_sh
+I_a_NL= I- I_sh //no load armature current
+arm_cu_loss_NL = R_a*I_a_NL^2 //no load armature copper loss
+constant_loss = motor_input_NL - arm_cu_loss_NL
+
+//When motor draws 100 A current
+I=100
+I_a = I - I_sh
+arm_cu_loss =R_a* I_a^2 //armature copper loss
+total_losses = arm_cu_loss + constant_loss
+motor_input = V*I
+motor_output = motor_input -total_losses
+eta_m=100*(motor_output/motor_input) //motor efficiency
+printf('(i)Efficiency of motor at 100 A current is %.2f percent \n',eta_m)
+
+//part(b)
+E_b_NL= V- I_a_NL*R_a //back emf at no load
+E_b= V- I_a*R_a //back emf at 100 A
+//E_b is proportional to N.. and using componendo dividendo
+speed_change= 100*((E_b_NL - E_b)/E_b)
+printf('(ii)Percentage change in speed = %.3f percent\n\n',speed_change)
+
+
+printf('Note that the following were assumptions made\n')
+printf('(i) Due to heating , resistance of shunt field winding will be increased which will reduce the shunt field current.This will decrease the flux which is neglected\n')
+printf('(ii) Though the motor speed is changing from no load to given load , the mechanical losses are assumed to be cosnstant\n')
+printf('(iii)The effect of armature reaction aon main pole flux and its effect on iron loss is neglected')
diff --git a/1938/CH3/EX3.18/3_18.jpg b/1938/CH3/EX3.18/3_18.jpg
new file mode 100755
index 000000000..50233e549
--- /dev/null
+++ b/1938/CH3/EX3.18/3_18.jpg
Binary files differ
diff --git a/1938/CH3/EX3.18/3_18.sce b/1938/CH3/EX3.18/3_18.sce
new file mode 100755
index 000000000..582f01a3e
--- /dev/null
+++ b/1938/CH3/EX3.18/3_18.sce
@@ -0,0 +1,24 @@
+clc,clear
+printf('Example 3.18\n\n')
+
+V=200,I_L=40,
+R_sh=200,R_a=0.2 //shunt field winding and armature resistance
+//case(a) : As a generator
+P_out_g=V*I_L //output poewr as generator
+I_sh=V/R_sh
+I_a = I_L + I_sh
+E = V + I_a*R_a
+P_a_g=E*I_a //power developed in armature
+P_cu_g= R_a*I_a^2 + R_sh*I_sh^2 //copper loss as genrator
+printf('(i)Output as generator is %.0f kW\n',P_out_g/1000)
+
+//case(b) : As a motor
+P_in_m=V*I_L //input power as motor
+I_sh=V/R_sh
+I_a = I_L - I_sh
+E_b = V - I_a*R_a
+P_a_m=E_b*I_a //power developed in armature
+P_cu_m= R_a*I_a^2 + R_sh*I_sh^2//copper loss as motor
+printf('(ii)Input as motor is %.0f kW\n', P_in_m/1000)
+printf('\n(iii)Power developed in Armature:\n%.4f kW for generator\n%.4f kW for motor\n',P_a_g/1000,P_a_m/1000)
+printf('\n(iv)Copper losses:\n%.1f W for generator\n%.1f W for motor',P_cu_g,P_cu_m)
diff --git a/1938/CH3/EX3.19/3_19.sce b/1938/CH3/EX3.19/3_19.sce
new file mode 100755
index 000000000..b9f9b6e01
--- /dev/null
+++ b/1938/CH3/EX3.19/3_19.sce
@@ -0,0 +1,21 @@
+clc,clear
+printf('Example 3.19\n\n')
+
+V=219,I=10
+dN=1030 - 970 //given
+t_1=36 //time with no excitation
+t_2=9// time with full excitation and armature supporting an extra load of 10 A at 219 V
+t_3=15 //time with full exciation
+W_dash = V*I //additioanl loss when armature is suddenly connected to loads
+W_s= W_dash *(t_2/(t_3-t_2)) //total stray losses
+N=1000 //speed in rpm
+//Using W_s = (2*pi/60)^2 * I *N *dN / t_3 where W_s is stray losses
+I= W_s*(t_3/dN)*(30/%pi)^2/N //moment of inertia
+W_m=W_s*(t_3/t_1) //mechanical losses
+iron_losses= W_s - W_m
+
+printf('(i)The moment of inertia of armature is %.2f kg-m^2\n',I)
+printf('(ii)Iron loss= %.2f W\n',iron_losses)
+printf('(iii)Mechanical losses at 1000 rpm mean speed is %.2f W',W_m)
+
+printf('\n\nNoteworthy points:\n(1)When armature is slowing down and there is no excitation,then kinetic energy is used to overcome mechanical losses only.Iron losses are absent as excitation is absent\n(2)When excitation is given, kinetic energy is used to overcome both mechanical as well as iron losses.Total called stray losses.\n(3)If moment of inertia is in kg-m^2,then loss of energy is in watts')
diff --git a/1938/CH3/EX3.2/3_2.sce b/1938/CH3/EX3.2/3_2.sce
new file mode 100755
index 000000000..8a6f5e21a
--- /dev/null
+++ b/1938/CH3/EX3.2/3_2.sce
@@ -0,0 +1,24 @@
+clc,clear
+printf('Example 3.2\n\n')
+
+//no load
+I_noload=2.5 //No load current
+V=440
+R_a=1.2,R_sh=550//resistance of armature and shunt field windings
+no_load_input=V*I_noload
+
+I_sh=V/R_sh
+I_a_noload=I_noload-I_sh
+no_load_armature_copper=(I_a_noload^2)*R_a
+constant_losses=no_load_input-no_load_armature_copper
+
+//full load
+I_fullload=32
+I_a_fullload=I_fullload-I_sh
+full_load_armature_coppe=(I_a_fullload^2)*R_a
+total_losses=full_load_armature_coppe+constant_losses
+full_load_motor_input=V*I_fullload
+full_load_motor_output=full_load_motor_input-total_losses
+efficiency_at_full_load=full_load_motor_output*100/full_load_motor_input
+
+printf('Full load motor output is %.2f W\nEfficiency of motor at full-load is %.2f percent',full_load_motor_output,efficiency_at_full_load)
diff --git a/1938/CH3/EX3.20/3_20.sce b/1938/CH3/EX3.20/3_20.sce
new file mode 100755
index 000000000..db92c18bb
--- /dev/null
+++ b/1938/CH3/EX3.20/3_20.sce
@@ -0,0 +1,22 @@
+clc,clear
+printf('Example 3.20\n\n')
+
+V=225,I=10
+dN=1030 - 970 //given
+t_1=40 //time with no excitation
+t_2=9// time with full excitation and armature supporting an extra load of 10 A at 219 V
+t_3=20 //time with full exciation
+
+W_dash = V*I //additional loss
+W_s= W_dash *(t_2/(t_3-t_2)) //total stray losses
+N=1000//Speed in rpm
+//Using W_s = (2*pi/60)^2 * I *N *dN / t_3 where W_s is stray losses
+I= W_s*(t_3/dN)*(30/%pi)^2/N //moment of inertia
+W_m=W_s*(t_3/t_1) //mechanical losses
+iron_losses=W_s - W_m
+
+printf('(i)The moment of inertia of armature is %.2f kg-m^2\n',I)
+printf('(ii)Iron loss= %.2f W\n',iron_losses)
+printf('(iii)Mechanical losses at 1000 rpm mean speed is %.2f W',W_m)
+
+printf('\n\nNoteworthy points:\n(1)When there is no excitation and armature is slowed down , its K.E. is used to overcome mechanical mechanical losses only since there will be no iron loss as there is no flux.\n(2)When there is excitation provided then K.E. is used to supply mechanical as well as iron losses together called stray losses ')
diff --git a/1938/CH3/EX3.21/3_21.sce b/1938/CH3/EX3.21/3_21.sce
new file mode 100755
index 000000000..22dfd6934
--- /dev/null
+++ b/1938/CH3/EX3.21/3_21.sce
@@ -0,0 +1,19 @@
+clc,clear
+printf('Example 3.21\n\n')
+
+V_avg = (220+190)/2 //average voltage across load
+I_avg=12,R_a=0.5,R_sh=250
+W_dash=V_avg*I_avg //power absorbed
+t_1=30,t_2=5
+W=W_dash*(t_2/(t_1-t_2))
+V=250,I=22 //input current
+I_sh = V/R_sh
+I_a= I - I_sh
+arm_cu_loss = R_a*I_a^2 //armature copper loss
+shunt_field_cu_loss = V*I_sh //shunt field copper loss
+total_losses= shunt_field_cu_loss + arm_cu_loss + W
+
+machine_input = V*I
+machine_output = machine_input - total_losses
+eta_m=100*(machine_output /machine_input ) //efficiency when running as motor
+printf('Efficiency of machine when opeating as motor taking current of 22A on 250V supply is \n%.1f percent',eta_m)
diff --git a/1938/CH3/EX3.22/3_22.sce b/1938/CH3/EX3.22/3_22.sce
new file mode 100755
index 000000000..037e683d8
--- /dev/null
+++ b/1938/CH3/EX3.22/3_22.sce
@@ -0,0 +1,10 @@
+clc,clear
+printf('Example 3.22\n\n')
+
+I_avg=10
+V_avg=(220+190)/2 //average voltage across load
+W_dash = V_avg*I_avg //power absorbed
+t_1=30,t_2=20
+W=W_dash * (t_2/(t_1-t_2)) //stray losses
+printf('Stray losses of motor is %.1f kW\n\n\n',W/1000)
+printf('Answers mismatch because V_average is 205 volts but it is taken as 220 volts in Power absorbed calculation')
diff --git a/1938/CH3/EX3.23/3_23.jpg b/1938/CH3/EX3.23/3_23.jpg
new file mode 100755
index 000000000..5817891bb
--- /dev/null
+++ b/1938/CH3/EX3.23/3_23.jpg
Binary files differ
diff --git a/1938/CH3/EX3.23/3_23.sce b/1938/CH3/EX3.23/3_23.sce
new file mode 100755
index 000000000..fbf2165c1
--- /dev/null
+++ b/1938/CH3/EX3.23/3_23.sce
@@ -0,0 +1,29 @@
+clc,clear
+printf('Example 3.23\n\n')
+
+I_a_g=330,I_a_m=380
+R_a=0.02 //armature resistance
+V=250,I=50
+arm_cu_loss_g= R_a*I_a_g^2//armature copper loss for generator
+arm_cu_loss_m= R_a*I_a_m^2//armature copper loss for motor
+power_drawn=V*I
+stray_losses = power_drawn - (arm_cu_loss_m + arm_cu_loss_g)
+stray_losses_each = stray_losses/2 //stray losses for each machine
+
+//for motor
+I_sh_m=4.2 //Shunt current in case of motor
+field_cu_loss_m=V*I_sh_m //field copper loss in case of motor
+total_loss = field_cu_loss_m + stray_losses_each + arm_cu_loss_m
+motor_input= V*(I_a_m+I_sh_m)
+motor_output = motor_input - total_loss
+eta_m = 100*(motor_output/motor_input)//motor efficiency
+printf('Efficiency of motor is %.4f percent\n',eta_m)
+
+//for generator
+I_sh_g=5 //Shunt current in case of generator
+field_cu_loss_g=V*I_sh_g //field copper loss in case of generator
+total_loss = field_cu_loss_g + stray_losses_each + arm_cu_loss_g
+generator_output = V*I_a_g
+generator_input= generator_output + total_loss
+eta_g = 100*(generator_output/generator_input)//generator efficiency
+printf('Efficiency of generator is %.4f percent\n',eta_g)
diff --git a/1938/CH3/EX3.24/3_24.jpg b/1938/CH3/EX3.24/3_24.jpg
new file mode 100755
index 000000000..b943ff400
--- /dev/null
+++ b/1938/CH3/EX3.24/3_24.jpg
Binary files differ
diff --git a/1938/CH3/EX3.24/3_24.sce b/1938/CH3/EX3.24/3_24.sce
new file mode 100755
index 000000000..3c2fb3d24
--- /dev/null
+++ b/1938/CH3/EX3.24/3_24.sce
@@ -0,0 +1,33 @@
+clc,clear
+printf('Example 3.24\n\n')
+
+R_a=0.02 //armature resistance
+V=250 //line voltage
+I=50 //current taken from supply
+
+//for generator
+I_a_g=330,I_sh_g=5 //armature current and current through shunt field
+arm_cu_loss_g = R_a*I_a_g^2//armature copper loss for generator
+field_cu_loss_g= V*I_sh_g //field copper loss for generator
+
+//for motor
+I_a_m=380,I_sh_m=4.2 //armature current and current through shunt field
+arm_cu_loss_m = R_a*I_a_m^2//armature copper loss for motor
+field_cu_loss_m= V*I_sh_m //field copper loss for motor
+power_drawn=V*I
+IFW_losses = power_drawn - (arm_cu_loss_g + arm_cu_loss_m) //Iron , friction and windage losses
+IFW_losses_each= IFW_losses /2 // Iron , friction and windage losses for each machine
+
+//for generator
+total_loss_g = field_cu_loss_g + arm_cu_loss_g + IFW_losses_each
+generator_output=V*I_a_g
+generator_input = generator_output + total_loss_g
+eta_g = 100*(generator_output/generator_input)//generator efficiency
+printf('Efficiency of generator is %.4f percent\n',eta_g)
+
+//for motor
+total_loss_m= field_cu_loss_m + IFW_losses_each + arm_cu_loss_m
+motor_input=V*(I_a_m+I_sh_m)
+motor_output = motor_input - total_loss_m
+eta_m = 100*(motor_output/motor_input)//motor efficiency
+printf('Efficiency of motor is %.4f percent\n',eta_m)
diff --git a/1938/CH3/EX3.25/3_25.jpg b/1938/CH3/EX3.25/3_25.jpg
new file mode 100755
index 000000000..3de3bb975
--- /dev/null
+++ b/1938/CH3/EX3.25/3_25.jpg
Binary files differ
diff --git a/1938/CH3/EX3.25/3_25.sce b/1938/CH3/EX3.25/3_25.sce
new file mode 100755
index 000000000..91a323445
--- /dev/null
+++ b/1938/CH3/EX3.25/3_25.sce
@@ -0,0 +1,28 @@
+clc,clear
+printf('Example 3.25\n\n')
+
+V=220, I=40
+I_a_g=160 ,I_a_m =200 //armature currents for generator and motor
+I_sh_g=7 ,I_sh_m =6 //current through shunt field for generator and motor
+R_a=0.015 //armature resistance
+arm_cu_loss_g = R_a*I_a_g^2 //armature copper loss for motor
+arm_cu_loss_m = R_a*I_a_m^2 //armature copper loss for motor
+power_drawn=V*I
+IFW_losses = power_drawn - (arm_cu_loss_g + arm_cu_loss_m) //Iron , friction and windage losses
+IFW_losses_each= IFW_losses /2 // Iron , friction and windage losses for each machine
+
+//for motor
+field_cu_loss_m= V*I_sh_m //field copper loss for motor
+total_loss_m= field_cu_loss_m + IFW_losses_each + arm_cu_loss_m //total losses in motor
+motor_input=V * I_a_m
+motor_output= motor_input - total_loss_m
+eta_m = 100*(motor_output/motor_input) //motor efficiency
+printf('Efficiency of motor is %.4f percent\n',eta_m)
+
+//for generator
+field_cu_loss_g= V*I_sh_g //field copper loss for generator
+total_loss_g = field_cu_loss_g + arm_cu_loss_g + IFW_losses_each //total losses in generator
+generator_output=V*I_a_g
+generator_input = generator_output + total_loss_g
+eta_g = 100*(generator_output/generator_input)//generator efficiency
+printf('Efficiency of generator is %.4f percent\n',eta_g)
diff --git a/1938/CH3/EX3.26/3_26.jpg b/1938/CH3/EX3.26/3_26.jpg
new file mode 100755
index 000000000..85dc8e785
--- /dev/null
+++ b/1938/CH3/EX3.26/3_26.jpg
Binary files differ
diff --git a/1938/CH3/EX3.26/3_26.sce b/1938/CH3/EX3.26/3_26.sce
new file mode 100755
index 000000000..c671afb7a
--- /dev/null
+++ b/1938/CH3/EX3.26/3_26.sce
@@ -0,0 +1,34 @@
+clc,clear
+printf('Example 3.26\n\n')
+
+R_a=0.2 //armature resistance
+V=240,I=16
+I_a_g=60 , I_a_m=71 //armature currents for generator and motor
+I_sh_g=3 , I_sh_m=2 //field current for generator and motor
+
+//for generator
+arm_cu_loss_g = R_a*I_a_g^2//armature copper loss for generator
+field_cu_loss_g= V*I_sh_g //field copper loss for generator
+
+//for motor
+arm_cu_loss_m = R_a*I_a_m^2//armature copper loss for motor
+field_cu_loss_m= V*I_sh_m //field copper loss for motor
+power_drawn=V*I
+field_loss_total_g_m= field_cu_loss_m + field_cu_loss_g
+arm_cu_loss_total_g_m = arm_cu_loss_m + arm_cu_loss_g
+IFW_losses = power_drawn - (arm_cu_loss_total_g_m + field_loss_total_g_m) //Iron , friction and windage losses
+IFW_losses_each= IFW_losses /2 // Iron , friction and windage losses for each machine
+
+//for generator
+total_loss_g = field_cu_loss_g + arm_cu_loss_g + IFW_losses_each //total loss in generator
+generator_output=V*I_a_g
+generator_input = generator_output + total_loss_g
+eta_g = 100*(generator_output/generator_input)//generator efficiency
+printf('Efficiency of generator is %.4f percent\n',eta_g)
+
+//for motor
+total_loss_m= field_cu_loss_m + IFW_losses_each + arm_cu_loss_m //total loss in motor
+motor_input=V*(I_a_m+I_sh_m)
+motor_output = motor_input - total_loss_m
+eta_m = 100*(motor_output/motor_input)//motor efficiency
+printf('Efficiency of motor is %.4f percent\n',eta_m)
diff --git a/1938/CH3/EX3.27/3_27.jpg b/1938/CH3/EX3.27/3_27.jpg
new file mode 100755
index 000000000..213d394da
--- /dev/null
+++ b/1938/CH3/EX3.27/3_27.jpg
Binary files differ
diff --git a/1938/CH3/EX3.27/3_27.sce b/1938/CH3/EX3.27/3_27.sce
new file mode 100755
index 000000000..5fa4d1a16
--- /dev/null
+++ b/1938/CH3/EX3.27/3_27.sce
@@ -0,0 +1,28 @@
+clc,clear
+printf('Example 3.27\n\n')
+
+R_a=0.015,V=250 //line voltage
+I=45 //line current
+I_a_m=385, I_sh_m=4 //armature and field currents for motor
+I_a_g=340, I_sh_g=5 //armature and field currents for generator
+arm_cu_loss_m= R_a*I_a_m^2 //armature copper loss for motor
+field_cu_loss_m= V*I_sh_m //field copper loss for motor
+
+arm_cu_loss_g= R_a*I_a_g^2 //armature copper loss for generator
+field_cu_loss_g= V*I_sh_g //field copper loss for motor
+
+total_cu_loss = field_cu_loss_g + arm_cu_loss_g + field_cu_loss_m + arm_cu_loss_m //total copper loss for both machines
+P_aux = V*I //power taken from auxillary supply
+stray_loss= P_aux - total_cu_loss
+stray_loss_each = stray_loss/2 //stray loss for each machine
+
+total_loss_g = stray_loss_each + arm_cu_loss_g + field_cu_loss_g //total losses in generator
+generator_output=V* I_a_g
+eta_g = 100*(generator_output/(generator_output + total_loss_g))//generator efficiency
+printf('Efficiency of generator is %.4f percent\n',eta_g)
+
+total_loss_m = stray_loss_each + arm_cu_loss_m + field_cu_loss_m//total losses in motor
+motor_input=V*(I_a_m+I_sh_m)
+motor_output = motor_input - total_loss_m
+eta_m = 100*(motor_output/motor_input)//motor efficiency
+printf('Efficiency of motor is %.4f percent\n',eta_m)
diff --git a/1938/CH3/EX3.28/3_28.jpg b/1938/CH3/EX3.28/3_28.jpg
new file mode 100755
index 000000000..d3e9cf77b
--- /dev/null
+++ b/1938/CH3/EX3.28/3_28.jpg
Binary files differ
diff --git a/1938/CH3/EX3.28/3_28.sce b/1938/CH3/EX3.28/3_28.sce
new file mode 100755
index 000000000..b20cf5ef4
--- /dev/null
+++ b/1938/CH3/EX3.28/3_28.sce
@@ -0,0 +1,24 @@
+clc,clear
+printf('Example 3.28\n\n')
+
+V=500,P=1000*10^3,I=30
+I_a_m = 200 + 30 , I_a_g =200 //armature current for motor and generator
+I_sh_m = 1.8, I_sh_g =3.5 //field current for motor and generator
+brush_drop=230
+R_a=0.075 //armature resitance
+
+arm_cu_loss_m = R_a*I_a_m^2 + 2*brush_drop //motor armature copper loss
+field_cu_loss_m =V*I_sh_m // motor field copper loss
+
+arm_cu_loss_g = R_a*I_a_g^2 + 2*brush_drop //generator armature copper loss
+field_cu_loss_g =V*I_sh_g //field copper loss generator
+
+total_cu_loss = field_cu_loss_g + arm_cu_loss_g + field_cu_loss_m + arm_cu_loss_m //total copper loss for both machines
+P_aux = V*I //power taken from auxillary supply
+stray_loss= P_aux - total_cu_loss
+stray_loss_each = stray_loss/2 //stray loss for each machine
+
+total_loss_g = stray_loss_each + arm_cu_loss_g + field_cu_loss_g //total loss in generator
+generator_output=V* I_a_g
+eta_g = 100*(generator_output/(generator_output + total_loss_g))//generator efficiency
+printf('Efficiency of generator is %.0f percent\n',eta_g)
diff --git a/1938/CH3/EX3.29/3_29.jpg b/1938/CH3/EX3.29/3_29.jpg
new file mode 100755
index 000000000..17a85f4e8
--- /dev/null
+++ b/1938/CH3/EX3.29/3_29.jpg
Binary files differ
diff --git a/1938/CH3/EX3.29/3_29.sce b/1938/CH3/EX3.29/3_29.sce
new file mode 100755
index 000000000..bbffa94d8
--- /dev/null
+++ b/1938/CH3/EX3.29/3_29.sce
@@ -0,0 +1,32 @@
+clc,clear
+printf('Example 3.29\n\n')
+
+V=220, I=10
+R_a=0.05 //artmature resistance
+I_a_m= 73, I_sh_m = 2 //armature and field current for motor
+I_a_g=67.5,I_sh_g=2.5//armature and field current for generator
+
+arm_cu_loss_m = R_a*I_a_m^2 //motor armature copper loss
+field_cu_loss_m =V*I_sh_m // motor field copper loss
+
+arm_cu_loss_g = R_a*I_a_g^2 //generator armature copper loss
+field_cu_loss_g =V*I_sh_g //field copper loss generator
+
+total_cu_loss = field_cu_loss_g + arm_cu_loss_g + field_cu_loss_m + arm_cu_loss_m //total copper loss for both machines
+power_input = V*I
+stray_loss= power_input - total_cu_loss
+stray_loss_each = stray_loss/2 //stray loss for each machine
+
+//motor efficiency
+total_loss_m= field_cu_loss_m + stray_loss_each + arm_cu_loss_m //total motor losses
+motor_input = V*(I_a_m + I_sh_m )
+motor_output =motor_input - total_loss_m
+eta_m = 100*(motor_output/motor_input)//motor efficiency
+printf('Efficiency of motor is %.4f percent\n',eta_m)
+
+//generator efficiency
+total_loss_g= field_cu_loss_g + stray_loss_each + arm_cu_loss_g //total generator losses
+generator_output =V*I_a_g
+generator_input = generator_output + total_loss_g
+eta_g = 100*(generator_output/generator_input)//motor efficiency
+printf('Efficiency of generator is %.4f percent\n',eta_g)
diff --git a/1938/CH3/EX3.3/3_3.sce b/1938/CH3/EX3.3/3_3.sce
new file mode 100755
index 000000000..38e5c95e9
--- /dev/null
+++ b/1938/CH3/EX3.3/3_3.sce
@@ -0,0 +1,28 @@
+clc,clear
+printf('Example 3.3\n\n')
+
+//no load
+I=14 //input current
+V=230
+power_output_FL = 45*10^3
+power_input=V*I
+I_sh=2.55 //field current
+R_a=0.032 //armature resistance
+I_a=I-I_sh
+cu_loss_NL = I_a^2*R_a //no load copper loss
+brush_loss=2*I_a
+constant_loss= power_input - cu_loss_NL - brush_loss
+
+//full load
+
+//I=I_a+ 2.55
+//Motor input= Motor output + constant loss + brush loss + cu loss
+// solving for I_a , I_a^2 - 7125 I_a + 1487700.3 =0
+p=[1 -7125 1487700.3]
+roots(p)
+I_a=ans(2) //ignoring second root as its too large
+I=I_a+I_sh
+printf('Full load current is %.2f A\n',I)
+power_input=V*I
+eta=100*(power_output_FL/power_input)
+printf('Efficiency at full load is %.2f percent',eta)
diff --git a/1938/CH3/EX3.30/3_30.jpg b/1938/CH3/EX3.30/3_30.jpg
new file mode 100755
index 000000000..ad449f14a
--- /dev/null
+++ b/1938/CH3/EX3.30/3_30.jpg
Binary files differ
diff --git a/1938/CH3/EX3.30/3_30.sce b/1938/CH3/EX3.30/3_30.sce
new file mode 100755
index 000000000..b12f78145
--- /dev/null
+++ b/1938/CH3/EX3.30/3_30.sce
@@ -0,0 +1,29 @@
+clc,clear
+printf('Example 3.30\n\n')
+
+V=400, I=50
+I_a_g=250 ,I_a_m =300 //armature current for generator and motor
+I_sh_g=2.5 ,I_sh_m =2.4 //field current for generator and motor
+R_a=0.1 //armature resistance
+
+arm_cu_loss_g = R_a*I_a_g^2 //armature copper loss for generator
+arm_cu_loss_m = R_a*I_a_m^2 //armature copper loss for motor
+power_drawn=V*I
+IFW_losses = power_drawn - (arm_cu_loss_g + arm_cu_loss_m) //Iron , friction and windage losses
+IFW_losses_each= IFW_losses /2 // Iron , friction and windage losses for each machine
+
+//for motor
+field_cu_loss_m= V*I_sh_m //field copper loss for motor
+total_loss_m= field_cu_loss_m + IFW_losses_each + arm_cu_loss_m
+motor_input=V * I_a_m
+motor_output= motor_input - total_loss_m
+eta_m = 100*(motor_output/motor_input) //motor efficiency
+printf('Efficiency of motor is %.2f percent\n',eta_m)
+
+//for generator
+field_cu_loss_g= V*I_sh_g //field copper loss for generator
+total_loss_g = field_cu_loss_g + arm_cu_loss_g + IFW_losses_each
+generator_output=V*I_a_g
+generator_input = generator_output + total_loss_g
+eta_g = 100*(generator_output/generator_input)//generator efficiency
+printf('Efficiency of generator is %.2f percent\n',eta_g)
diff --git a/1938/CH3/EX3.31/3_31.jpg b/1938/CH3/EX3.31/3_31.jpg
new file mode 100755
index 000000000..6cf932f9a
--- /dev/null
+++ b/1938/CH3/EX3.31/3_31.jpg
Binary files differ
diff --git a/1938/CH3/EX3.31/3_31.sce b/1938/CH3/EX3.31/3_31.sce
new file mode 100755
index 000000000..540202a06
--- /dev/null
+++ b/1938/CH3/EX3.31/3_31.sce
@@ -0,0 +1,33 @@
+clc,clear
+printf('Example 3.31\n\n')
+
+I_1=56 //motor input current
+V=590 //voltage across armature
+I_2=44 // load current
+V_2=400 // voltage across generator
+V_field = 40 //voltage drop across field winding
+R_a=0.3, R_se=0.7142 //armature and series field resistance for each machine
+total_input=(V+V_field)*I_1
+output=V_2*I_2
+total_loss_g_m= total_input - output //total losses of 2 machines
+R_se=V_field/I_1 //series field resistance for both windings
+total_cu_loss = (R_a+ 2*R_se)*I_1^2 + R_a*I_2^2 //total copper loss
+stray_loss= total_loss_g_m - total_cu_loss
+stray_loss_each = stray_loss/2 //stray loss for each machine
+
+// for motor
+motor_input = V*I_1
+arm_cu_loss_m = (R_a+ R_se)*I_1^2 //armature coper losses of motor
+total_loss_m= arm_cu_loss_m + stray_loss_each
+motor_output = motor_input - total_loss_m
+eta_m = 100*(motor_output/motor_input)//motor efficiency
+printf('Efficiency of motor is %.4f percent\n',eta_m)
+
+// for generator
+arm_cu_loss_g = R_a*I_2^2 //armature coper losses of generator
+series_field_cu_loss_g = V_field*I_1 //series field copper loss
+total_loss_g= arm_cu_loss_g + series_field_cu_loss_g + stray_loss_each
+generator_output=V_2*I_2
+generator_input = generator_output + total_loss_g
+eta_g = 100*(generator_output/generator_input)//generator efficiency
+printf('Efficiency of generator is %.4f percent\n',eta_g)
diff --git a/1938/CH3/EX3.32/3_32.jpg b/1938/CH3/EX3.32/3_32.jpg
new file mode 100755
index 000000000..3ffce6b93
--- /dev/null
+++ b/1938/CH3/EX3.32/3_32.jpg
Binary files differ
diff --git a/1938/CH3/EX3.32/3_32.sce b/1938/CH3/EX3.32/3_32.sce
new file mode 100755
index 000000000..93a6c7458
--- /dev/null
+++ b/1938/CH3/EX3.32/3_32.sce
@@ -0,0 +1,34 @@
+clc,clear
+printf('Example 3.32\n\n')
+
+I_1=56 //motor input current
+V=590 //voltage across armature
+I_2=44 // load current
+V_2=400 // voltage across generator
+V_field = 40 //voltage drop across field winding
+R_a=0.3, R_se=0.7142 //armature and series field resistane for each machine
+
+total_input=(V+V_field)*I_1
+output=V_2*I_2
+total_loss_g_m= total_input - output //total losses of 2 machines
+R_se=V_field/I_1 //series field resistance for both windings
+total_cu_loss = (R_a+ 2*R_se)*I_1^2 + R_a*I_2^2 //total copper loss
+stray_loss= total_loss_g_m - total_cu_loss
+stray_loss_each = stray_loss/2 //stray loss for each machine
+
+// for motor
+motor_input = V*I_1
+arm_cu_loss_m = (R_a+ R_se)*I_1^2 //armature coper losses of motor
+total_loss_m= arm_cu_loss_m + stray_loss_each
+motor_output = motor_input - total_loss_m
+eta_m = 100*(motor_output/motor_input)//motor efficiency
+printf('Efficiency of motor is %.4f percent\n',eta_m)
+
+// for generator
+arm_cu_loss_g = R_a*I_2^2 //armature coper losses of generator
+series_field_cu_loss_g = V_field*I_1 //series field copper loss
+total_loss_g= arm_cu_loss_g + series_field_cu_loss_g + stray_loss_each
+generator_output=V_2*I_2
+generator_input = generator_output + total_loss_g
+eta_g = 100*(generator_output/generator_input)//generator efficiency
+printf('Efficiency of generator is %.4f percent\n',eta_g)
diff --git a/1938/CH3/EX3.4/3_4.sce b/1938/CH3/EX3.4/3_4.sce
new file mode 100755
index 000000000..5f13b312b
--- /dev/null
+++ b/1938/CH3/EX3.4/3_4.sce
@@ -0,0 +1,16 @@
+clc,clear
+printf('Example 3.4\n\n')
+
+W1=9.1 //Tension on tight side
+W2=0.8 //Tension on slack side
+I=10 //Total_current
+V=110 //Supply voltage
+R=7.5/100 //Radius of p-ulley in metres
+N=1320 //speed in r.p.m
+T_sh=(W1-W2)*9.81*R //9.81 is the accelration due to gravity
+omega=(2*%pi*N/60)
+P_out=T_sh*omega
+P_in=V*I
+
+efficiency=100*P_out/P_in
+printf('Full load Efficiency is %.2f percent',efficiency)
diff --git a/1938/CH3/EX3.5/3_5.sce b/1938/CH3/EX3.5/3_5.sce
new file mode 100755
index 000000000..1fe8be0f0
--- /dev/null
+++ b/1938/CH3/EX3.5/3_5.sce
@@ -0,0 +1,23 @@
+clc,clear
+printf('Example 3.5\n\n')
+
+V=250
+I_av=10
+V_av=(240+220)/2 //average voltage across load
+W_dash=V_av*I_av //Power absorbed
+t1=25,t2=6
+R_sh=200,R_a=0.3//resistance of field winding and armature
+
+W=W_dash*t2/(t1-t2) //Stray Losses
+I_l=25 //Input current
+I_sh=V/R_sh //current through field winding
+
+I_a=I_l-I_sh //Armature current
+arm_cu_loss=R_a*I_a^2 //Armature copper losses
+sh_cu_loss=R_sh*I_sh^2 // Shunt copper loss
+
+Total_losses= arm_cu_loss + sh_cu_loss + W
+Motor_input=V*I_l
+Output=Motor_input- Total_losses
+efficiency=Output*100/Motor_input
+printf('Efficiency as motor at 25 A and 250 V is %.2f percent',efficiency)
diff --git a/1938/CH3/EX3.6/3_6.jpg b/1938/CH3/EX3.6/3_6.jpg
new file mode 100755
index 000000000..d46614c04
--- /dev/null
+++ b/1938/CH3/EX3.6/3_6.jpg
Binary files differ
diff --git a/1938/CH3/EX3.6/3_6.sce b/1938/CH3/EX3.6/3_6.sce
new file mode 100755
index 000000000..fcdb7e88e
--- /dev/null
+++ b/1938/CH3/EX3.6/3_6.sce
@@ -0,0 +1,35 @@
+clc,clear
+printf('Example 3.6\n\n')
+
+I_a=37,I_sh=0.85//armature and field current for motor
+V=230
+R_a=0.33 //armature resistance
+
+I_a_g=30,I_sh_g=0.8//armature and field current for generator
+
+//for motor
+arm_cu_loss= I_a^2* R_a //armature copper losses
+field_cu_loss=V*I_sh //field copper loss
+total_cu_loss= field_cu_loss + arm_cu_loss //total copper loss
+
+//for generator
+arm_cu_loss_g= I_a_g^2* R_a //armature copper losses
+field_cu_loss_g=V*I_sh_g //field copper loss
+total_cu_loss_g= field_cu_loss_g + arm_cu_loss_g //total copper loss
+
+//for motor-generator set
+total_cu_loss_set= total_cu_loss_g + total_cu_loss
+P_supply=V*(I_a - I_a_g + I_sh+ I_sh_g ) //power taken from supply
+stray_loss= P_supply - (total_cu_loss_g + total_cu_loss)
+stray_loss_each= stray_loss/2 //stray loss for each machine
+
+//efficiency of motor
+motor_input = V*(I_a+I_sh)
+motor_output = motor_input - (stray_loss_each + total_cu_loss)
+eta_m= 100* motor_output/motor_input //efficiency of motor
+printf('Efficiency of motor is %.2f percent \n',eta_m)
+//efficiency of generator
+generator_input = motor_output //output of motor is input of generator
+generator_output = generator_input - (stray_loss_each + total_cu_loss_g)
+eta_g= 100* generator_output/generator_input //efficiency of generator
+printf('Efficiency of generator is %.2f percent \n',eta_g)
diff --git a/1938/CH3/EX3.7/3_7.jpg b/1938/CH3/EX3.7/3_7.jpg
new file mode 100755
index 000000000..246b40d22
--- /dev/null
+++ b/1938/CH3/EX3.7/3_7.jpg
Binary files differ
diff --git a/1938/CH3/EX3.7/3_7.sce b/1938/CH3/EX3.7/3_7.sce
new file mode 100755
index 000000000..0290c7f64
--- /dev/null
+++ b/1938/CH3/EX3.7/3_7.sce
@@ -0,0 +1,34 @@
+clc,clear
+printf('Example 3.7\n\n')
+
+I_1=40 //motor input current
+V=200 //voltage across armature
+I_2=32 //load current
+V_2=160 //voltage across generator
+V_f=15 //voltage drop across field windings
+total_input = (V+V_f)*I_1
+Output=V_2*I_2
+total_losses = total_input-Output //total losses in 2 machines
+
+R_se=V_f/I_1 //series field resistance
+R_a=0.4 // armature field resistance
+
+total_cu_loss=(R_a + 2*R_se) * I_1^2 + I_2^2*R_a //total copper loss
+stray_losses = total_losses - total_cu_loss
+stray_losses_each =stray_losses /2 //stray losses for each machine
+
+//for motor
+motor_input= V*I_1
+arm_cu_loss= (R_a + R_se)*I_1*I_1 //armature copper loss
+total_losses_motor = arm_cu_loss + stray_losses_each
+motor_output= motor_input- total_losses_motor
+eta_m=100*motor_output/motor_input //efficiency of motor
+printf('Efficiency of motor is %.2f percent \n',eta_m)
+//for generator
+arm_cu_loss_gen=R_a*I_2^2 //armature copper loss
+series_field_cu_loss = V_f*I_1 //series field copper loss
+total_losses_gen= arm_cu_loss_gen + series_field_cu_loss + stray_losses_each
+generator_input = total_losses_gen+ Output
+eta_gen=100*Output/generator_input //efficiency of generator
+printf('Efficiency of generator is %.2f percent',eta_gen)
+printf('\n\nAnswer dont match because Output-of-generator is taken as 5220 for calculation while its should have been 5120')
diff --git a/1938/CH3/EX3.8/3_8.sce b/1938/CH3/EX3.8/3_8.sce
new file mode 100755
index 000000000..3b7f24cd0
--- /dev/null
+++ b/1938/CH3/EX3.8/3_8.sce
@@ -0,0 +1,22 @@
+clc,clear
+printf('Example 3.8\n\n')
+
+V=500
+Io=5 //no load current
+R_a=0.5,R_sh=250//resistance of armature and field circuits
+I=100 //current at unknown efficiency
+
+P_in_NL=V*Io //no load input
+I_sh=V/R_sh
+
+Iao=Io-I_sh
+arm_cu_loss_no_load=R_a*Iao^2 //No load armature copper loss
+constant_losses= P_in_NL- arm_cu_loss_no_load
+
+I_a=I-I_sh
+arm_cu_loss= R_a*I_a^2 //New armature copper loss
+
+Total_loss=arm_cu_loss + constant_losses
+P_in=V*I
+efficiency=(P_in-Total_loss)*100/P_in //required efficiency
+printf('Efficiency is %.3f percent when motor takes %.0f A current',efficiency,I)
diff --git a/1938/CH3/EX3.9/3_9.sce b/1938/CH3/EX3.9/3_9.sce
new file mode 100755
index 000000000..a01b6604f
--- /dev/null
+++ b/1938/CH3/EX3.9/3_9.sce
@@ -0,0 +1,34 @@
+clc,clear
+printf('Example 3.9\n\n')
+
+V=500
+I_NL=5 //no load current
+P_in_NL = V* I_NL //no load input
+R_a=0.22,R_sh=250 //resistance of armature and shunt field winding
+I_sh=V/R_sh
+I_a_NL=I_NL-I_sh //armature current no load
+arm_cu_loss_NL = R_a*I_a_NL^2 //No-load armature copper loss
+constant_loss = P_in_NL - arm_cu_loss_NL
+
+//at 100 A current
+I=100
+I_a = I - I_sh
+arm_cu_loss = R_a*I_a^2 //armature copper loss
+total_loss = arm_cu_loss + constant_loss
+motor_input = V*I
+motor_output = motor_input- total_loss
+eta_m= 100*motor_output/motor_input //motor efficiency
+printf('Part(a)\nEfficiency of motor when it takes 100 A current and loaded is %.2f percent\n',eta_m)
+
+//part(b)
+E_b_NL = V - I_a_NL*R_a //back emf at no load
+
+E_b = V- I_a*R_a //back EMF at 100 A current
+//Since E_b is proportional to N and using componendo dividendo
+delta_speed= 100*((E_b_NL-E_b)/E_b)
+printf('Part(b)\nPercentage speed in speed is %.3f percent\n\n',delta_speed)
+
+printf('Note that the following were assumptions made\n')
+printf('(i) Due to heating , resistance of shunt field winding will be increased which will reduce the shunt field current.This will decrease the flux which is neglected\n')
+printf('(ii) Though the motor speed is changing from no load to given load , the mechanical losses are assumed to be cosnstant\n')
+printf('(iii)The effect of armature reaction aon main pole flux and its effect on iron loss is neglected')