Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2014

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

Search the Archive

School project - NEED HELP!

  • To: mathgroup at smc.vnet.net
  • Subject: [mg132206] School project - NEED HELP!
  • From: Jenhow Tan <jenh0w at hotmail.com>
  • Date: Thu, 16 Jan 2014 01:55:04 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-outx@smc.vnet.net
  • Delivered-to: mathgroup-newsendx@smc.vnet.net

Is it possible to show the kinetic energy with a bar graph that varies over time manipulation? I'm getting an error asking for a pair of numbers of the coordinates, but I would then be unable to see the bar graph changing proportionally to time. 

I would also like it to solve the kinetic energy below my manipulation bars.

Plot[{Potential[tt], 
  Kinetic[tt], -.5 gravity tt^2 + initialvelocity tt + height}, {tt, 
  0, TT + .005}, PlotStyle -> {Thick, Thick, {Dashed, Green}},
 Epilog -> {White, AbsoluteDashing[{5, 5}], 
   Line[{{time, 0}, {time, Max[Potential[time], Kinetic[time]]}}],
   RGBColor[0, .79, .6], 
   Disk[{time, -.5 gravity time^2 + initialvelocity time + height}, 
    5 mass],
   
   RGBColor[.6, .73, .36], Rectangle[{11, 0}, {12, Kinetic}]},
 
 PlotRange -> {{-.5, 12.5}, {-.5, 23}}, AspectRatio -> Automatic,
 PlotLegends -> {"Potential", "Kinetic", "Position"}, 
 ImageSize -> 300, AxesLabel -> StandardForm[Height]],



  • Prev by Date: Re: Simple question
  • Next by Date: Format expression in TeXForm not working
  • Previous by thread: Re: Simple question
  • Next by thread: Re: School project - NEED HELP!