summaryrefslogtreecommitdiff
path: root/2384/CH6/EX6.8/ex6_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '2384/CH6/EX6.8/ex6_8.sce')
-rwxr-xr-x2384/CH6/EX6.8/ex6_8.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2384/CH6/EX6.8/ex6_8.sce b/2384/CH6/EX6.8/ex6_8.sce
new file mode 100755
index 000000000..40b0c3850
--- /dev/null
+++ b/2384/CH6/EX6.8/ex6_8.sce
@@ -0,0 +1,15 @@
+// Exa 6.8
+clc;
+clear;
+close;
+format('v',6)
+// Given data
+Rm = 50;// in ohm
+Im = 10;// in mA
+Im = Im * 10^-3;// in A
+V = 100;// in V
+Rs = (V/Im)-Rm;// in ohm
+disp(Rs,"The value of Rs in Ω is");
+N = 1/Im;
+Rsh = Rm/(N-1);// in ohm
+disp(Rsh,"The value of Rsh in Ω is");