summaryrefslogtreecommitdiff
path: root/2345/CH15/EX15.37/Ex15_37.sce
diff options
context:
space:
mode:
Diffstat (limited to '2345/CH15/EX15.37/Ex15_37.sce')
-rwxr-xr-x2345/CH15/EX15.37/Ex15_37.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/2345/CH15/EX15.37/Ex15_37.sce b/2345/CH15/EX15.37/Ex15_37.sce
new file mode 100755
index 000000000..6d6faf91f
--- /dev/null
+++ b/2345/CH15/EX15.37/Ex15_37.sce
@@ -0,0 +1,10 @@
+//Finding no of electrons
+//Example 15.37(pg. 417)
+clc
+clear
+I=2.5*(10^-3)//current in Amp
+t=30*(10^-3)//time in sec
+Q=I*t//charge passing through the person in Coulumbs
+e=1.602*(10^-19)//charge of 1 electron in C
+N=Q/e//no of electrons passing through the person
+printf('Thus the no of electrons passing through the person is %e electrons',N)