MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

How to remove curly brackets and arrow symbols from a list.


Hi Math Guru,

I will be very happy if you could help me to solve the following problem.
The simplified version of my problem is the following.
I have a quadratic equation with a parameter, say "p".

Define the function:
f[x_] := A*X^2 + B*X*p + D  with A, B and D are given.
"p" is a parameter.
I solve this equation for a given p:
w = Solve[f[x]] == 0, X].
Now I want to make a Table for the solutions of this
quadratic equation for different values of "p".
So I write,
Table[{p,sol},{p,0,10,1}.
I will get a table which will look like,
0   {w -> a}    {w -> -a}
1    {w -> b}    {w -> -b}
2    {w -> c}    {w -> -c}
and so on.........

How can I remove the curly brackets and the arrow symbol
from the TableForm? I would like to plot the 1st column
vs. 2nd or 3rd column. I must remove those brackets.
and I wish to get the following form:
0  a  -a
1  b  -b
2  c  -c


Hope this can be done easily which I am not aware.
Any suggestion/solution to this problem is most welcome.
Thanking you in advance.
TKG.


  • Prev by Date: Updates to visualization site
  • Next by Date: Re: Real time analysis of data.
  • Previous by thread: Updates to visualization site
  • Next by thread: Re: How to remove curly brackets and arrow symbols from a list.