summaryrefslogtreecommitdiff
path: root/Working_Examples/154/DEPENDENCIES/ch3_3.sce
diff options
context:
space:
mode:
Diffstat (limited to 'Working_Examples/154/DEPENDENCIES/ch3_3.sce')
-rwxr-xr-xWorking_Examples/154/DEPENDENCIES/ch3_3.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/Working_Examples/154/DEPENDENCIES/ch3_3.sce b/Working_Examples/154/DEPENDENCIES/ch3_3.sce
new file mode 100755
index 0000000..e72c536
--- /dev/null
+++ b/Working_Examples/154/DEPENDENCIES/ch3_3.sce
@@ -0,0 +1,13 @@
+clc
+disp("Example 3.3")
+printf("\n")
+printf("Given")
+disp("Equivalent resistance of three resistors is 750 ohm")
+disp("values of two resistors are 40 ohm and 410 ohm")
+Req=750;R1=40;R2=410;
+
+//For series resistance
+disp("Req=R1+R2+R3")
+//On solving for R3
+R3=Req-R1-R2
+printf("Value of third ohmic resistor is %dohm\n",R3)