| 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: , |
|