Find the area under the curve by using integration:
My Attempt: Considering a strip of width $dx$ and height $y$ at a distance of $x$ from $Y-$ axis. $$A=\int_{0}^{a} y dx$$ $$=\int_{0}^{a} k(x-a)^{2} dx$$ $$=\int_{0}^{a} \frac {b}{a^2} (x^2-2ax+a^2)dx$$ $$=\frac {b}{a^2} \int_{0}^{a} (x^2-2ax+a^2) dx$$ Thus Area$=\frac {ab}{3}$
Now if we consider a strip of width $dy$ parallel to $X-$ axis $$A=\int_{0}^{b} xdy$$ $$=\int_{0}^{b} \sqrt {\frac {y}{k}}+a dy$$ $$=\frac {1}{\sqrt {k}} (\frac {2}{3} b^{\frac {3}{2}})+ab$$ Thus Area$=\frac {5ab}{3}$
Why am I getting different answers?