# Integral of sinx in MatLab

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. ### abc007

30
syms x
fun=inline(sin(x))