i want to get maximum area of square can be drawn in a circle if its diamemter is "d"
If I understand correctly the diameter will also be the longest diagonal across the square.
From Pythagoras you know that where a is the side length.
(nb: because side length must be greater than 0 I have discarded the negative root)
Now what do you know about the area of a square?