Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

2D graphing quesiton

  1. Jul 17, 2010 #1
    If someone could supply the code to plot this graph in Mathematica would be awesome.

    Would also be best if it checked the y's at units of t {0,1,2,3...,inf}

    y >= 340
    Plot[100 (t) - 340 (t/2), {t, 0, 20}]
    y< 340
    Plot[100 (t) - 115 (t/2) , {t, 0, 20}]
     
    Last edited: Jul 17, 2010
  2. jcsd
  3. Jul 26, 2010 #2
    Plot3D[Piecewise[{{100 t-340 t/2, y>=340}, {100 t-115 t/2, y<340}}], {t, 0, 20}, {y, 0, 1000}]

    but that does not graph y to infinity.
     
  4. Jul 26, 2010 #3
    Thank you, sadly I won't be able to check it until i get home. On the road working.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: 2D graphing quesiton
  1. Extruding a 2d curve (Replies: 4)

Loading...