integralValue

Integral of polynomial p(u) from u_low to u_high

Syntax

integral = integralValue(p, u_high, u_low)

Inputs (3)

p

Type: Real[:]

Description: Polynomial coefficients

u_high

Type: Real

Description: High integrand value

u_low

Default Value: 0

Type: Real

Description: Low integrand value, default 0

Outputs (1)

integral

Default Value: 0.0

Type: Real

Description: Integral of polynomial p from u_low to u_high