summaryrefslogtreecommitdiff
path: root/1376/CH3/EX3.2
diff options
context:
space:
mode:
Diffstat (limited to '1376/CH3/EX3.2')
-rwxr-xr-x1376/CH3/EX3.2/3_2.sci9
1 files changed, 9 insertions, 0 deletions
diff --git a/1376/CH3/EX3.2/3_2.sci b/1376/CH3/EX3.2/3_2.sci
new file mode 100755
index 000000000..305a8caf3
--- /dev/null
+++ b/1376/CH3/EX3.2/3_2.sci
@@ -0,0 +1,9 @@
+// 3.2
+clc;
+I=1000;
+Ia=50*10^-3;
+Is=I-Ia;
+Ra=10;
+Va=Ia*Ra;
+Rs=10*Va/Is;
+printf("The shunt resistance=%.2f ohm",Rs)