Results 1 to 6 of 6

Thread: Excel : Tangent to a curve

  1. #1

    Thread Starter
    Frenzied Member nishantp's Avatar
    Join Date
    Jan 2001
    Location
    Where you least expect me to be
    Posts
    1,375

    Excel : Tangent to a curve

    This seemed like a simple problem...

    I need to graph the tangent to a curve that is given by data point in Excel. How do I do that?

    thanks.
    You just proved that sig advertisements work.

  2. #2
    Fanatic Member prog_tom's Avatar
    Join Date
    May 2001
    Location
    Los Angeles and Little Rock
    Posts
    810
    To do that mathematically:

    (1) Find the slope, or for a curve, the derivative at point (x).

    (2) Find the (x,y) at point (x) where the tangent "touches" the curve.

    (3) The equation for the tangent line is y = mx + b,

    where m = derivative at point x, and b = y - mx, where (x,y) are the point at which tangent touches the curve.

    prog_tom
    JOIN THE REVOLUTION!!!! Dual T3 backedup science community.
    http://physics.sviesoft.com/forum

  3. #3
    Lively Member Something Else's Avatar
    Join Date
    Nov 2003
    Location
    Where Humboldt Intersects Carlson
    Posts
    99
    You cannot make a tangent to any single point, or more specifically, 1 point has an infinate number of tangents.

    If you want an approximate to your request, you need 3 points.

    -Lou

  4. #4

    Thread Starter
    Frenzied Member nishantp's Avatar
    Join Date
    Jan 2001
    Location
    Where you least expect me to be
    Posts
    1,375
    What I'm saying is that from some data points, I can construct a curve of best fit (well, excel does it for you). From that it would seem that it should easily be able to draw tangents to any point on the curve. But as far as I can tell, there is no functionality that does that.

    I'm waiting for someone to prove me wrong here.
    You just proved that sig advertisements work.

  5. #5
    Addicted Member run_GMoney's Avatar
    Join Date
    May 2002
    Location
    Detroit
    Posts
    186
    I'm assuming what you're asking is if there is a built-in function that will do that. I don't think there is.
    Place Your VBForums Ad Here

  6. #6

    Thread Starter
    Frenzied Member nishantp's Avatar
    Join Date
    Jan 2001
    Location
    Where you least expect me to be
    Posts
    1,375
    Which seemed rather stupid to me. Doesnt anyone ever use excel for anything that requires you to know derivitives of functions that are only defined based on data points? whatever.
    You just proved that sig advertisements work.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width