Skip to main content
1-Visitor
February 4, 2020
Solved

This function cannot be used here

  • February 4, 2020
  • 1 reply
  • 1802 views

Hello all, 

Need help with the root function which i keep getting the error 'This function cannot be used here'.

(mathcad 15)

 

Thank you. 

Best answer by Werner_E

The function you feed into "root" returns a vector as a result but to make "root" work it has to be a scalar valued function.

Not sure if you get what you are looking for if you turn Py and Pc into functions of t AND i:

Werner_E_0-1580783370793.png

 

1 reply

Werner_E25-Diamond IAnswer
25-Diamond I
February 4, 2020

The function you feed into "root" returns a vector as a result but to make "root" work it has to be a scalar valued function.

Not sure if you get what you are looking for if you turn Py and Pc into functions of t AND i:

Werner_E_0-1580783370793.png

 

1-Visitor
February 4, 2020

Thank you!