summaryrefslogtreecommitdiff
path: root/1376/CH7/EX7.9/7_9.sci
diff options
context:
space:
mode:
Diffstat (limited to '1376/CH7/EX7.9/7_9.sci')
-rwxr-xr-x1376/CH7/EX7.9/7_9.sci12
1 files changed, 12 insertions, 0 deletions
diff --git a/1376/CH7/EX7.9/7_9.sci b/1376/CH7/EX7.9/7_9.sci
new file mode 100755
index 000000000..3f3487008
--- /dev/null
+++ b/1376/CH7/EX7.9/7_9.sci
@@ -0,0 +1,12 @@
+//7.9
+clc;
+R2=1000;
+R4=833;
+f=50;
+w=2*%pi*f;
+C=0.38*10^-6;
+R3=16800;
+R1=(R2*R3*R4*w^2*C^2)/(1+w^2*R4^2*C^2);
+printf("Resistance=%.2f ohm",R1)
+L=R2*R3*C/(1+w^2*R4^2*C^2);
+printf("Inductance=%.2f H",L) \ No newline at end of file