# Questions tagged [trigonometry]

For challenges where trigonometry plays an important role.

6 questions
Filter by
Sorted by
Tagged with
637 views

### Make a Surfin' Word

Your goal is to map a piece of text to a sine curve of the form: a sin ( mx - b ) Where a and m are non-zero rational numbers, b is a rational number, and the calculations are in radians. It ...
539 views

### Regular Polygrams

Given the number of vertices n ≥ 3 and the "step size" 1 ≤ m < n/2 (indicating the distance between two connected vertices), ...
8k views

### A single pixel moving in a circular path

This is a graphical output challenge where the task is to give the shortest code per language. Task Your code should plot a single purple pixel (hex value #800080 or rgb(128, 0, 128)), moving ...
5k views

### Draw a graph of $y=(-n)^x$

Challenge Given an input of an integer, $n$ (where $0<n<50$), output the graph of $y=\mathrm{Re}((-n)^x)$ from $x = -3$ to $x = 3$ inclusive. Where $\mathrm{Re}(p)$ is the real ...