summaryrefslogtreecommitdiff
path: root/3845/CH28/EX28.6/Ex28_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3845/CH28/EX28.6/Ex28_6.sce')
-rw-r--r--3845/CH28/EX28.6/Ex28_6.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/3845/CH28/EX28.6/Ex28_6.sce b/3845/CH28/EX28.6/Ex28_6.sce
new file mode 100644
index 000000000..05adff089
--- /dev/null
+++ b/3845/CH28/EX28.6/Ex28_6.sce
@@ -0,0 +1,7 @@
+//Example 28.6
+m=1*10^-3;//Mass (kg)
+c=3*10^8;//Speed of light (m/s)
+E_0=m*c^2;//Rest energy (J)
+printf('Rest energy = %0.2e J',E_0)
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest