Latest Gate Aptitude Question SOLUTION: 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 50 per unit. The number of units