Ask Your Question
1

I want to draw plot

asked 8 years ago

SIS gravatar image

updated 8 years ago

tmonteil gravatar image
y=var('y')
P1=plot_slope_field(sin(y)*x^2,(x,-10,10),(y,-10,10), headlength=4, headaxislength=2)

P2=implicit_plot(-1/2*log(cos(y) + 1) + 1/2*log(cos(y) - 1) == 1/3*x^3,(x,-10,10),(y,-10,10))

P=P1+P2

show(P)

P2 is not drawn T.T why???

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
0

answered 8 years ago

tmonteil gravatar image

It seems that P2 is not defined because log(cos(y) - 1) is not defined (logarithm of a nonpositive number).

Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 8 years ago

Seen: 177 times

Last updated: May 10 '16