chech out this solution https://gateoverflow.in/413573/gate-science-artificial-intelligence-sample-paper-question?show=418149#a418149
Let \(f(x) = x^e \cdot e^{-x}\). Find the derivative \(f'(x)\): \[f'(x) = e \cdot x^{e-1} \cdot e^{-x} - x^e \cdot e^{-x}\] \[f'(x) = e^{-x} \cdot x^{e-1} \cdot (e - x)\]
Set \(f'(x) = 0\) to find critical points: \[e^{-x} \cdot x^{e-1} \cdot (e - x) = 0\] This equation holds true when \(x = 0\) or \(x = e\).
Check the second derivative to determine local maxima: \[f''(x) = e^{-x} \cdot x^{e-2} \cdot (e^2 - 2ex + x^2)\] \[f''(0) = 0 \quad (\text{inconclusive})\] \[f''(e) = -e^{-e} \cdot e^{e-2} = -\frac{1}{e} < 0\] This indicates a local maximum at \(x = e\).
Consider boundary points: \[f(0) = 0^e \cdot e^{-0} = 0\] \[f(e) = e^e \cdot e^{-e} = 1\]
Compare function values: \[f(0) = 0 < f(e) = 1\] Therefore, the value of \(x\) that maximizes \(f(x) = x^e \cdot e^{-x}\), within the constraint \(x \geq 0\), is \(x = e\), which is approximately $2.72$ (up to two decimal places).
So the answer is $2.72$
64.3k questions
77.9k answers
244k comments
80.0k users