summaryrefslogtreecommitdiff
path: root/3630/CH3/EX3.22/Ex3_22.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3630/CH3/EX3.22/Ex3_22.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3630/CH3/EX3.22/Ex3_22.sce')
-rw-r--r--3630/CH3/EX3.22/Ex3_22.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/3630/CH3/EX3.22/Ex3_22.sce b/3630/CH3/EX3.22/Ex3_22.sce
new file mode 100644
index 000000000..ccb967276
--- /dev/null
+++ b/3630/CH3/EX3.22/Ex3_22.sce
@@ -0,0 +1,25 @@
+clc;
+//ex3.22
+Vac=36; //Volt
+Vspk=Vac/0.707; //Volt
+Vf=0.7; //Volt
+Vpk=Vspk-2*Vf; //Volt
+Vin=Vpk; //Volt
+Rs=75; //Ohm
+Vz=30; //Volt
+Ir=(Vin-Vz)/Rs; //Amperes
+t=0.00833 //second
+C=0.0022 //Farad
+Vr=(Ir*t)/C; //Volt
+Vdc=30; //Volt
+RL=300; //Ohm
+ZZ=60 //Ohm
+RL=300 //Ohm
+Rs=75 //Ohm
+Znet=(ZZ*RL)/(ZZ+RL); //Ohm
+Il=Vz/RL; //Ampere
+Vrout=(Znet/((Znet)+Rs))*Vr; //Volt
+disp('V',Vdc,"Vdc="); //The answers vary due to round off error
+disp('mVpp',Vrout*1000,"Vrout="); //The answers vary due to round off error
+disp('mA',Il*1000,"Il="); //The answers vary due to round off error
+