summaryrefslogtreecommitdiff
path: root/608/CH2/EX2.02/2_02.sce
diff options
context:
space:
mode:
Diffstat (limited to '608/CH2/EX2.02/2_02.sce')
-rwxr-xr-x608/CH2/EX2.02/2_02.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/608/CH2/EX2.02/2_02.sce b/608/CH2/EX2.02/2_02.sce
new file mode 100755
index 000000000..bcdb5b4e1
--- /dev/null
+++ b/608/CH2/EX2.02/2_02.sce
@@ -0,0 +1,11 @@
+//Problem 2.02: If a current of 10 A flows for four minutes, find the quantity of electricity transferred.
+
+//initializing the variables:
+I = 10; // in Ampere
+t = 240; // in sec
+
+//calculation:
+Q = I*t
+
+printf("\n\nResult\n\n")
+printf("\nCharge(Q): %.0f Coulomb(C)\n",Q) \ No newline at end of file