summaryrefslogtreecommitdiff
path: root/2672/CH1/EX1.4/Ex1_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '2672/CH1/EX1.4/Ex1_4.sce')
-rwxr-xr-x2672/CH1/EX1.4/Ex1_4.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/2672/CH1/EX1.4/Ex1_4.sce b/2672/CH1/EX1.4/Ex1_4.sce
new file mode 100755
index 000000000..0c9c6d453
--- /dev/null
+++ b/2672/CH1/EX1.4/Ex1_4.sce
@@ -0,0 +1,13 @@
+//Example 1_4
+clc;
+clear;
+close;
+format('v',6);
+//given data :
+Vs=6;//V
+//Point A & C, B & D are shorted
+RAB=(4*4/(4+4));//ohm
+RDC=(4*4/(4+4));//ohm
+Req=RAB*RDC/(RAB+RDC);//ohm
+Is=Vs/Req;//A
+disp(Is,"Current supplied by the battery(A)");