summaryrefslogtreecommitdiff
path: root/3769/CH4/EX4.29/Ex4_29.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH4/EX4.29/Ex4_29.sce')
-rw-r--r--3769/CH4/EX4.29/Ex4_29.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3769/CH4/EX4.29/Ex4_29.sce b/3769/CH4/EX4.29/Ex4_29.sce
new file mode 100644
index 000000000..d6431d1e7
--- /dev/null
+++ b/3769/CH4/EX4.29/Ex4_29.sce
@@ -0,0 +1,12 @@
+clear
+//Given
+m=9*10**9
+V=3.0*10**6
+r=2
+
+//Calculation
+q=(V*r)/m
+E=0.5*q*V
+
+//Result
+printf("\n The heat generated is %0.3f J", E)