Jump to content

Archimedean spiral: Difference between revisions

no edit summary
m (fix FutureBasic list position)
imported>Maxima enthusiast
No edit summary
Line 1,815:
theta = 0:0.1:2*turns*pi;
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}}==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.