Message 1 of 2
Equation Curve - Error - Square-root of zero or negative number
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
What I'm trying to do
I'm trying draw a an equation curve:
- File type: .ipt
- Equation Type: Explicit, Cartesian
- Desired range: xmin = 0 to xmax = 2.63
- Equation: 11.75 in * PI * ( 0.32914 ul - ( 0.0290921 ul * sqrt(128 ul - ( 48.611533 ul * x ))))
The Problem
Inventor will plot the equation from xmin = 0 to xmax =1.035 (see Image 1), but any value greater than 1.036 will output this error "cannot evaluate square root or a negative number" (see Image 2). The "128 ul - ( 48.611533 ul * x )" argument of the sqrt function is not negative over the range of xmin = 0 to xmax = 2.63.
What the heck is going on? I have attached an .ipt file with the equation curve.
Image 1: Plot works from xmin = 0 to xmax = 1.036
Image 2: Plot error for xmin=0 to xmax=1.04
Thanks for you help! 😄