summaryrefslogtreecommitdiff
path: root/3845/CH20/EX20.1/Ex20_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3845/CH20/EX20.1/Ex20_1.sce')
-rw-r--r--3845/CH20/EX20.1/Ex20_1.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3845/CH20/EX20.1/Ex20_1.sce b/3845/CH20/EX20.1/Ex20_1.sce
new file mode 100644
index 000000000..828e3e986
--- /dev/null
+++ b/3845/CH20/EX20.1/Ex20_1.sce
@@ -0,0 +1,11 @@
+//Example 20.1
+delta_Q1=720;//Charge moved by truck battery (C)
+delta_t1=4;//Time (s)
+I1=delta_Q1/delta_t1;//Current (A)
+printf('a.Current flowing through the truck battery = %0.1f A',I1)
+I2=0.3*10^-3;//Current flowing through calculator (A)
+delta_Q2=1;//Charge moving through calculator (C)
+delta_t2=delta_Q2/I2;//Time taken (s)
+printf('\nb.Time taken for the charge to move through the calculator = %0.2e s',delta_t2)
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest