Re: How to plot...?
- To: mathgroup at smc.vnet.net
- Subject: [mg23782] Re: [mg23736] How to plot...?
- From: BobHanlon at aol.com
- Date: Sat, 10 Jun 2000 02:59:27 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
In a message dated 6/5/2000 1:31:55 AM, jml at accessinter.net writes: >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. > fp[pp_, vel_] := (pp*vel^2)/450240; Plot3D[fp[pp, vel], {pp, 7.9, 10.5}, {vel, 780, 940}, AxesLabel -> {"Pellet Weight\n (grains)", "Velocity\n(ft/sec)", "Energy"}, ImageSize -> {500, 405}]; Bob BobHanlon at aol.com