- #1
furkang
- 9
- 0
I used MATLAB to calculate the integration of a basic function.
I wrote :
F = inline('(2*x)+((x.^3)/0.000441)')
Q = quad(F,0.01,0.05)
I want to calculate integral of F from 0.01 to 0.05
the answer shown is 0.059
but the real answer is 0.361
I am sure the function F is correct (I have tried some values).
is there any problem with "Q = quad(F,0.01,0.05)" command?
Thank you for your help...
I wrote :
F = inline('(2*x)+((x.^3)/0.000441)')
Q = quad(F,0.01,0.05)
I want to calculate integral of F from 0.01 to 0.05
the answer shown is 0.059
but the real answer is 0.361
I am sure the function F is correct (I have tried some values).
is there any problem with "Q = quad(F,0.01,0.05)" command?
Thank you for your help...