Ask Your Question
1

I want to draw plot

asked 2016-05-10 08:37:48 -0500

SIS gravatar image

updated 2016-05-10 08:50:51 -0500

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???

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-05-10 08:53:31 -0500

tmonteil gravatar image

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

edit flag offensive delete link more

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: 2016-05-10 08:36:47 -0500

Seen: 25 times

Last updated: May 10 '16