summaryrefslogtreecommitdiff
path: root/3537/CH6/EX6.1/Ex6_1.sce
blob: ae0d79777926e65342f79f6b46b5e9774db09980 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//Example 6_1
clc();
clear;
//To calculate the relative population
h=6.626*10^-34
v=4.32*10^14
kb=1.38*10^-23
t=300
k=(h*v)/(kb*t)
n1_n2=%e^k
printf("Relative population N1/N2=")
disp(n1_n2)