Private Sub Command1_Click()
x = Text1.Text
s = 1
a = 1
Do
k = k + 1
a = a * -1 * x ^ 2 / ((2 * k - 1) * (2 * k))
s = s + a
Loop Until Abs(a) < 10 ^ -6
Text2.Text = s
End Su
Private Sub Command1_Click()
x = Text1.Text
s = 1
a = 1
Do
k = k + 1
a = a * -1 * x ^ 2 / ((2 * k - 1) * (2 * k))
s = s + a
Loop Until Abs(a) < 10 ^ -6
Text2.Text = s
End Su