1 2 3 4 5 6 7 8
// Example 2.31, page no-49 clear clc a=0.4049*10^-10//m t=0.005//m A=25*10^-2//m n=t*A/a^3 printf("The number of atoms in the Al foil is %.2f * 10^28",n*10^-28)