answersLogoWhite

0

first the parametric equation of a sphere is X=cos(a)

Y= sin(a)*cos(b)

Z=sin(a)*sin(b)

the equation of a cube is of the same type except that you have to multiply X,Y,and Z by

A=(1+tan(a-pi/2*(floor((a+pi/4)/(pi/2))))²)^(1/2)

and Y and Z by

B=(1+tan(b-pi/2*(floor((b+pi/4)/(pi/2))))²)^(1/2)

And the result should be a cube

Ps: remove Z and take b=0 and you should have the equation of a 2D square, if you want explanations i can give you some but it's a bit long...

User Avatar

Wiki User

12y ago

Still curious? Ask our experts.

Chat with our AI personalities

JordanJordan
Looking for a career mentor? I've seen my fair share of shake-ups.
Chat with Jordan
RafaRafa
There's no fun in playing it safe. Why not try something a little unhinged?
Chat with Rafa
LaoLao
The path is yours to walk; I am only here to hold up a mirror.
Chat with Lao

Add your answer:

Earn +20 pts
Q: What is the parametric equation of cube?
Write your answer...
Submit
Still have questions?
magnify glass
imp