MathGroup Archive 2000

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

Search the Archive

Re: How to plot...?



Jos-

Plot3D[ fp[ pp , vel ] , {pp, 7.9, 10.5}, {vel, 780, 940}];

should do it.

If you want a 2-d plot holding one variable constant, (letting pp = 7.9 in this
case)

Plot[ fp[ 7.9, vel ], {vel, 780, 940}];

-matt





jml at accessinter.net ( Jose Lasso) on 06/04/2000 11:09:28 PM

Subject: [mg23792]  [mg23736] How to plot...?




Hi,

How can I plot the following function: fp[pp_,vel_]:=(pp*vel^2)/450240,
this is a ballistic function, where fp is the energy, pp is the pellet
weight, and vel is the velocity of the pellet. Any ideas. Thx in advance.
Regards.

Jos M Lasso

PS: Maybe this is quite simple, but dont forget than I am a rookie with
Mathematica. the range of pp:7.9 grains to 10.5 grains, the range of
vel:780 ft/sec to 940 ft/sec.









  • Prev by Date: Re: How to plot...?
  • Next by Date: Re: joining lists.
  • Previous by thread: Re: How to plot...?
  • Next by thread: Re: How to plot...?