summaryrefslogtreecommitdiff
path: root/3718/CH2/EX2.8/Ex2_8.sce
blob: 936bd285fe4b7587ef042111476a7ff7a64238c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Chapter 2: Spectroscopy and Photochemistry
//Problem: 8
clc;

//Declaration of Constant
e = 8000       // Molar absorbtion coeff,in dm cube per mol per cm

//Declaration of Variable
l = 2.5        // Thickness of solution,in cm

// Solution
C = log10(1 / 0.3) / (e * l)

mprintf("The concentration of Solution from Lambert-Beer Law is %.2e mol per dm cube",C)