form2.frm

来自「计算方法的VB程序」· FRM 代码 · 共 34 行

FRM
34
字号
VERSION 5.00
Begin VB.Form Form2 
   Caption         =   "Form2"
   ClientHeight    =   6765
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   5475
   LinkTopic       =   "Form2"
   ScaleHeight     =   6765
   ScaleWidth      =   5475
   StartUpPosition =   3  '窗口缺省
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Activate()
Print "计算所耗时间为:  "; tm; "秒"
Print
Print "Chebyshev多项式系数有:"; n; "项"
Print "具体系数如下:"
For i = 0 To n
Print i; ".  "; c(i)
Next
Print
Print "Chebyshev多项式计算在x0点的结果为:"; p
Print
Print "真实值为:f("; x0; ")="; f(x0)
Print "相对精度为:"
Print e
End Sub

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?