How do I calculate trigonometric functions, such as sine and cosine?

I have a table of angles in degrees and I want to calculate the sine and cosine of these angles. Can I do that in Easy Data Transform?

Currently, there isn’t a sine or cosine function in the Calculate transform. But you can do the calculation in a Javascript transform, e.g.:

return Math.sin($(radians));

The angle should be in radians (not degrees). You can do this conversion using the Units transform.

trigonometry.transform (4.6 KB)

1 Like

You can use Num Format to round off the values to a certain number of decimals.