y=lab.sin(x) returns the sine of the elements of x.