How to remove curly brackets and arrow symbols from a list.
- To: mathgroup at smc.vnet.net
- Subject: [mg58204] How to remove curly brackets and arrow symbols from a list.
- From: "T. K. Ghosh" <tkghosh at mp.okayama-u.ac.jp>
- Date: Wed, 22 Jun 2005 01:55:54 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
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.
- Follow-Ups:
- Re: How to remove curly brackets and arrow symbols from a list.
- From: Pratik Desai <pdesai1@umbc.edu>
- Re: How to remove curly brackets and arrow symbols from a list.