summaryrefslogtreecommitdiff
path: root/3836/CH2/EX2.3/Ex2_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3836/CH2/EX2.3/Ex2_3.sce')
-rw-r--r--3836/CH2/EX2.3/Ex2_3.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3836/CH2/EX2.3/Ex2_3.sce b/3836/CH2/EX2.3/Ex2_3.sce
new file mode 100644
index 000000000..bc823b216
--- /dev/null
+++ b/3836/CH2/EX2.3/Ex2_3.sce
@@ -0,0 +1,12 @@
+clear
+//Initialisation
+E=12 //EMF in volt
+v2=7 //volt
+
+
+//Calculation
+v1=E-v2 //volt
+
+//Result
+printf("\n V1 = %d V",v1)
+