Re: Tabular output
- To: mathgroup at smc.vnet.net
- Subject: [mg24660] Re: [mg24631] Tabular output
- From: Andrzej Kozlowski <andrzej at tuins.ac.jp>
- Date: Mon, 31 Jul 2000 09:23:28 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Presumably
ParametricPlot[{p[x],c[x]},{x, a,b}]
where a and b are suitable limits for x will do what you are asking for.
(It's better not to use capital C-- it's already got an assigned meaning).
As for the second part:
Table[{x, p[x], c[x]}, {x, a, b, d}] // TableForm
(where d is the step size).
--
Andrzej Kozlowski
Toyama International University, JAPAN
For Mathematica related links and resources try:
<http://www.sstreams.com/Mathematica/>
on 7/28/00 11:24 PM, Douglas Fisk at dooglefish at aol.communicate wrote:
> 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
>
>