Analysis of artemisinin