SCILAB: SEM-V:
1.
Find the value of <x> of a particle in the region x=0 to 6 nm in
the ground state of one dimensional rigid box of length 12nm.
Scilab Coding:
clear
clc
L =120^ -10;
x1 =0; x2 = 120^-10 //lmits of the given region
Xavg=(2/L)*integrate('(sin(%pi*x/L)^2)*x','x',x1 ,x2);
disp ('Expectation value ');
disp(Xavg);
Output:
Model syllabus (+3): Downoad
- How to Prepare for IIT-JAM ⇠ ⇠ Click Here
- How to prepare for JEST ⇠ ⇠ Click Here
Post a Comment