summaryrefslogtreecommitdiff
path: root/1385/CH7/EX7.1/7_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '1385/CH7/EX7.1/7_1.sce')
-rwxr-xr-x1385/CH7/EX7.1/7_1.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/1385/CH7/EX7.1/7_1.sce b/1385/CH7/EX7.1/7_1.sce
new file mode 100755
index 000000000..6292971e0
--- /dev/null
+++ b/1385/CH7/EX7.1/7_1.sce
@@ -0,0 +1,13 @@
+clc
+//initialisation of variables
+R= 10 //ohms
+V= 5 //v
+t= 20 //min
+//CALCULATIONS
+I= V/R
+Q= I*t*60
+E= Q*V
+//RESULTS
+printf (' current= %.1f amp',I)
+printf (' \n coloumbs of electricity will pass= %.f coloumbs',Q)
+printf (' \n energy expended= %.f joules',E)