summaryrefslogtreecommitdiff
path: root/3835/CH2/EX2.8/Ex2_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '3835/CH2/EX2.8/Ex2_8.sce')
-rw-r--r--3835/CH2/EX2.8/Ex2_8.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3835/CH2/EX2.8/Ex2_8.sce b/3835/CH2/EX2.8/Ex2_8.sce
new file mode 100644
index 000000000..471ab3fee
--- /dev/null
+++ b/3835/CH2/EX2.8/Ex2_8.sce
@@ -0,0 +1,16 @@
+clear
+//
+//case a
+//rab=(80+40)||(60+40)
+rab=(120*100)/(120+100)
+printf("\n rab= %0.1f ohm",rab)
+//rab=(80||60)+(40||40)
+rab=(4800/(140))+(1600/80)
+printf("\n rab= %0.1f ohm",rab)
+//case b
+//(60+80)||(40+40)
+rcd=(140*80)/(140+80)
+printf("\n rcd= %0.1f ohm",rcd)
+//(60||40)+(80||40)
+rab=(2400/(100))+(3200/(120))
+printf("\n rab= %0.1f ohm",rab)