summaryrefslogtreecommitdiff
path: root/3648/CH27/EX27.1/Ex27_1.sce
blob: c521109454084eb59ea894b25df4ff01a1d8a8e3 (plain)
1
2
3
4
5
6
7
8
9
//Example 27_1
clc();
clear;
//What fraction of atomic mass of Uranium is due to its electrons
n=92      //Units in constant
mass=0.000549     //Units in u
tmass=235     //units in u
per=(n*mass)/tmass       //Units in fractions
printf("The fraction of atomic mass of Uranium is due to its electrons is=%.6f",per)