summaryrefslogtreecommitdiff
path: root/3648/CH27/EX27.2/Ex27_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3648/CH27/EX27.2/Ex27_2.sce')
-rw-r--r--3648/CH27/EX27.2/Ex27_2.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3648/CH27/EX27.2/Ex27_2.sce b/3648/CH27/EX27.2/Ex27_2.sce
new file mode 100644
index 000000000..5564333c5
--- /dev/null
+++ b/3648/CH27/EX27.2/Ex27_2.sce
@@ -0,0 +1,13 @@
+//Example 27_2
+clc();
+clear;
+//To find the density of gold nucleus
+r=6.97*10^-15 //Units in meters
+a=197 //Units in u
+v=(4/3)*%pi*r^3 //Units in meter^3
+m1=1.66*10^-27 //Units in Kg/u
+mass=a*m1 //Units in Kg
+p=mass/v //Units in Kg/meter^3
+printf("The density of gold nucleus is p=")
+disp(p)
+printf("Kg/meter^3")