[PD] tanh approximation

Thomas Grill gr at grrrr.org
Tue Oct 7 14:59:36 CEST 2008


oops, forgot the attachment....
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tanh_.pd
Type: application/applefile
Size: 68 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20081007/6e32cdce/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tanh_.pd
Type: application/octet-stream
Size: 286 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20081007/6e32cdce/attachment.obj>
-------------- next part --------------


Am 07.10.2008 um 14:46 schrieb Thomas Grill:

> Hi,
>
>> An approximation to tanh(x) is a continued fraction
>> x/1+ (x^2)/3+ (4x^2)/5+ (16x^2)/9+ ...
>
> are you sure this is correct?
> Another well-known formulation is x/(1+x^2/(3+x^2/(5+x^2/(7+.....
> which works for me and converges quickly.
> see http://nrich.maths.org/public/viewer.php?obj_id=1451
>
> gr~~~
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
> listinfo/pd-list



More information about the Pd-list mailing list