blob: 1827b4d02a749f7dbdb4f691a8ef1464f0aa995e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Scilab code Exa8.8 : : Page-351 (2011)
clc; clear;
S = 1; // Spin angular momentum(s1+-s2), whereas s1 is the spin of proton and s2 is the spin of neutron.
m = 2*S+1; // Spin multiplicity
j = 1; // Total angular momentum
printf("\nThe possible angular momentum states with their parities are as follows : ");
printf("\n %dS%d has even parity ", m, j);
printf("\n %dP%d has odd parity ", m, j);
printf("\n %dD%d has even parity", m, j);
S = 0;
m = 2*S+1
printf("\n %dP%d has odd parity ", m, j);
// Result
// The possible angular momentum states with their parities are as follows :
// 3S1 has even parity
// 3P1 has odd parity
// 3D1 has even parity
// 1P1 has odd parity
|