You can put this solution on YOUR website! P(1+(r/2))^2 this is an expression not an equation.
p represents principal $5,670.
r is rate so r should equal 3.5% or 0.035
5670(1 + .035/2)^2
=5670(1 + .0175)^2
=5670(1.0175)^2
=5670*1.0353...
=~$5870.19
.
Ed