ED50 and LD50 determination