Skip to main content
1-Visitor
January 5, 2017
Solved

Mathcad "Wurzel Function" Vektorising

  • January 5, 2017
  • 3 replies
  • 4092 views

Hey guys,

wish you all a happy new jear.

I would have another short question maybe a guy can help me with this expression:

Can anyone see my failure?

Thx 😃

Best answer by Werner_E

> Can anyone see my failure?

How could we know? You don't attach your worksheet and you don't even tell us, which error message you get.

Chances are that you have not defined a function "wurzel" or that ther is something wrong in this function, which you don't show.

BTW, there should be no need to vectorize the definition of Funktion f.

EDIT: Ah, I see that "wurzel" should be the translation of "root" in the German version of Mathcad. Guess Mark already provided the correct solution.

Like other built-in functions (min, max , ..) also "root" cannot be vectorized and so the usual way is to define ones own function.

3 replies

1-Visitor
January 5, 2017

Define your root (wurzel) as a function, then vectorize the calling of that function:

Werner_E25-Diamond IAnswer
25-Diamond I
January 5, 2017

> Can anyone see my failure?

How could we know? You don't attach your worksheet and you don't even tell us, which error message you get.

Chances are that you have not defined a function "wurzel" or that ther is something wrong in this function, which you don't show.

BTW, there should be no need to vectorize the definition of Funktion f.

EDIT: Ah, I see that "wurzel" should be the translation of "root" in the German version of Mathcad. Guess Mark already provided the correct solution.

Like other built-in functions (min, max , ..) also "root" cannot be vectorized and so the usual way is to define ones own function.

25-Diamond I
January 5, 2017

I don't think that many will care about those points, but I guess for fairness sake you should mark Mark's reply as (first) correct answer.

In fact it was his answer which made me realize what "wurzel" is 😉

1-Visitor
January 5, 2017

Ha ha - thanks, Werner.  You're correct: I don't care about those points.  My participation on this site is mostly to expand my own knowledge of Mathcad.

1-Visitor
March 31, 2017

Late now but thx you for the helpful answers. Im still working on my projects in mathcad.

😃