You will check formulas that come from integration by parts, by taking slopes on the computer. A formula is an antiderivative when its slope equals the integrand everywhere you test.
The idea. By parts, . Using parts twice gives .
Your tasks.
slope(F, x). Return the estimate with h = H.first_formula(k). Return a function of x that is the formula for above.second_formula(k). Return a function of x that is the formula for above.Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…