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 /1991/CH11/EX11.1 | |
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 '1991/CH11/EX11.1')
-rwxr-xr-x | 1991/CH11/EX11.1/1.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/1991/CH11/EX11.1/1.sce b/1991/CH11/EX11.1/1.sce new file mode 100755 index 000000000..22e3fcdad --- /dev/null +++ b/1991/CH11/EX11.1/1.sce @@ -0,0 +1,15 @@ +clc
+clear
+//input
+vp=50//ac source supply
+r1=35
+r2=1450 //resistors
+//calculation
+vs=4*vp//transformer equation
+i=100/(r1+r2)//peak current
+irms=i/sqrt(2)//rms current
+v0=100*r1/(r1+r2)
+pp=100-v0//peak pd
+//output
+printf("the rms value of current is %3.3f A",irms)
+printf("\n the peak pd is %3.3f V",pp)
|