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

Mathematica Problem

  1. Jan 25, 2010 #1
    I just got Mathematica last night and am trying to use it for the first time. I'm trying to plot a graph [tex] f(x)=K(1-x)^{\frac{-3}{8}} [/tex] but it's not working right. I tried first with K = 325 (for physical reasons) and the graph started negative at x=0. If I choose K to be almost anything other than 325 the graph starts at 0 which is also wrong. The command I gave was Plot[325(1-x)^(-3/8), {x,0,0.9}]. Did I do something wrong?
     
  2. jcsd
  3. Jan 25, 2010 #2
    download the following software which is much more easier than mathematica
    http://www.grapheeasy.com/download/ge2en.exe [Broken]
     
    Last edited by a moderator: May 4, 2017
  4. Jan 25, 2010 #3

    CompuChip

    User Avatar
    Science Advisor
    Homework Helper

    Are you sure it starts at 0?
    Or does it start at the crossing of the axes? Look carefully if the intersection point is indeed (0, 0), and not (0, 325).
    If you insist on having it in the origin, usr

    Code (Text):

    Plot[325(1-x)^(-3/8), {x,0,0.9}, AxesOrigin->{0, 0}]
     
     
  5. Jan 25, 2010 #4
    Thanks that solves the problem. I'm really new at this so I'm still trying to get used to it all.
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook