summaryrefslogtreecommitdiff
path: root/3769/CH6/EX6.20/Ex6_20.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH6/EX6.20/Ex6_20.sce')
-rw-r--r--3769/CH6/EX6.20/Ex6_20.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3769/CH6/EX6.20/Ex6_20.sce b/3769/CH6/EX6.20/Ex6_20.sce
new file mode 100644
index 000000000..3b6968e39
--- /dev/null
+++ b/3769/CH6/EX6.20/Ex6_20.sce
@@ -0,0 +1,11 @@
+clear
+//Given
+a=6
+b=2
+
+//Calculation
+R1=a/((b*b)-1)
+R2=b*R1
+
+//Result
+printf("\n Resistance R1 is %0.3f ohm \nR2 is %0.3f Ohm",R1,R2)