[PD] expression with arctn

IOhannes m zmölnig zmoelnig at iem.at
Sun Feb 2 20:39:45 CET 2020

On 2/2/20 8:18 PM, Csaba Láng wrote:
> Dear list,
> how would you calculate with an expression this formula:
> arctg(y/x)

the canonical object for this is [atan2].

since you asked about "expressions", use:

[expr atan($f2/$f1)]

> looks like tan, sin, cos cannot be in the expression, does it mean I have
> to brake it into parts?

what do you see that i don't when creating
  [expr tan($f1); sin($f1); cos($f1)]


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20200202/cf84643c/attachment.sig>

More information about the Pd-list mailing list