Ask Your Question

Revision history [back]

Am I not inside the domain ?

x=var('x') f = Piecewise([[(0,pi/2),-1],[(pi/2,pi),2]]) plot(f(x),(x,0,pi))

? ValueError: Value not defined outside of domain. ?

Am I not inside the domain ?

x=var('x')
f = Piecewise([[(0,pi/2),-1],[(pi/2,pi),2]])
plot(f(x),(x,0,pi))plot(f(x),(x,0,pi))

**?

?

ValueError: Value not defined outside of domain. ?domain.

?**