function [y] = exam_2_function_2(x)

y = sin(x^3) + (1/(x + 2))*(cos(x))^2 - x;