summaryrefslogtreecommitdiff
path: root/1019/CH6/EX6.1/Example_6_1.sce
blob: a69813562df71f22238391b50ad544e84b5036b8 (plain)
1
2
3
4
5
6
7
8
//Example 6.1
clear;
clc;

//To calculate the number of ways of distributing distinguishable molecules a,b,c between 3 energy levels
w=(3*2*1)/(1*1*1);//ways of distributing distinguishable molecules a,b,c between 3 energy levels
mprintf('ways of distributing distinguishable molecules a,b,c between 3 energy levels = %i',w);
//end