getting started with sage to teach
Title
Question
Dear All
when i type in windows 10,
@interact
def plot_damped(n=2)
t=var('t')
p1=plot(e^(-t)*sin(2*t),(t,0,15))
show(p1)
<pre style="overflow: auto; font-family: monospace; padding: 1px 0px; margin-bottom: 0px; line-height: inherit; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); border-width: 0px; border-style: initial; border-color: initial; vertical-align: baseline;"><span class="ansi-cyan-fg" style="color: rgb(96, 198, 200);"> File </span><span class="ansi-green-fg" style="color: rgb(0, 162, 80);">"<ipython-input-28-5f9e3af9e434>"</span><span class="ansi-cyan-fg" style="color: rgb(96, 198, 200);">, line </span><span class="ansi-green-fg" style="color: rgb(0, 162, 80);">2</span> <span class="ansi-red-fg" style="color: rgb(231, 92, 88);"> def plot_damped((ellipsis_iter(n=Integer(1) ,Ellipsis, Integer(10)))):</span> ^ <span class="ansi-red-fg" style="color: rgb(231, 92, 88);">SyntaxError</span><span class="ansi-red-fg" style="color: rgb(231, 92, 88);">:</span> invalid syntax </pre><pre style="overflow: auto; font-family: monospace; padding: 1px 0px; margin-bottom: 0px; line-height: inherit; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); border-width: 0px; border-style: initial; border-color: initial; vertical-align: baseline;">
</pre><pre style="overflow: auto; font-family: monospace; padding: 1px 0px; margin-bottom: 0px; line-height: inherit; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); border-width: 0px; border-style: initial; border-color: initial; vertical-align: baseline;">Kindly help</pre>
</pre><pre style="overflow: auto; font-family: monospace; padding: 1px 0px; margin-bottom: 0px; line-height: inherit; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); border-width: 0px; border-style: initial; border-color: initial; vertical-align: baseline;">Kindly help</pre>
Python-3.4.3 General
Answers:
It is difficult to understand your question.
Login to add comment