ResearchForge / Calculators
Calculus/Cal 2·tangent-line-equation

Tangent Line Equation

Determine the equation of the tangent line to a specified curve at a given point.

Math animationCalculus/Cal 2 · tangent-line-equation
✓ All 2 test cases pass.

Inputs

Test cases

These cases run live in your browser every time the page loads. If any fail, the calculator is broken — file an issue.

#InputsExpectedGotStatus
1{"curve_function":"ln(x^2 - 8x + 1)","point_x":8,"point_y":0}88
2{"curve_function":"x^2 + 3","point_x":1,"point_y":4}22
APIDeveloper APICall this calculator from codeexpand ↓
Endpoint
POST/api/calculators/calculus-cal-2/tangent-line-equation/compute
Inputs (3)
  • curve_functionexpressiondefault "ln(x^2 - 8x + 1)"
  • point_xnumberdefault 8
  • point_ynumberdefault 0
Example
curl -sX POST http://localhost:3001/api/calculators/calculus-cal-2/tangent-line-equation/compute \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"curve_function":"ln(x^2 - 8x + 1)","point_x":8,"point_y":0}}'
Try it live
Edit the body below, then click Call API.
Request body
Response
(click Call API to see the response)
full API docs →

Source: Pattern from: Calculus II Final Exam Review.pdf. Reproduces a standard tangent-line-equation computation; problem text paraphrased.

AI disclosure: Calculator code generated by openai/gpt-4o-mini-2024-07-18; verified by 2 test cases.