summaryrefslogtreecommitdiff
path: root/3648/CH27/EX27.7/Ex27_7.sce
blob: aebbb8f267f7981a0aafd628f82b5c6e2bd48e45 (plain)
1
2
3
4
5
6
7
8
9
//Example 27_7
clc();
clear;
//To find what fraction of uranium remains undecayed today
t1=4.5*10^9   //Units in Years
lamda=0.693/t1     //Units in years^-1
t=4*10^9     //Units in Years
n_no=%e^(-lamda*t)         //Units in Fractions
printf("The fraction of uranium remains undecayed today is=%.2f",n_no)