summaryrefslogtreecommitdiff
path: root/608/CH2/EX2.15/2_15.sce
diff options
context:
space:
mode:
Diffstat (limited to '608/CH2/EX2.15/2_15.sce')
-rwxr-xr-x608/CH2/EX2.15/2_15.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/608/CH2/EX2.15/2_15.sce b/608/CH2/EX2.15/2_15.sce
new file mode 100755
index 000000000..5489f0ba1
--- /dev/null
+++ b/608/CH2/EX2.15/2_15.sce
@@ -0,0 +1,12 @@
+//Problem 2.15: A source of e.m.f. of 15 V supplies a current of 2 A for six minutes. How much energy is provided in this time?
+
+//initializing the variables:
+V = 15; // in Volts
+I = 2; // in ampere
+t = 360; // in sec
+
+//calculation:
+E = V*I*t
+
+printf("\n\nResult\n\n")
+printf("\nEnergy(E): %.0f Joule(J)\n",E) \ No newline at end of file