summaryrefslogtreecommitdiff
path: root/995/CH3/EX3.3/Ex3_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '995/CH3/EX3.3/Ex3_3.sce')
-rwxr-xr-x995/CH3/EX3.3/Ex3_3.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/995/CH3/EX3.3/Ex3_3.sce b/995/CH3/EX3.3/Ex3_3.sce
new file mode 100755
index 000000000..1564c0507
--- /dev/null
+++ b/995/CH3/EX3.3/Ex3_3.sce
@@ -0,0 +1,16 @@
+//Ex:3.3
+clc;
+clear;
+close;
+V1=7.5;//in volts
+V2=4.5;
+V3=4.5;
+r1=110;//in ohms
+r2=33;
+r3=22;
+i1=V1/r1;
+i2=V2/r2;
+i3=V3/r3;
+printf("Current I1 = %f A",i1);
+printf("\n Current I2 = %f A",i2);
+printf("\n Current I3 = %f A",i3); \ No newline at end of file