5-Regular Member
January 21, 2026
Solved
Strange behavior with vec() vs Range in Formulas and Graphs in Mathcad Prime 11
- January 21, 2026
- 1 reply
- 285 views
Hello All:
I have encountered some strange behavior with the new "vec()" function in Mathcad Prime 11. An example of this is shown in the screen capture below. In trying to plot a complex function (the volume of a sideways cylindrical tank), the old way with a "range" for the h in this example gives the correct results (determined independently of Mathcad).
However, the h created by the vec() function yields very different results in this instance. I tried other simpler formulas [e.g, sqrt(2*R*h-h2)] and the results were satisfactory and both results matched. But as I started fleshing out the equation with more terms, the behavior diverged as per the example below. The other terms, when isolated, produce satisfactory results. Only the term shown below in V2(h) presents strange behavior. More still, expressing V2(h) differently (e.g., algebraically rewriting the expression will create still different but, likewise, still wrong results!
Example of difference between range and vec() fields in a complicated math functionHas anyone seen any similar behavior or can otherwise shed light on what is happening?
Cheer and Thanks
Bill Capehart





