summaryrefslogtreecommitdiff
path: root/3523/CH3/EX3.7.11/Ex3_11.sce
blob: e8830f36a1c12eb983b06bb44ee7051d261e59d3 (plain)
1
2
3
4
5
6
7
8
9
10
//Example 11// Ch 3
clc;
clear;
close;
// given data
I = 1;
I0 = 6;
x=20;//in cm
u = -(1/x)*log(I/I0);
printf("absorption coefficient %f cm^-1",u)