The function of an inverter is to convert Direct Current (DC) into Alternating Current (AC).
Inverters are widely used in backup power systems to run household appliances during power cuts.
In the adjoining figure, $\triangle CAB$ is a right triangle, right angled at A and $AD \perp BC$. Prove that $\triangle ADB \sim \triangle CDA$. Further, if $BC = 10$ cm and $CD = 2$ cm, find the length of AD. 