blob: a9c43b70faa2ee68274e5c539225a53dfca8a35b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clear
//
//
//
//Variable declaration
L=25*10^-10; //width(m)
deltax=5*10^-10; //interval(m)
//Calculations2
P=2*deltax/L; //probability of finding the particle
//Result
printf("\n probability of finding the particle is %0.3f ",P)
|