Hi,
I've found for shear force
V= 32.38 - cos(pi x1/8)
and for moment
M = 32.38 x1 - integral of (x cos(pi x/8)dx) from 0 to x1
x1 is any point on the beam from 0 to 4
You may want to check...