用vb来求解切比雪夫多项式在某一点的函数值

前端之家收集整理的这篇文章主要介绍了用vb来求解切比雪夫多项式在某一点的函数值前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
Private Sub Command1_Click() [b]Dim T() As Integer Dim n%,x% n = Val(InputBox("输入序列数")) ReDim T(n) T(0) = 1 T(1) = x For n = 2 To n T(n) = 2 * x * T(n - 1) + T(n - 2) Next n For n = 0 To n - 1 Print T(n),If (n + 1) Mod 5 = 0 Then Print Next End Sub 原文链接:https://www.f2er.com/vb/258246.html

猜你在找的VB相关文章