Skip to content
DeepForgeby svx
All problems
EasyCalculusca-302

Derivative of Integral Upper Limit

Problem

By the fundamental theorem of calculus, d/dx of the integral from a constant to x of f(t) equals f(x).

Given polynomial coefficients and the value x, return f(x).

Hint

The rate of change of the accumulated area is the integrand height.

Test cases

case 1
in: [[1,2,3],2]
expected: 17
case 2
in: [[0,0,1],-3]
expected: 9
case 3
in: [[5],7]
expected: 5
Starter codePython
def integral_upper_limit_derivative(coeffs, x):
    # Your code here
    pass

3 test cases · run your code against them in the editor