consider the Sellmeier equation and take it into deriviation