diff options
author | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
commit | f35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch) | |
tree | eb72842d800ac1233e9d890e020eac5fd41b0b1b /72/CH9 | |
parent | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff) | |
download | Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2 Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip |
updated the code
Diffstat (limited to '72/CH9')
-rwxr-xr-x | 72/CH9/EX9.3.1/9_3_1.sce | 98 | ||||
-rwxr-xr-x | 72/CH9/EX9.7.1/9_7_1.sce | 102 |
2 files changed, 100 insertions, 100 deletions
diff --git a/72/CH9/EX9.3.1/9_3_1.sce b/72/CH9/EX9.3.1/9_3_1.sce index cb85de937..80e02718e 100755 --- a/72/CH9/EX9.3.1/9_3_1.sce +++ b/72/CH9/EX9.3.1/9_3_1.sce @@ -1,49 +1,49 @@ -//CAPTION: Four-Cavity_Klystron
-//chapter_no.-9, page_no.-385
-//Example_no.9-3-1
-
-clc;
-
-//(a) Calculate_the_dc_electron_velocity
-V0=14.5*(10^3);
-v0=.593*(10^6)*sqrt(V0);
-disp(v0,'the_dc_electron_velocity(in m/s)is =');
-
-
-//(b) Calculate_the_dc_phase_constant
-
-f=(10*(10^9));
-Be=(2*%pi*f)/v0;
-disp(Be,'the_dc_phase_constant(in rads/m)is =');
-
-
-
-//(c)Calculate_the_plasma_frequency
-
-po=1*(10^-6);//dc_electron_charge_density
-wp=((1.759*(10^11)*po)/(8.854*(10^-12)))^(1/2);
-disp(wp,'the_plasma_frequency(in rad/s)is =');
-
-
-//(d) Calculate_the_reduced_plasma_frequency_for_R=0.4
-
-R=0.4;
-wq=R*wp;
-disp(wq,'the_reduced_plasma_frequency_for_R=0.4(in rad/s)is =');
-
-
-
-//(e)Calculate_the_dc_beam_current_density
-
-J0=po*v0;
-disp(J0,'the_dc_beam_current_density(in A/m2)is =');
-
-
-
-//(f) Calculate_the_instantaneous_beam_current_density
-
-
-p=1*(10^-8);
-v=1*(10^5);//velocity_perturbation
-J=(p*v0)-(po*v);
-disp(J,'the_instantaneous_beam_current_density(in A/m2)is =');
+ +//chapter_no.-9, page_no.-385 +//Example_no.9-3-1 + +clc; + +//(a) Calculate_the_dc_electron_velocity +V0=14.5*(10^3); +v0=.593*(10^6)*sqrt(V0); +disp(v0,'the_dc_electron_velocity(in m/s)is ='); + + +//(b) Calculate_the_dc_phase_constant + +f=(10*(10^9)); +Be=(2*%pi*f)/v0; +disp(Be,'the_dc_phase_constant(in rads/m)is ='); + + + +//(c)Calculate_the_plasma_frequency + +po=1*(10^-6);//dc_electron_charge_density +wp=((1.759*(10^11)*po)/(8.854*(10^-12)))^(1/2); +disp(wp,'the_plasma_frequency(in rad/s)is ='); + + +//(d) Calculate_the_reduced_plasma_frequency_for_R=0.4 + +R=0.4; +wq=R*wp; +disp(wq,'the_reduced_plasma_frequency_for_R=0.4(in rad/s)is ='); + + + +//(e)Calculate_the_dc_beam_current_density + +J0=po*v0; +disp(J0,'the_dc_beam_current_density(in A/m2)is ='); + + + +//(f) Calculate_the_instantaneous_beam_current_density + + +p=1*(10^-8); +v=1*(10^5);//velocity_perturbation +J=(p*v0)-(po*v); +disp(J,'the_instantaneous_beam_current_density(in A/m2)is ='); diff --git a/72/CH9/EX9.7.1/9_7_1.sce b/72/CH9/EX9.7.1/9_7_1.sce index a0c3af7dc..f5d8d6b43 100755 --- a/72/CH9/EX9.7.1/9_7_1.sce +++ b/72/CH9/EX9.7.1/9_7_1.sce @@ -1,52 +1,52 @@ -// CAPTION: Gridded_Travelling-Wave_Tube(GTWT)
-//chapter_no.-9, page_no.-427
-//Example_no.9-7-1
-clc;
-
-
-//(a) Calculate_the_number_of_electrons_returned_per_second
-Ir=.85;//returned_current
-q=1.6*(10^-19);//electronic_charge
-Nr=Ir/q;
-disp(Nr,'the_number_of_electrons_returned_(per_second) is =');
-
-
-
-
-
-//(b)Calculate_the_Energy_associated_with_these_returning_electrons_in_20ms
-
-
-V=11*(10^3);//overdepreesion_collector_voltage
-t=20*(10^-3);
-W=V*Nr*t;
-disp(W,'the_Energy_associated_with_these_returning_electrons_in_20ms(in eV) is =');
-
-
-
-//(c) Calculate_the_Power_for_returning_electrons
-
-
-P=V*Ir;
-P=P/1000;
-disp(P,'the_Power_for_returning_electrons(in KW)is =');
-
-
-//(d) Calculate_the_Heat_associated_with_the_returning_electrons
-
-t=20*(10^-3);
-H=.238*P*1000*t;
-disp(H,'the_Heat_associated_with_the_returning_electrons(in calories)is =');
-
-
-//(e) Calculate_the_temperature
-
-mass=250*(10^-3);
-specificheat=.108;
-T=H/(mass*specificheat);
-disp(T,'the_temperature(in degree Celsius)is =');
-
-//(f) Calculate_whether_the_output_iron_pole_piece_is_melted
-
-
+ +//chapter_no.-9, page_no.-427 +//Example_no.9-7-1 +clc; + + +//(a) Calculate_the_number_of_electrons_returned_per_second +Ir=.85;//returned_current +q=1.6*(10^-19);//electronic_charge +Nr=Ir/q; +disp(Nr,'the_number_of_electrons_returned_(per_second) is ='); + + + + + +//(b)Calculate_the_Energy_associated_with_these_returning_electrons_in_20ms + + +V=11*(10^3);//overdepreesion_collector_voltage +t=20*(10^-3); +W=V*Nr*t; +disp(W,'the_Energy_associated_with_these_returning_electrons_in_20ms(in eV) is ='); + + + +//(c) Calculate_the_Power_for_returning_electrons + + +P=V*Ir; +P=P/1000; +disp(P,'the_Power_for_returning_electrons(in KW)is ='); + + +//(d) Calculate_the_Heat_associated_with_the_returning_electrons + +t=20*(10^-3); +H=.238*P*1000*t; +disp(H,'the_Heat_associated_with_the_returning_electrons(in calories)is ='); + + +//(e) Calculate_the_temperature + +mass=250*(10^-3); +specificheat=.108; +T=H/(mass*specificheat); +disp(T,'the_temperature(in degree Celsius)is ='); + +//(f) Calculate_whether_the_output_iron_pole_piece_is_melted + + disp('the_output_iron_pole_piece_is_melted');
\ No newline at end of file |