1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Need some help with mathematica

  1. Apr 7, 2009 #1
    Hi!

    I dont know where to put this but I hope you guys can help me. Its simple.

    How do I fill the area in mathematica between:

    3/(4 x), 4/(4 x), 1/(4 x^3), 1/(2.7 x^3) ?


    Code (Text):
    Plot[{3/(4 x), 4/(4 x), 1/(4 x^3), 1/(2.7 x^3)}, {x, 0.45, 0.75},
     Ticks -> False, AxesLabel -> {V, P}, PlotRange -> {0.5, 3}]
    Thank you
     
  2. jcsd
  3. Apr 9, 2009 #2
    Why don't you try to add the Filling option? This fills the curves between the 1st and 2nd, and 3rd and 4th function. If you want the strips to be organized differently, you would have to explain what you want more accurately. Try:

    Code (Text):
    Plot[{3/(4 x), 4/(4 x), 1/(4 x^3), 1/(2.7 x^3)}, {x, 0.45, 0.75},
     Ticks -> False, AxesLabel -> {V, P}, PlotRange -> {0.5, 3},
     Filling -> {1 -> {2}, 3 -> {4}}]
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Need some help with mathematica
  1. Proving slope (Replies: 1)

Loading...