Hundred and twenty chocolates were equally distributed among the students present in the class. If there were 4 more students, each of them would have received one chocolate less. How many students were present In the class?
Explanation: ধরে নিই, class এ \(x\) students ছিল। সুতরাং , প্রতিটি ছাত্র পাবে \(\frac{120}{x}\) chocolate. যদি 4 জন ছাত্র বেশি থাকতো, এক একটি ছাত্র পেত \(\frac{120}{x+4}\) chocolate. বলা আছে , \(\frac{120}{x+4}=\frac{120}{x}-1 \Rightarrow \frac{120}{x+4}=\frac{120-x}{x} \Rightarrow 120x=120x-x^2+480-4x \Rightarrow x^2+4x-480=0 \Rightarrow x^2+24x-20x-480=0 \Rightarrow (x+24)(x-20)=0 \Rightarrow x=20\).