Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
Does anyone know why this is happening? I set all the "B" Labels to "Variable" and it still says undefined.
I got this example from a youtube video and it gives a different error.
This is pretty frustrating, not gonna lie. I am new to mathcad, so maybe it's something I'm doing.
Here's to hoping you can help.
Thanks
Solved! Go to Solution.
Your first problem is caused by evaluation operator after the function definition. Get rid of it and your troubles go away.
I have no idea why your second problem occurs. It works fine in Mathcad Prime 10.0 and I see no reason to suppose that it does not work in Mathcad Prime 9. This is why experienced Mathcadders recommend that you post a worksheet with the problem in it. There are some subtleties, such as Math Styles or Greek vs Latin characters, that don't necessarily show up very well in a screenshot.
Ah, in fact, looking closely at your screenshot, did you use the subscript operator ctrl-minus or the index operator [ to insert the i? A subscript in a name is just a decoration and the i forms part of the name. An index i is a separate name.
I'd post a worksheet but it wouldn't be much use to you as Mathcad Prime files aren't backward compatible.
Stuart
Your first problem is caused by evaluation operator after the function definition. Get rid of it and your troubles go away.
I have no idea why your second problem occurs. It works fine in Mathcad Prime 10.0 and I see no reason to suppose that it does not work in Mathcad Prime 9. This is why experienced Mathcadders recommend that you post a worksheet with the problem in it. There are some subtleties, such as Math Styles or Greek vs Latin characters, that don't necessarily show up very well in a screenshot.
Ah, in fact, looking closely at your screenshot, did you use the subscript operator ctrl-minus or the index operator [ to insert the i? A subscript in a name is just a decoration and the i forms part of the name. An index i is a separate name.
I'd post a worksheet but it wouldn't be much use to you as Mathcad Prime files aren't backward compatible.
Stuart
Ok, now when I call it separately, it works! I mean I guess it was working the whole time, I was just doing it wrong. Thank you so much!
Yeah I used the ctrl- to insert it. When I use the left square bracket [, it works now. Thanks!
No problem. It's quite common to use one when the other was intended. I've learned to spot the slight difference in how low an index is compared toa name subscript.
Stuart