FW: Math

new topic     » topic index » view thread      » older message » newer message

Oops, that should be sine instead of cosine, and you should really add in a
coefficient for the sine wave:

y = x + c * sin( z * pi * x )

You can use c to adjust the amplitude of the wave.

Matthew W Lewis
KAPCO


-----Original Message-----
From: Matthew Lewis
Try
y = x + cos( z * pi * x )

Matthew W Lewis
KAPCO


> -----Original Message-----
> From: Euphoria Programming for MS-DOS
> [mailto:EUPHORIA at LISTSERV.MUOHIO.EDU]On Behalf Of Lewis Townsend
> ^
> |   _     /
> |  / \   / Z = 2
> Y| /   \_/
> |/
> +----------+->
> 0    X     1
>

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu