Re: Problems solving using Solve

*To*: mathgroup at smc.vnet.net*Subject*: [mg68844] Re: Problems solving using Solve*From*: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>*Date*: Mon, 21 Aug 2006 03:27:43 -0400 (EDT)*Organization*: The Open University, Milton Keynes, UK*References*: <ec65bn$1f8$1@smc.vnet.net> <ec97uf$4er$1@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

akil wrote: > definition for cd is cd[input_,rcCD_,cx_,cy_] := rcCD*input + cy - rcCD*cx; > (which just defines a line of the form y=ax+b) > > Using NSolve instead of Solve still takes way too long (quit it after 15 > minutes, do not know if it even will solve it). I have about a 100 cones for > each part I need to test and the way it is now takes too long. > > In my usage all values except beta and v are Reals. Beta is usually the > range [0, Pi/2] and v is also a Real. > > For a solvable solution try: > > {ax,ay}= {7,4} and {cx,cy}= {21,11} and > {centerOfMassx,centerOfMassy}={13,7} and rcAB=3 and > rcCD=7/4 > > That should give a solution, and quite fast at that. No: the definition of the function 'ab' is missing. Jean-Marc