The cost function for a  product in a firm is given by $5q^{2},$where $q$ is the amount of production. The firm can sell the product at a market price of Rs.$50$ per unit. The number of units to be produced by the firm such that the profit is maximized is
1. $5$
2. $10$
3. $15$
4. $25$