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 /2075/CH9/EX9.1/pe9_1.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 '2075/CH9/EX9.1/pe9_1.sce')
-rwxr-xr-x | 2075/CH9/EX9.1/pe9_1.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/2075/CH9/EX9.1/pe9_1.sce b/2075/CH9/EX9.1/pe9_1.sce new file mode 100755 index 000000000..fef256959 --- /dev/null +++ b/2075/CH9/EX9.1/pe9_1.sce @@ -0,0 +1,19 @@ +//example 9.1
+clc;funcprot(0);
+//Initialization of Variable
+V=28;//V
+C=4700;//microF
+R=16;//load
+f=120;//hertz
+//calculation
+Vp=V*2^.5-2;
+disp(Vp,"peak voltage in V:")
+Vd=.95*Vp;
+disp(Vd,"load voltage in V:")
+Id=Vd/R;
+v=Id/f/C;
+disp(v*1e6,"ripple voltage in V:")
+//approximation
+Vd=Vp-v*1e6/2;
+disp(Vd,"approx. load voltage in V:")
+clear()
|