Register to reply 
Integral of sinx in MatLab 
Share this thread: 
#1
Aug1210, 02:02 PM

P: 99

Please tell me the code or whatever we call it for finding the integral of sinx in MatLab?
Also how to evaluate definite integral from, say, 1 to 2? 


#2
Aug1210, 04:32 PM

P: 30

syms x
fun=inline(sin(x)) int=quad(fun,1,2) 


Register to reply 
Related Discussions  
Integral 1/(cosx sinx)²  Calculus & Beyond Homework  7  
Integral of (xsinx)/x^3 (contour integration)  Calculus & Beyond Homework  1  
What is the integral of ∫ e^ (x^2 +sinx) dx ?  Calculus & Beyond Homework  1  
An Unsolvable Integral (according to Matlab)  Math & Science Software  5  
Integral of sinx/x exists?  Calculus  2 