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))