| Author |
Comment/Response |
Sue
|
02/27/11 2:22pm
Hi
I'm trying to find the equation of the tangent to the curve y=x^2+2 at (3,4). However, is difficult finding the right the code.
Here's the codes I've tried.
f[x_]:=x^2+2
f'[x]
I get the 2x, which is the derivative then I plug in 3 for f'[x] in order to get the slope=6.
y-4=6(x-3)->6x-y-14=0 (the equation of the tangent), but not sure how to graph that. So I tried Plot[{f[x], f'[x]}, {x, 3, 4}] in order to graph both the tangent and the original function, but the graphs are wrong. What I am doing wrong ?
URL: , |
|