summaryrefslogtreecommitdiff
path: root/995/CH6
diff options
context:
space:
mode:
Diffstat (limited to '995/CH6')
-rwxr-xr-x995/CH6/EX6.1/Ex6_1.sce9
-rwxr-xr-x995/CH6/EX6.2/Ex6_2.sce8
-rwxr-xr-x995/CH6/EX6.3/Ex6_3.sce10
-rwxr-xr-x995/CH6/EX6.4/Ex6_4.sce11
-rwxr-xr-x995/CH6/EX6.5/Ex6_5.sce12
5 files changed, 50 insertions, 0 deletions
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