5.3 The Definite Integral - Cooper Union
http://faculty.cooper.edu/smyth/TechCompanion/Calc1/Ch05/DefiniteIntegral.htm
Computing definite integrals symbolicallyThe int()command for finding antiderivatives introduced earliercan also compute definite integrals. Just supply the limits of integrations in additionto the integrand. >> syms x>> int( x^2, 0, 1 ) ans = 1/3 >> int( sqrt(1-x^2), -1, 1 ) ans = pi/2 If your integrand contains a parameter(s) other than the … Approximating definite integralsMATLAB (and Octave) have several methods for numerical integration.We introduce the integral()method througha few simple examples. >> integral( @(x) x.^2, 0, 1 )ans = 0.3333>> integral( @(x) exp(sin(x)), 0, pi )ans = 6.2088>> integral( @(x) sin(x.^2), 0, sqrt(pi) )ans = 0.894…
Computing definite integrals symbolicallyThe int()command for finding antiderivatives introduced earliercan also compute definite integrals. Just supply the limits of integrations in additionto the integrand. >> syms x>> int( x^2, 0, 1 ) ans = 1/3 >> int( sqrt(1-x^2), -1, 1 ) ans = pi/2 If your integrand contains a parameter(s) other than the …
Approximating definite integralsMATLAB (and Octave) have several methods for numerical integration.We introduce the integral()method througha few simple examples. >> integral( @(x) x.^2, 0, 1 )ans = 0.3333>> integral( @(x) exp(sin(x)), 0, pi )ans = 6.2088>> integral( @(x) sin(x.^2), 0, sqrt(pi) )ans = 0.894…
DA: 57 PA: 78 MOZ Rank: 63