summaryrefslogtreecommitdiff
path: root/3836/CH2/EX2.2
diff options
context:
space:
mode:
Diffstat (limited to '3836/CH2/EX2.2')
-rw-r--r--3836/CH2/EX2.2/Ex2_2.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3836/CH2/EX2.2/Ex2_2.sce b/3836/CH2/EX2.2/Ex2_2.sce
new file mode 100644
index 000000000..15fbafb42
--- /dev/null
+++ b/3836/CH2/EX2.2/Ex2_2.sce
@@ -0,0 +1,12 @@
+clear
+//Initialisation
+i1=10 //current in amp
+i3=3 //current in amp
+
+
+//Calculation
+i2=i1-i3 //current in amp
+
+//Result
+printf("\n I2 = %d A",i2)
+