Public Function 阶乘(cs As Long) As Double
'N!
cs = Int(cs)
If cs = 1 Then
阶乘 = 1
Else
阶乘 = cs * 阶乘(cs - 1)
End If
End Function
---------------------------------
F(K) ,此函数不知道是什么内容
--------------------------------
Public Function F累加(cs As Long) As Double
'∑F(1-k)
Dim i As Long
For i = 1 To cs
F累加 = F累加 + f(i)
Next i
End Function
---------------------------------