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 --- 995/CH6/EX6.1/Ex6_1.sce | 9 +++++++++ 995/CH6/EX6.2/Ex6_2.sce | 8 ++++++++ 995/CH6/EX6.3/Ex6_3.sce | 10 ++++++++++ 995/CH6/EX6.4/Ex6_4.sce | 11 +++++++++++ 995/CH6/EX6.5/Ex6_5.sce | 12 ++++++++++++ 5 files changed, 50 insertions(+) create mode 100755 995/CH6/EX6.1/Ex6_1.sce create mode 100755 995/CH6/EX6.2/Ex6_2.sce create mode 100755 995/CH6/EX6.3/Ex6_3.sce create mode 100755 995/CH6/EX6.4/Ex6_4.sce create mode 100755 995/CH6/EX6.5/Ex6_5.sce (limited to '995/CH6') diff --git a/995/CH6/EX6.1/Ex6_1.sce b/995/CH6/EX6.1/Ex6_1.sce new file mode 100755 index 000000000..7c9a48497 --- /dev/null +++ b/995/CH6/EX6.1/Ex6_1.sce @@ -0,0 +1,9 @@ +//Ex:6.1 +clc; +clear; +close; +V_p=220; +V_s=V_p/44; +V_pk=1.414*V_s;//in volts +V_l=V_pk-0.6; +printf("Peak voltage that appear across load = %f V",V_l); \ No newline at end of file diff --git a/995/CH6/EX6.2/Ex6_2.sce b/995/CH6/EX6.2/Ex6_2.sce new file mode 100755 index 000000000..655914baa --- /dev/null +++ b/995/CH6/EX6.2/Ex6_2.sce @@ -0,0 +1,8 @@ +//Ex:6.2 +clc; +clear; +close; +X_c=3.18; +R=100; +V_rip=1*(X_c/sqrt(R^2+X_c^2)); +printf("Ripple voltage = %f V",V_rip); \ No newline at end of file diff --git a/995/CH6/EX6.3/Ex6_3.sce b/995/CH6/EX6.3/Ex6_3.sce new file mode 100755 index 000000000..5200f3199 --- /dev/null +++ b/995/CH6/EX6.3/Ex6_3.sce @@ -0,0 +1,10 @@ +//Ex:6.3 +clc; +clear; +close; +f=50; +L=10; +X_l=2*%pi*f*L; +X_c=3.18; +V_rip=1*(X_c/sqrt(X_l^2+X_c^2)); +printf("Ripple voltage = %f V",V_rip); \ No newline at end of file diff --git a/995/CH6/EX6.4/Ex6_4.sce b/995/CH6/EX6.4/Ex6_4.sce new file mode 100755 index 000000000..c83f6fcdb --- /dev/null +++ b/995/CH6/EX6.4/Ex6_4.sce @@ -0,0 +1,11 @@ +//Ex:6.4 +clc; +clear; +close; +R_l=400; +V_in=9; +V_z=5; +P_z_max=0.5; +R_s_max=R_l*((V_in/V_z)-1); +R_s_min=((V_z*V_in)-V_z^2)/P_z_max; +printf("Suitable value of resistor = %d ohm",(R_s_max+R_s_min)/2); \ No newline at end of file diff --git a/995/CH6/EX6.5/Ex6_5.sce b/995/CH6/EX6.5/Ex6_5.sce new file mode 100755 index 000000000..4f3afcf3b --- /dev/null +++ b/995/CH6/EX6.5/Ex6_5.sce @@ -0,0 +1,12 @@ +//Ex:6.5 +clc; +clear; +close; +dI_i=20; +dV_o=0.5; +dV_o_reg=0.1; +dI_o=2; +R_out=dV_o/dI_o; +Regulation=(dV_o_reg/dI_i)*100; +printf(" output resis. = %f ohm",R_out); +printf(" \n regulation. = %f %%",Regulation); \ No newline at end of file -- cgit