summaryrefslogtreecommitdiff
path: root/226/CH20/EX20.5/example5_sce.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /226/CH20/EX20.5/example5_sce.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '226/CH20/EX20.5/example5_sce.sce')
-rwxr-xr-x226/CH20/EX20.5/example5_sce.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/226/CH20/EX20.5/example5_sce.sce b/226/CH20/EX20.5/example5_sce.sce
new file mode 100755
index 000000000..59bd902d3
--- /dev/null
+++ b/226/CH20/EX20.5/example5_sce.sce
@@ -0,0 +1,18 @@
+//chapter 20
+//example 20.5
+//page 9
+printf("\n")
+printf("given")
+R1=25*10^3;R2=2.7*10^3;C1=3*10^-6;Vg=.8;Vd1=8;Vs=115;f=60;
+Vc1=Vd1+Vg
+//assume the average charging voltage is
+Vac=1.414*Vs
+E=.636*Vac
+//average charging
+Ic=E/(R1+R2)
+//charging time
+t=(C1*Vc1)/Ic
+T=1/f
+q=(t*360)/T
+disp(" concudtion angle")
+a=180-q \ No newline at end of file