Question 912970
! has other meaning
Use [n] for subscripts

s[n]^2
Is this what you mean?
{{{s[n]^2 = 2*r^2 - r*sqrt( 4r^2 - s[n]^2 )}}}