Gynaecology & Obstetrics

16-year-old girl presents with rapid onset hirsutism and amenorrhea. Best investigation is: