ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 26 Nov 2014 03:09:07 -0600How does one graph this?http://ask.sagemath.org/question/24988/how-does-one-graph-this/ I am trying to parametrize $x^2+y^2+sin(4x)+sin(4y)=4$.
I need to find a way of taking the intersections between $x^2+y^2+\sin(4x)+\sin(4y)=4$, and $\tan(nx)$. As n increases from $0\le{n}\le{2\pi}$, I can take the following in coordinate-form....
$$(n,\text{The x-intersection value})$$
$$(n,\text{The y-intersection value})$$
Finally I need to take the following to graph its parametric derivative. Which is...
$$\frac{({\text{The x-intersection value}})^2+4\cos(4(\text{The x-intersection value}))}{-(\text{The y-intersection value})^2-4\cos(4(\text{The y-intersection}))}$$
I have little knowledge with how to use sage. If someone can help I'll be thankful.
Mon, 24 Nov 2014 21:00:32 -0600http://ask.sagemath.org/question/24988/how-does-one-graph-this/Comment by SL for <p>I am trying to parametrize $x^2+y^2+sin(4x)+sin(4y)=4$.</p>
<p>I need to find a way of taking the intersections between $x^2+y^2+\sin(4x)+\sin(4y)=4$, and $\tan(nx)$. As n increases from $0\le{n}\le{2\pi}$, I can take the following in coordinate-form....</p>
<p>$$(n,\text{The x-intersection value})$$
$$(n,\text{The y-intersection value})$$</p>
<p>Finally I need to take the following to graph its parametric derivative. Which is...</p>
<p>$$\frac{({\text{The x-intersection value}})^2+4\cos(4(\text{The x-intersection value}))}{-(\text{The y-intersection value})^2-4\cos(4(\text{The y-intersection}))}$$</p>
<p>I have little knowledge with how to use sage. If someone can help I'll be thankful.</p>
http://ask.sagemath.org/question/24988/how-does-one-graph-this/?comment=25009#post-id-25009You can try plotting separately and then combine
p1 = implicit_plot(x^2+y^2+sin(4*x)+sin(4*y)==4,(x,-3,3),(y,-3,3), color='red')
p2 = plot(tan(x), (x,-3,3), ymin=-3, ymax=3, color='blue')
p1+p2Wed, 26 Nov 2014 03:09:07 -0600http://ask.sagemath.org/question/24988/how-does-one-graph-this/?comment=25009#post-id-25009