summaryrefslogtreecommitdiff
path: root/3769/CH3/EX3.14/Ex3_14.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH3/EX3.14/Ex3_14.sce')
-rw-r--r--3769/CH3/EX3.14/Ex3_14.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3769/CH3/EX3.14/Ex3_14.sce b/3769/CH3/EX3.14/Ex3_14.sce
new file mode 100644
index 000000000..2e6b8247d
--- /dev/null
+++ b/3769/CH3/EX3.14/Ex3_14.sce
@@ -0,0 +1,12 @@
+clear
+//Given
+m=9*10**9
+q=1.6*10**-19
+r=10**-10
+
+//Calculation
+U=m*q**2/r
+K=U/2.0
+
+//Result
+printf("\n Kinetic energy is %0.3f J",K)