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

Plotting Log as part of an equation in mathematica

  1. Jun 21, 2011 #1
    Hello I'm trying to plot log as part of an equation in mathematica and it does not seem to be working for me.

    for example I'm using Plot y = 25x / log10 (x) - 50x

    I'm just experimenting with different numbers and formulas to see what happens to the log curve.


    What I'm doing in more detail, is that I wanna be able to change variables so that the curve can become steeper or shallower. I wanna introduce about 4 or 5 different variables to control it.


    I wanna try and mimic and simplify this formula to produce the graph above. Where the water table level is controlled by the porosity of the rock and the flow of the well. Low porosity and low discharge from the well result in a steep curve and vise versa.

  2. jcsd
  3. Jun 21, 2011 #2
    For base 10 log

    Plot[25x / Log[10,x] - 50x,{x,1,100}]

    For natural log

    Plot[2π K (Db - Dm) (Dw - Dm) / Log[Ri/Rw],{something,somethingelse,somethingother}]
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook