summaryrefslogtreecommitdiff
path: root/446/CH12/EX12.3/12_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '446/CH12/EX12.3/12_3.sce')
-rwxr-xr-x446/CH12/EX12.3/12_3.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/446/CH12/EX12.3/12_3.sce b/446/CH12/EX12.3/12_3.sce
new file mode 100755
index 000000000..751485d40
--- /dev/null
+++ b/446/CH12/EX12.3/12_3.sce
@@ -0,0 +1,9 @@
+clear
+clc
+disp('Exa-12.3');
+m=1.67*10^-27; r0=1.2*10^-15; v=4*%pi*(r0^3)/3 //standard values of mass radius and volume
+p=m/v; //denisty
+printf('Density of typical nucleus is %.0e kg/m3 \n',p);
+r0=0.01;v=4*%pi*(r0^3)/3;p=2*10^17; ////hypothetical values
+m1=p*v;
+printf('The mass of the hypothetical nucleus would be %.0e Kg',m1);