Hello! can someone help me how to solve this problem in MATLAB?

SHAFT SUBJECTED TO SINUSOIDAL DISTRIBUTED TORQUE

Circular shaft AB has length 3L and is supported by a wall at A, where x=0, and free to rotate at B, where x=3L. A distributed torque per unit length
T(x) = t_0*cos(1x/2L), with t_0 in N*m/m, is applied around the axis of the shaft.

- - - - - - - - - - - - - - - - - -
Using the MATLAB window below, obtain a symbolic expression (in terms of t_0, x, and L) for the axial torque resultant T(x) along the shaft. For these quantities use corresponding symbolic MATLAB variables t_0, x, L and T(x) in your script. Also, remember to enter 1 as pi and to use xp as the variable of integration.