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/CH3/EX3.4.1 | |
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/CH3/EX3.4.1')
-rwxr-xr-x | 72/CH3/EX3.4.1/3_4_1.sce | 126 |
1 files changed, 63 insertions, 63 deletions
diff --git a/72/CH3/EX3.4.1/3_4_1.sce b/72/CH3/EX3.4.1/3_4_1.sce index ddb5c7bd8..c5dc48885 100755 --- a/72/CH3/EX3.4.1/3_4_1.sce +++ b/72/CH3/EX3.4.1/3_4_1.sce @@ -1,63 +1,63 @@ -//CAPTION: Line_impedance
-
-//chapter_no.-3, page_no.-99
-//Example_no.3-4-1
-
-clc;
-
-
-//(a)Calculate_the_input_impedance
-
-
-syms x ;//x_is_wavelength
-Bd=(((2*%pi)/x)*(x/4));
-disp(Bd,'from_Eq(3-4-26)_the_line_that_is_2.25_wavelengths_long_looks like_a_quarter-wave line,then Bd= ');
-
-R0=50;//input_impedance
-Rl=75;//load_resistance
-Zin=(R0^2)/Rl;
-disp(Zin,'From_Eq(3-4-26),the_input_impedance((in_ohms)_is = ');
-
-
-//(b)Calculate_the_magnitude_of_the_instantaneous_load_voltage
-
-
-R0=50;//input_impedance
-Rl=75;//load_resistance
-rl=(Rl-R0)/(Rl+R0);
-disp(rl,'the_reflection_coefficient is =');
-
-
-
-//(b)Calculate_the_magnitude_of_the_instantaneous_load_voltage
-
-
-R0=50;//input_impedance
-Rl=75;//load_resistance
-rl=(Rl-R0)/(Rl+R0);
-disp(rl,'the_reflection_coefficient is =');
-
-V=30;//open-circuit_output_voltage
-
-Vl=V*(exp(-1*%i*Bd))*(1+rl);
-Vl=abs(Vl);
-disp(Vl,'the_instantaneous_voltage_at_the_load(in V)_is =');
-
-
-
-//(c) Calculate_the_instantaneous_power_delivered_to_the_load
-
-
-Pl=(Vl^2)/Rl;
-disp(Pl,'the_instantaneous_power_delivered_to_the_load(in W)is =');
-
-
-
-
-
-
-
-
-
-
-
+ + +//chapter_no.-3, page_no.-99 +//Example_no.3-4-1 + +clc; + + +//(a)Calculate_the_input_impedance + + +syms x ;//x_is_wavelength +Bd=(((2*%pi)/x)*(x/4)); +disp(Bd,'from_Eq(3-4-26)_the_line_that_is_2.25_wavelengths_long_looks like_a_quarter-wave line,then Bd= '); + +R0=50;//input_impedance +Rl=75;//load_resistance +Zin=(R0^2)/Rl; +disp(Zin,'From_Eq(3-4-26),the_input_impedance((in_ohms)_is = '); + + +//(b)Calculate_the_magnitude_of_the_instantaneous_load_voltage + + +R0=50;//input_impedance +Rl=75;//load_resistance +rl=(Rl-R0)/(Rl+R0); +disp(rl,'the_reflection_coefficient is ='); + + + +//(b)Calculate_the_magnitude_of_the_instantaneous_load_voltage + + +R0=50;//input_impedance +Rl=75;//load_resistance +rl=(Rl-R0)/(Rl+R0); +disp(rl,'the_reflection_coefficient is ='); + +V=30;//open-circuit_output_voltage + +Vl=V*(exp(-1*%i*Bd))*(1+rl); +Vl=abs(Vl); +disp(Vl,'the_instantaneous_voltage_at_the_load(in V)_is ='); + + + +//(c) Calculate_the_instantaneous_power_delivered_to_the_load + + +Pl=(Vl^2)/Rl; +disp(Pl,'the_instantaneous_power_delivered_to_the_load(in W)is ='); + + + + + + + + + + + |