It is given that ABC is a right angled triangle
and BD is the altitude drawn from the right angle to the hypotenuse.
In ∆ DBA and ∆ DCB, we have :
∠BDA = ∠CDB
∠DBA = ∠DCB = 90°
Therefore, by AA similarity theorem, we get :
∆DBA - ∆ DCB
⇒ BD/CD = AD/BD
⇒ CD = BD2/AD
CD = 8×8/4 = 16 cm