(How do I solve this formula?) Formula for Rounded Corners

608 Views Asked by At

I'm learning how to properly design app icons for iOS. A portion of this requires some knowledge in a formula that I've never seem before. Below is an image of the formula I'm trying to solve. For me, math is something I struggle with. How would I solve this? What are the lines around the $x$ and number? I believe the size (width $\times$ height) is what is input into the $x$. Is this something that I can solve using a calculator?

I've also seen the formula in this form $x^4+y^4=r^4$. Is this the same formula in the photo?

Image of formula

(Continued)

I tried the following $|\frac{120}{60}|^5+|\frac{120}{60}|^5$ and got $64$. Seems really high and actually isn't the radii I'm looking for. Any thoughts?

1

There are 1 best solutions below

2
On

It looks like the formula to create the image on the paper is $|x^5|+|y^5|=1$ because when $y=0$, $x=1$. You need to express $y$ in terms of $x$:

for $0 \le x \le 1$ it will be $$y=\pm\sqrt[5]{1-x^5}$$ for $-1 \le x \le 0$ it will be $$y=\pm\sqrt[5]{1+x^5}$$

Varying $x$ from $-1$ to $1$ and calculating $y$ you'll get points for your drawing.