Always the same problem f and g works but h and after give this error.
I notice if I change x -4,4 I have got the same error

Le 23/05/2016 19:02, Eric Forgy a écrit :
Try x.^2.

On Tuesday, May 24, 2016 at 12:48:49 AM UTC+8, Henri Girard wrote:

    Hi,
    I don't know why this plot doesn't work ?
    It tells me the domain is wrong ?
    I don't understand why ?
    Any help ?
    Regards
    Henri


    using Plots
    x=linspace(-2,2)
    f(x) =  sqrt(4-x^2)
    g(x) = -sqrt(4-x^2)
    h(x) = sqrt(-x^2+2*x)
    k(x) = -sqrt(-x^2-2*x)
    plot([g,f,h,k],-2,2,aspect_ratio=1)


Reply via email to