C

n=sqrt(2.957019+0.0216485/(pow(x,2)-0.0158650)-0.0101373*pow(x,2))

Python

n=(2.957019+0.0216485/(x**2-0.0158650)-0.0101373*x**2)**.5

Fortran

n=SQRT(2.957019+0.0216485/(x**2-0.0158650)-0.0101373*x**2)

MATLAB

n=sqrt(2.957019+0.0216485./(x.^2-0.0158650)-0.0101373.*x.^2)

LaTeX

n^2=2.957019+\frac{0.0216485}{λ^2-0.0158650}-0.0101373λ^{2}