Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'equations List and evaluate' topicStudent Support Forum > General > "equations List and evaluate"

Next Comment >Help | Reply To Topic
Author Comment/Response
Goshek
11/29/06 6:04pm

Hi all,

For example, i have a list of polynomial equations like this

pol={1.78 + 0.89`x, 1.52 + 2.882`x + 1.450`x^2}


And now i what to create a function to evaluate for example the first equation from the list,

test[x_]:=pol[[1]];

If i try test[2]

the Mathematica only show the polynomial equation and donīt apply the value of x to the expression...

How can i change this?

URL: ,

Subject (listing for 'equations List and evaluate')
Author Date Posted
equations List and evaluate Goshek 11/29/06 6:04pm
Re: equations List and evaluate tamiya 11/30/06 02:20am
Next Comment >Help | Reply To Topic