summaryrefslogtreecommitdiff
path: root/1826/CH2/EX2.19/ex2_19.sce
diff options
context:
space:
mode:
Diffstat (limited to '1826/CH2/EX2.19/ex2_19.sce')
-rwxr-xr-x1826/CH2/EX2.19/ex2_19.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1826/CH2/EX2.19/ex2_19.sce b/1826/CH2/EX2.19/ex2_19.sce
new file mode 100755
index 000000000..f2698e789
--- /dev/null
+++ b/1826/CH2/EX2.19/ex2_19.sce
@@ -0,0 +1,12 @@
+// Example 2.19, page no-40
+clear
+clc
+awt=63.5*10^-3//g
+avg=6.023*10^26
+r=1.273*10^-10
+n=4
+a=4*r/sqrt(2)
+d=n*awt/(avg*a^3)
+printf("The density of copper is %.4f gm/m^3",d)
+
+