Skip to main content
1-Visitor
April 8, 2011
Solved

iterative root solution

  • April 8, 2011
  • 1 reply
  • 2860 views

Hello,

I was trying to do the following:

- I create a function y of a variable x with a parameter "a"

- I solve to find the value of x which is root of this function

How can I do this repetitively for different values of the parameter "a"? Please see attached MC 12 file.

I tried making "a" an array, but then I get an error if I try to define an "array function" y(x)_i.

Thanks for the help!

Gigi

Best answer by StuartBruff

Make y a function of a as well as x.

Stuart

1 reply

23-Emerald V
April 9, 2011

Make y a function of a as well as x.

Stuart