Post Reply 
Brain Teaser - Minimum distance between two curves
11-19-2015, 12:30 AM (This post was last modified: 11-19-2015 04:51 PM by CR Haeger.)
Post: #10
RE: Brain Teaser - Minimum distance between two curves
(11-18-2015 10:19 PM)Werner Wrote:  xf = 0.331694745644, xg = 0.568071280353, distance = 0.427592353667

Just defining the normals and forcing them to be equal for both curves.
You get a 5-th degree polynomial that I solved numerically..

Cheers, Werner

Good job Werner - that's what I came up with!

I used HP Prime fsolve() with two equations (normal slopes, normal intercepts) and two unknowns (xf, xg).

   

Using the Primes SKETCH feature was interesting at first to guess/eyeball the proper normal line.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Brain Teaser - Minimum distance between two curves - CR Haeger - 11-19-2015 12:30 AM



User(s) browsing this thread: 1 Guest(s)