Step 1: Use the formula for horizontal range.
For projectile motion,
\[
R=\frac{u^2\sin 2\theta}{g}
\]
Given:
\[
R=90\text{ m},\quad \theta=45^\circ,\quad g=10\text{ ms}^{-2}
\]
Since
\[
\sin 2\theta=\sin 90^\circ=1,
\]
we get
\[
90=\frac{u^2}{10}
\]
Therefore,
\[
u^2=900
\]
\[
u=30\text{ ms}^{-1}
\]
Step 2: Use the formula for maximum height.
Maximum height is
\[
H=\frac{u^2\sin^2\theta}{2g}
\]
Substitute the values:
\[
H=\frac{900\sin^2 45^\circ}{2(10)}
\]
Since
\[
\sin 45^\circ=\frac{1}{\sqrt{2}},
\]
we have
\[
\sin^2 45^\circ=\frac12
\]
Thus,
\[
H=\frac{900\times \frac12}{20}
\]
\[
H=\frac{450}{20}
\]
\[
H=22.5\text{ m}
\]
Step 3: Final conclusion.
Hence, the maximum height reached by the javelin is
\[
\boxed{22.5\text{ m}}
\]