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

Plotting Implicit function of 1 variable

  1. Jun 29, 2017 #1

    joshmccraney

    User Avatar
    Gold Member

    Hi PF!

    I am trying to plot a difficult implicit function, but for ease let's pretend that function is ##y^5\sqrt{1-x}+yx+1 = 0##. I want to plot ##Re(y)## as a function of ##x:x\in[0,2]##. I am using MATLAB. Do you think the best way to plot this is to assign ##x## a value in the domain, use Newton's method to find the zeros, record the found zeros, and reiterate?

    Or do you recommend some software package? I made a post similar to this in Mathematica but no solution is available, so I've switched to MATLAB.
     
  2. jcsd
  3. Jun 29, 2017 #2

    andrewkirk

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    I'd be surprised if Mathematica can't do it, since Wolfram Alpha is a cut-down version of Mathematica, and that can do it:

    http://www.wolframalpha.com/input/?i=plot+y^5*sqrt(1-x)++x*y+++1+=+0
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted