MathGroup Archive 2000

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

Search the Archive

Re: Tabular output

  • To: mathgroup at smc.vnet.net
  • Subject: [mg24652] Re: Tabular output
  • From: "Allan Hayes" <hay at haystack.demon.co.uk>
  • Date: Mon, 31 Jul 2000 09:23:22 -0400 (EDT)
  • References: <8lt0ah$2f5@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Douglas,
> Question 1) I would like to plot P[x] versus C[x]. Does anybody have any
hints?

ParametricPlot[{C[x],P[x]},{x,a,b}]

> Question 2) How can I create a table of values such as (see below)  ?
>
> x           P[x]           C[x]

tab =Table[{x, P[x],{C[x]},{x, ...}]

If you want to see the output in table form use

TableForm[tab]

You can add headings - please look up TableForm.

--
Allan
---------------------
Allan Hayes
Mathematica Training and Consulting
Leicester UK
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565

"Douglas Fisk" <dooglefish at aol.communicate> wrote in message
news:8lt0ah$2f5 at smc.vnet.net...
> Hello:
>
> I created two functions, P[x] and C[x], for the maximum allowable stresses
in a
> beam-column from axial load and bending moment. The variable x is the
distance
> from one edge of the cross section to the neutral axis in bending.
>
> The functions evaluate correctly and plot correctly, i.e. I can get a plot
of
> P[x] versus x and C[x] versus x.
>
> Question 1) I would like to plot P[x] versus C[x]. Does anybody have any
hints?
>
> Question 2) How can I create a table of values such as (see below)  ?
>
> x           P[x]           C[x]
>
>
> Any help would be appreciated.
>
> -Doug
>
> Doogle "No mail accepted at this screenname, sorry" Fish
>




  • Prev by Date: Re: Tabular output
  • Next by Date: Re: Need help defining an Octahedron
  • Previous by thread: Re: Tabular output
  • Next by thread: Re: Tabular output