Re: Beginner's clothoid
- To: mathgroup@smc.vnet.net
- Subject: [mg10749] Re: Beginner's clothoid
- From: Allan Hayes <hay@haystack.demon.co.uk>
- Date: Mon, 2 Feb 1998 00:44:45 -0500
- References: <6as7hl$f4r@smc.vnet.net>
Hans van Maanen wrote: > I need to draw a clothoid, aka as Euler's spiral. > > The equations are something like this ... > > x = Integrate[Cos[s^2],s] > y = Integrate[Sin[s^2],s] Hans, You need to use ParametricPlot: (the use of N below might speed things up) x = Integrate[Cos[s^2],s]//N y = Integrate[Sin[s^2],s]//N 1.25331 FresnelC[0.797885 s] 1.25331 FresnelS[0.797885 s] ParametricPlot[{x,y},{s,0, 3}]; -- Allan Hayes Training and Consulting Leicester, UK hay@haystack.demon.co.uk http://www.haystack.demon.co.uk voice: +44 (0)116 271 4198 fax: +44 (0)116 271 8642