Archimedean spiral: Difference between revisions
Content added Content deleted
m (fix FutureBasic list position) |
imported>Maxima enthusiast No edit summary |
||
Line 1,815: | Line 1,815: | ||
theta = 0:0.1:2*turns*pi; |
theta = 0:0.1:2*turns*pi; |
||
polarplot(theta, a + b*theta);</syntaxhighlight> |
polarplot(theta, a + b*theta);</syntaxhighlight> |
||
=={{header|Maxima}}== |
|||
Using draw package |
|||
<syntaxhighlight lang="maxima"> |
|||
archi_spi(a,b):=wxdraw2d(nticks=200,polar(a+b*theta,theta,1,10*%pi))$ |
|||
archi_spi(1,1); |
|||
</syntaxhighlight> |
|||
[[File:Archi spi.png|thumb|center]] |
|||
=={{header|Nim}}== |
=={{header|Nim}}== |