summaryrefslogtreecommitdiff
path: root/1049/CH5/EX5.8/ch5_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '1049/CH5/EX5.8/ch5_8.sce')
-rwxr-xr-x1049/CH5/EX5.8/ch5_8.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1049/CH5/EX5.8/ch5_8.sce b/1049/CH5/EX5.8/ch5_8.sce
new file mode 100755
index 000000000..47194b0e9
--- /dev/null
+++ b/1049/CH5/EX5.8/ch5_8.sce
@@ -0,0 +1,12 @@
+clear;
+clc;
+dv=400*10^-6; //dv=dv_T/dt(V/s)
+V_s=200;
+R=20;
+C=V_s/(R*dv);
+C_j=.025*10^-12;
+C_s=C-C_j; printf("C_s=%.3f uF",C_s/10^6);
+
+I_T=40;
+R_s=1/((I_T/V_s)-(1/R)); printf("\nR_s=%.3f ohm",R_s);
+//value of R_s in book is wrongly calculated \ No newline at end of file