summaryrefslogtreecommitdiff
path: root/3845/CH19/EX19.1/Ex19_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3845/CH19/EX19.1/Ex19_1.sce')
-rw-r--r--3845/CH19/EX19.1/Ex19_1.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3845/CH19/EX19.1/Ex19_1.sce b/3845/CH19/EX19.1/Ex19_1.sce
new file mode 100644
index 000000000..43096baa5
--- /dev/null
+++ b/3845/CH19/EX19.1/Ex19_1.sce
@@ -0,0 +1,10 @@
+//Example 19.1
+q1=5000;//Charge moved by motorcycle battery (C)
+q2=60000;//Charge moved by car battery (C)
+delta_V=12;//Potential difference of motorcycle/car battery (V)
+delta_PE_cycle=q1*delta_V;//Change in potential energy due to motorcycle battery (J)
+delta_PE_car=q2*delta_V;//Change in potential energy due to car battery (J)
+printf('Energy output of motorcycle battery = %0.2e J',delta_PE_cycle)
+printf('\nEnergy output of car battery = %0.2e J',delta_PE_car)
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest