summaryrefslogtreecommitdiff
path: root/3845/CH20/EX20.2/Ex20_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3845/CH20/EX20.2/Ex20_2.sce')
-rw-r--r--3845/CH20/EX20.2/Ex20_2.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3845/CH20/EX20.2/Ex20_2.sce b/3845/CH20/EX20.2/Ex20_2.sce
new file mode 100644
index 000000000..69e9058c8
--- /dev/null
+++ b/3845/CH20/EX20.2/Ex20_2.sce
@@ -0,0 +1,10 @@
+//Example 20.2
+delta_Q_electrons=-0.300*10^-3;//Charge (C)
+delta_t=1;//Time (s)
+I_electrons=delta_Q_electrons/delta_t;//Current due to flow of electrons (C/s)
+q=-1.60*10^-19;//Charge per electron (C)
+printf('Number of electrons passing per second = %0.2e electrons/s',I_electrons/q)
+//Answer varies due to round off error
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest
+