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
---------------------------------
c(k,n)
= 阶乘(k)/( 阶乘(n) * 阶乘(n-k) )
给的东西太小,除下 阶乘 函数外,不知道是不是你所要的意思.