reflected wave and transmitted wave and I(i)