summaryrefslogtreecommitdiff
path: root/3440/CH10/EX10.2/Ex10_2.sce
blob: b6323e6f6ba585cb1df9ab729050c1a3912e4efb (plain)
1
2
3
4
5
6
7
8
clc

alpha=10^4//cm^-1
R=0.1
Px=1
P0=2
x=(-1/alpha)*log(Px/(P0*(1-R)))
disp(x,"x in meter is =")