Ask Your Question
1

I want to draw plot

asked 2016-05-10 15:37:48 +0100

SIS gravatar image

updated 2016-05-10 15:50:51 +0100

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 15:53:31 +0100

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 15:36:47 +0100

Seen: 153 times

Last updated: May 10 '16