#N canvas 364 23 593 484 12;
#X floatatom 159 250 4 0 0 0 - - - 0;
#X floatatom 122 341 8 0 0 0 - - - 0;
#X floatatom 122 250 4 0 0 0 - - - 0;
#X floatatom 43 341 8 0 0 0 - - - 0;
#X floatatom 43 250 4 0 0 0 - - - 0;
#X floatatom 453 216 8 0 0 0 - - - 0;
#X floatatom 384 216 8 0 0 0 - - - 0;
#X obj 315 188 sin;
#X floatatom 315 86 5 0 0 0 - - - 0;
#X floatatom 315 216 8 0 0 0 - - - 0;
#X obj 315 138 * 6.28319;
#X obj 315 112 / 360;
#X obj 384 188 cos;
#X obj 453 188 tan;
#X obj 43 297 atan;
#X obj 159 278 t b f;
#X text 18 409 see also:;
#X obj 100 410 cos~;
#X obj 16 21 sin;
#X obj 49 21 cos;
#X obj 81 21 tan;
#X obj 113 21 atan;
#X obj 152 21 atan2;
#X obj 122 307 atan2;
#X obj 19 443 >;
#X obj 282 443 expr;
#X obj 367 410 +;
#N canvas 717 46 573 590 reference 0;
#X obj 8 198 cnv 2 550 2 empty empty OUTLET: 8 12 0 13 #202020 #000000 0;
#X obj 8 235 cnv 2 550 2 empty empty ARGUMENTS: 8 12 0 13 #202020 #000000 0;
#X obj 7 269 cnv 5 550 5 empty empty empty 8 18 0 13 #202020 #000000 0;
#X obj 25 48 sin;
#X obj 25 71 cos;
#X obj 25 94 tan;
#X obj 25 118 atan;
#X text 199 243 NONE, f 5;
#X obj 14 362 cnv 5 550 5 empty empty INLETS: 8 18 0 13 #202020 #000000 0;
#X obj 14 484 cnv 2 550 2 empty empty OUTLET: 8 12 0 13 #202020 #000000 0;
#X obj 14 522 cnv 2 550 2 empty empty ARGUMENT: 8 12 0 13 #202020 #000000 0;
#X obj 13 564 cnv 5 550 5 empty empty empty 8 18 0 13 #202020 #000000 0;
#X obj 13 449 cnv 1 550 1 empty empty 2nd: 8 12 0 13 #7c7c7c #000000 0;
#X text 104 399 bang - output the function on the previously set values.;
#X text 98 457 float -;
#X obj 13 394 cnv 1 550 1 empty empty 1st: 8 12 0 13 #7c7c7c #000000 0;
#X obj 8 160 cnv 5 550 5 empty empty INLETS: 8 18 0 13 #202020 #000000 0;
#X text 109 207 float - function result output.;
#X obj 25 329 atan2;
#X text 129 495 float - function result output., f 51;
#X text 97 418 float -;
#X text 109 170 float - input value to the function and output result.;
#X text 110 533 1) float -;
#X text 155 457 right side input ('y' coordinate)., f 56;
#X text 153 418 left side input ('x' coordinate)., f 56;
#X text 188 533 initialize right inlet (default 0).;
#X text 23 16 Trigonometric functions:;
#X text 71 47 - calculate sine (input in radians)., f 66;
#X text 71 70 - calculate cosine (input in radians)., f 66;
#X text 71 93 - calculate tangent (input in radians)., f 66;
#X text 71 117 - calculate arc-tangent (input in radians)., f 66;
#X text 71 328 - calculate arc-tangent from coordinate pairs (x \, y)., f 66;
#X restore 419 21 pd reference;
#X text 517 20 <= click;
#X obj 6 56 cnv 1 585 1 empty empty empty 8 12 0 13 #000000 #000000 0;
#X obj 6 395 cnv 1 585 1 empty empty empty 8 12 0 13 #000000 #000000 0;
#X text 238 267 The arc tangent ([atan]) takes two forms. The [atan2] version takes a coordinate pair (x \, y) and gives you an an angle in radians between -pi and pi. It also takes a bang message in the left inlet to evaluate the operation with the previously set values., f 47;
#X text 396 115 <-- convert to radians, f 11;
#X text 374 444 updated for Pd version 0.54;
#X text 198 20 - trigonometric functions;
#X obj 152 410 abs;
#X text 52 102 Here are some control rate trigonometric funtcions. Unlike [cos~] \, which is a cosine wavetable reader \, these functions take inputs in radians., f 27;
#X text 183 409 (etc.) - unary operators;
#X text 398 409 (etc.) - binary operators;
#X text 50 443 (etc.) - other binary operators;
#X text 359 85 <-- degrees;
#X connect 0 0 15 0;
#X connect 2 0 23 0;
#X connect 4 0 14 0;
#X connect 7 0 9 0;
#X connect 8 0 11 0;
#X connect 10 0 7 0;
#X connect 10 0 12 0;
#X connect 10 0 13 0;
#X connect 11 0 10 0;
#X connect 12 0 6 0;
#X connect 13 0 5 0;
#X connect 14 0 3 0;
#X connect 15 0 23 0;
#X connect 15 1 23 1;
#X connect 23 0 1 0;
