F
F
Frezer2020-07-21 20:40:04
Mathematics
Frezer, 2020-07-21 20:40:04

What is the trigonometric formula for a square?

Dear mathematicians, what will the trigonometric formula of a square look like.
Here is the trig. circle formula:
a + r * cos t
b + r * sin t
5f172854e4e15059170156.png
Is there a similar formula but to get a square?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
Taus, 2020-07-24
@Taus

For example, the parametric formula:

x = x0 + d/2 * cos(t) * |cos(t)|,
y = y0 + d/2 * sin(t) * |sin(t)|,

where d is the length of the diagonal.

A
Alexander, 2020-07-21
@NeiroNx

Y = (time<=25)?100:((time<=50)?100-(time-25)*4:(time<=75)?:0:((time<=100)?(time-75)*4:0))
X = (time<=25)?time*4:((time<=50)?100:((time<=75)?100-(time-50)*4:0))

time(0...25) - top edge
time(26...50) - right edge
time(51...75) - bottom edge
time(76...100) - left edge
possible without conditions, but I xs how)))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question