Re: How to plot...?
- To: mathgroup at smc.vnet.net
- Subject: [mg23792] Re: [mg23736] How to plot...?
- From: Matt.Johnson at autolivasp.com
- Date: Sat, 10 Jun 2000 02:59:42 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
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.