Craig D.S. Posted March 19, 2012 Share Posted March 19, 2012 Greetings I am running into some difficulty trying to create a LOG() function for plotting out some of the derived Inverse hyperbolic functions getting the error ' Cannot take sqrt or log of a negative number' Some guidence through this matter would be much appreciated Thanks Quote Link to comment
Vectorworks, Inc Employee klinzey Posted March 19, 2012 Vectorworks, Inc Employee Share Posted March 19, 2012 Craig, The problem is with the evaluation of: atanh:= (Ln((1 + v) / (1 - v)))/ln(10) / 2; (1 + v) / (1 - v) evaluates to negative number. (-0.517... for the first iteration and it stays negative for several more.) Kevin Quote Link to comment
Craig D.S. Posted March 20, 2012 Author Share Posted March 20, 2012 Is there a work around to plot this function? and other derived trig functions w/ the Log() in it? I was able to do it in TurboCAD VBA... Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.