Maximum Perimeter of a triangle inside a circle How would i find/prove the maximum perimeter of an equilateral triangle inside a circle:

$$x^2+y^2=4$$

ps. sorry for my bad english and bad question making
If you really need to use Calculus, try proposing three points $P_1,P_2,P_3$. This points have coordinates $(x_i,y_i)$, which satisfy the relation $x^2+y^2=2^2$.

You need to find the perimeter of the triangle formed by those points, so you want $Perimeter = d(P_1,P_2)+d(P_1,P_3)+d(P_3,P_3)$. Expanded is:

$$
Perimeter =\sqrt{(x_1-x_2)^2+(y_1-y_2)^2}\ + 
\sqrt{(x_1-x_3)^2+(y_1-y_3)^2}\ + 
\sqrt{(x_2-x_3)^2+(y_2-y_3)^2}.
$$

You can set $P_1=(2,0)$ without loss of generality, so above is simplified to:

$$
Perimeter =\sqrt{(2-x_2)^2+y_2^2}\ + 
\sqrt{(2-x_3)^2+y_3^2}\ + 
\sqrt{(x_2-x_3)^2+(y_2-y_3)^2}.
$$

You also know that both $P_2$ and $P_3$ need to satisfy the relation. Try first with $y_i^2 = 2^2-x_i^2$. Set it again in the above equation and rewrite:

$$
Perimeter =\sqrt{(2-x_2)^2+2^2-x_2^2}\ + 
\sqrt{(2-x_3)^2+2^2-x_3^2}\ + 
\sqrt{(x_2-x_3)^2+(2^2-x_2^2+2^2-x_3^2)+2\sqrt{(2^2-x_2^2)(2^2-x_3^2)}}.
$$

Now to try a long-shot of intuition, set $x_2=x_3=z$. Then:

$$
Perimeter =2\sqrt{(2-z)^2+2^2-z^2}\ + 
\sqrt{2(2^2-z^2)+2\sqrt{(2^2-z^2)(2^2-z^2)}}
$$

You might simplify further if needed. Then differentiate with respect to $z$. You should get $z=-1$. This is the easiest Calculus way I can think of.
The equation $x^2+y^2=4$ describes a circumference of radius $\rho=2$ centered at $(0,0)$. If you have a equilateral triangle inscribed in this circle (which is unique up to rotations) then this means that $\rho=2r$, where $r$ is the inradius of your triangle; i.e. $r=1$. As in the following picture (borrowed from http://mathworld.wolfram.com/EquilateralTriangle.html)


The length $a$ of each side happens to be $\frac{6}{\sqrt 3}r$ so your answer is
$$
perimeter=3a=6\sqrt3.
$$
Notice that the up-to-rotation-uniqueness implies that every equilateral triangle incribed in this circumference will have the same perimeter.

If you don't restrict yourself to the inscribed case and consider a triangle inside the circle then you can maximize the perimeter maximizing the function
$p(r)=6\sqrt3r$, which will tell you that the biggest value is attained when $r$ is maximun; i.e. when $r=1$.