Egshiglen Bat-Erdene wrote
> I have a quetionabout function on matrices. Its a homework
> The question is
> Write a function that applies the function 2(sinx)^2 +1 to every second
> column of a matrix.
The exercise is quite clear, so what is your actual question about it?
You do not expect us to solve it for you, do you?