diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2825/CH4/EX4.6/Ex4_6.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2825/CH4/EX4.6/Ex4_6.sce')
-rwxr-xr-x | 2825/CH4/EX4.6/Ex4_6.sce | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/2825/CH4/EX4.6/Ex4_6.sce b/2825/CH4/EX4.6/Ex4_6.sce new file mode 100755 index 000000000..eb99f7dd7 --- /dev/null +++ b/2825/CH4/EX4.6/Ex4_6.sce @@ -0,0 +1,32 @@ +//Ex4_6 Pg-222
+clc
+
+Vr=0.7 //voltage drop
+Vi=120 //input voltage
+disp("RMS value of secondary voltage")
+V_sec=Vi/5 //RMS value of secondary voltage
+printf(" = %.0f V\n ",V_sec)
+
+disp("Peak secondary voltage")
+Vm=V_sec*sqrt(2) //Peak secondary voltage
+printf(" = %.0f V\n ",Vm)
+
+disp("Peak inverse voltage of diode")
+Vinv=-(Vm) //Peak inverse voltage of diode
+printf(" = %.0f V\n ",Vinv)
+
+printf("\n Peak load voltage =%.0f V\n ",Vm)
+
+disp("DC load voltage")
+Vdc=Vm/%pi //DC load voltage
+printf(" = %.1f V\n ",Vdc)
+
+disp("Assuming second approximation")
+disp("Vm'' = Vm - Vr ")
+disp("Peak load voltage")
+Vm_dash=Vm-Vr //Peak load voltage
+printf(" = %.1f V\n ",Vm_dash)
+
+disp("DC load voltage")
+Vdc=Vm_dash/%pi //DC load voltage
+printf(" = %.1f V\n ",Vdc)
|