diff options
Diffstat (limited to '226/CH20/EX20.6/example6_sce.sce')
-rwxr-xr-x | 226/CH20/EX20.6/example6_sce.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/226/CH20/EX20.6/example6_sce.sce b/226/CH20/EX20.6/example6_sce.sce new file mode 100755 index 000000000..a144f6923 --- /dev/null +++ b/226/CH20/EX20.6/example6_sce.sce @@ -0,0 +1,10 @@ +//chapter 20
+//example 20.6
+//page 925
+printf("\n")
+printf("given")
+Vs=10;Vf=1.7;Is=500*10^-6;Ih=1.5*10^-3;E=30;R=27*10^3;C=.5*10^-6;
+R1max=(E-Vs)/Is
+R1min=(E-Vf)/Ih
+t=C*R*log((E-Vf)/(E-Vs));
+printf(" capacitor charging time is %3.4fs\n",t)
\ No newline at end of file |