Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Generate new List from Solve output' topicStudent Support Forum > General > "Generate new List from Solve output"

Next Comment >Help | Reply To Topic
Author Comment/Response
cflowers
09/13/11 5:23pm

Hi Everyone,

I would like to solve an equation where I iterate one variable over values contained in a list, and then generate a new list from the outputs. A simple equivalent would be:

Solve[2x/d==4,x], but I would like to iterate d over the values in a list, say dlist={1,2,3,4}.

I would then like to generate a new list from the solved values, xlist={x(d=1),x(d=2),x(d=3),x(d=4)}.

Finally, I would like to plot xlist vs. dlist.

I have been reading documentation, but am fairly new to Mathematica and haven't yet been able to figure out how to code this (even the free form input seems very particular to input method). Any help or suggestions for where to read would be much appreciated!

URL: ,

Subject (listing for 'Generate new List from Solve output')
Author Date Posted
Generate new List from Solve output cflowers 09/13/11 5:23pm
Re: Generate new List from Solve output yehuda 09/14/11 08:37am
Re: Re: Generate new List from Solve output cflowers 09/14/11 5:38pm
Next Comment >Help | Reply To Topic