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 /1964/CH12/EX12.6 | |
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 '1964/CH12/EX12.6')
-rwxr-xr-x | 1964/CH12/EX12.6/ex12_6.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/1964/CH12/EX12.6/ex12_6.sce b/1964/CH12/EX12.6/ex12_6.sce new file mode 100755 index 000000000..9c15a4be8 --- /dev/null +++ b/1964/CH12/EX12.6/ex12_6.sce @@ -0,0 +1,13 @@ +//Chapter-12, Example 12.6, Page 345
+//=============================================================================
+clc
+clear
+//INPUT DATA
+Pdc=50;//power in W
+Rl=200;//resistance in ohms
+ripplefactor=0.01
+//CALCULATIONS
+Vdc=sqrt(Pdc*Rl);//DC voltage
+Vac=ripplefactor*Vdc;//AC voltage
+mprintf("Thus AC ripple voltage across the load is %d V",Vac);
+//=================================END OF PROGRAM======================================================================================================
|