mr=mc

Is the following is right? For any type of competition , maximized output is when MR=MC. The price is always determined by demand curve and it is the point corresponding to MR=MC quantity level.

Yes.

that is correct my friend

cool. Thanks a lot