From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1850/CH11/EX11.1/exa_11_1.sce | 14 ++++++++++++++ 1850/CH11/EX11.2/exa_11_2.sce | 15 +++++++++++++++ 1850/CH11/EX11.3/exa_11_3.sce | 10 ++++++++++ 1850/CH11/EX11.4/exa_11_4.sce | 17 +++++++++++++++++ 1850/CH11/EX11.5/exa_11_5.sce | 14 ++++++++++++++ 1850/CH11/EX11.6/exa_11_6.sce | 14 ++++++++++++++ 6 files changed, 84 insertions(+) create mode 100755 1850/CH11/EX11.1/exa_11_1.sce create mode 100755 1850/CH11/EX11.2/exa_11_2.sce create mode 100755 1850/CH11/EX11.3/exa_11_3.sce create mode 100755 1850/CH11/EX11.4/exa_11_4.sce create mode 100755 1850/CH11/EX11.5/exa_11_5.sce create mode 100755 1850/CH11/EX11.6/exa_11_6.sce (limited to '1850/CH11') diff --git a/1850/CH11/EX11.1/exa_11_1.sce b/1850/CH11/EX11.1/exa_11_1.sce new file mode 100755 index 000000000..b38e33037 --- /dev/null +++ b/1850/CH11/EX11.1/exa_11_1.sce @@ -0,0 +1,14 @@ +// Exa 11.1 +clc; +clear; +close; +//given data +I_dc=300;// in mA +C=200;// in micro F +V_max= 24;// in volt +V_r_rms= 2.4*I_dc/C;// in volt +V_r_peak= sqrt(3)*V_r_rms;// in volt +V_dc= V_max-V_r_peak;// in volt +V_in_low= V_max-V_r_peak;// in volt +disp(V_in_low,"Minimum input voltage in volt") + diff --git a/1850/CH11/EX11.2/exa_11_2.sce b/1850/CH11/EX11.2/exa_11_2.sce new file mode 100755 index 000000000..e7e33190c --- /dev/null +++ b/1850/CH11/EX11.2/exa_11_2.sce @@ -0,0 +1,15 @@ +// Exa 11.2 +clc; +clear; +close; +//given data +I_L= 0.5;// in amp +R_L=25;// in ohm +V_R=12;// in volt (since using 7812 voltage regulator) +V_L= I_L*R_L; +R=V_R/I_L;// in ohm +disp(R,"Resistance required in ohm"); +V_out= V_R+V_L;// in volt +disp(V_out,"Output voltage in volt"); +V_in= V_out+2;// in volt +disp(V_in,"Input voltage in volt"); diff --git a/1850/CH11/EX11.3/exa_11_3.sce b/1850/CH11/EX11.3/exa_11_3.sce new file mode 100755 index 000000000..dd6fce506 --- /dev/null +++ b/1850/CH11/EX11.3/exa_11_3.sce @@ -0,0 +1,10 @@ +// Exa 11.3 +clc; +clear; +close; +//given data +R1= 240;// in ohm +R2= 1.2;// in kohm +R2=R2*10^3;// in ohm +V_out= 1.25*(1+R2/R1);// in volt +disp(V_out,"Regulated output voltage in volt") diff --git a/1850/CH11/EX11.4/exa_11_4.sce b/1850/CH11/EX11.4/exa_11_4.sce new file mode 100755 index 000000000..42ca3b7b7 --- /dev/null +++ b/1850/CH11/EX11.4/exa_11_4.sce @@ -0,0 +1,17 @@ +// Exa 11.4 +clc; +clear; +close; +//given data +R1= 40;// in ohm +I_Q= 10;// in mA +I_Q=I_Q*10^-3;// in amp +V_REF= 15;// in volt +// When R2 is set at minimum i.e. +R2= 0;// in ohm +V_out= (1+R2/R1)*V_REF + I_Q*R2;// in volt +disp(V_out,"Minimum output voltage in volt") +// When R2 is set at maximum i.e. +R2= 200;// in ohm +V_out= (1+R2/R1)*V_REF + I_Q*R2;// in volt +disp(V_out,"Minimum output voltage in volt") diff --git a/1850/CH11/EX11.5/exa_11_5.sce b/1850/CH11/EX11.5/exa_11_5.sce new file mode 100755 index 000000000..138c722e3 --- /dev/null +++ b/1850/CH11/EX11.5/exa_11_5.sce @@ -0,0 +1,14 @@ +// Exa 11.5 +clc; +clear; +close; +//given data +R1= 2.5;// in kohm +R1= R1*10^3;// in ohm +R2= 1;// in kohm +R2= R2*10^3;// in ohm +V_REF= 1.25;// in volt +I= V_REF/R2;// in amp +// This current also flows through R1. So the output voltage +V_out= I*(R1+R2);// in volt +disp(V_out,"Output voltage in volt") diff --git a/1850/CH11/EX11.6/exa_11_6.sce b/1850/CH11/EX11.6/exa_11_6.sce new file mode 100755 index 000000000..8a1b9d19f --- /dev/null +++ b/1850/CH11/EX11.6/exa_11_6.sce @@ -0,0 +1,14 @@ +// Exa 11.6 +clc; +clear; +close; +//given data +R1= 3;// in kohm +R1= R1*10^3;// in ohm +R2= 1;// in kohm +R2= R2*10^3;// in ohm +V_REF= 1.25;// in volt +V_in=20;// in volt +V_out= V_REF*(R1+R2)/R2;// in volt +D=V_out/V_in*100;// in percent +disp(D,"Duty cycle in percent") -- cgit