summaryrefslogtreecommitdiff
path: root/608/CH1/EX1.01/1_01.sce
diff options
context:
space:
mode:
Diffstat (limited to '608/CH1/EX1.01/1_01.sce')
-rwxr-xr-x608/CH1/EX1.01/1_01.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/608/CH1/EX1.01/1_01.sce b/608/CH1/EX1.01/1_01.sce
new file mode 100755
index 000000000..a069ec0b2
--- /dev/null
+++ b/608/CH1/EX1.01/1_01.sce
@@ -0,0 +1,11 @@
+//Problem 1.01: If a current of 5 A flows for 2 minutes, find the quantity of electricity transferred.
+
+//initializing the variables:
+I = 5; // in Ampere
+t = 120; // in sec
+
+//calculation:
+Q = I*t
+
+printf("\n\nResult\n\n")
+printf("\nQ: %.0f coulomb(C)\n",Q) \ No newline at end of file