summaryrefslogtreecommitdiff
path: root/3651/CH3/EX3.13/13.sce
blob: 6ec8a3effc272f172dceb0bf43bc516e9d3cd875 (plain)
1
2
3
4
5
6
7
8
//Variable declarations
k=1;

//Calculations

a=integrate('2*k*exp(-2*k*x)','x',2/k,3/k)
//Result
printf('a=%0.3f   \n ',(a))