下列事件过程的功能是:建立一个名为Datal的随机文件,存放角度值及这些角度的正弦函数值和余弦函数值,角度为1,2,3,…,90。请在空白处填入适当的内容,将程序补充完整。Private Type AngK As IntegerSinx As SingleCosx As SingleEnd TypeDim Ksc As AngPrivate Sub Form_Click()Dim Y As SingleOpen 【14】Y=3.14159 / 180For I=1 To 90Ksc.K=IKsc.Sinx=Sin(I * Y)Ksc.Cosx=Cos(I * Y)【15】Next IClose #2End Sub

下列事件过程的功能是:建立一个名为Datal的随机文件,存放角度值及这些角度的正弦函数值和余弦函数值,角度为1,2,3,…,90。请在空白处填入适当的内容,将程序补充完整。

Private Type Ang

K As Integer

Sinx As Single

Cosx As Single

End Type

Dim Ksc As Ang

Private Sub Form_Click()

Dim Y As Single

Open 【14】

Y=3.14159 / 180

For I=1 To 90

Ksc.K=I

Ksc.Sinx=Sin(I * Y)

Ksc.Cosx=Cos(I * Y)

【15】

Next I

Close #2

End Sub


相关考题:

(12)下列事件过程的功能是:建立一个名为Datal的随机文件,存放在角度值及这些角度的正炫函数值和余弦函数值,角度为1,2,3···,90.请在空白处填上合适的代码,将程序补充完整。 Pivate Type Ang K As Integer Sinx As Single Cosx As Single End Type 定义Ang类型的变量Ksc Pivate Sub Form_Click() Dim Y As Single Open "C:\Datal.txt"For Random As#1 Len=10 Put#1,1,Ksc Y=3.14159/180 For i=1 To 90 Ksc.K=i _______=Sin(i*Y)给变量Ksc的正弦函数值赋值 Ksc.Cosx=Cos(i*Y) Next i Close#1 End Sub

(35)下列事件过程的功能是:建立一个名为Datal的随机文件,存放角度值及这些角度的正炫函数值和余弦函数值,角度为1,2,3…,90。请在空白处填入适当的内容,将程序补充完整 Pivate Type Ang K As Integer Sinx As Single Cosx As Single End Type Dim Ksc As Ang Private Sub Form_Click() Dim Y As Single Dim i As Integer Dim Ksc As Ang Open______________ Y=3.14159/180 For i=1 To 90 Ksc.K=i Ksc.Sin=Sin(i*Y) Ksc.Cosx=Cos(i*Y) Next i Close#1 End SubA."‥\Datal.txt"For Random As#1 Len=10 Put#1,i,KscB."‥\Datal.txt"For Random As#1 Len=10 Put#1,Y,KscC."‥\Datal.txt"For Random As#1 Put#1,i,KscD."‥\Datal.txt"For Random As#1 Put#1,Y,Ksc

(34)下列事件过程的功能是:建立一个名为Data1的随机文件,存放角度值及这些角度的正弦函数值和余弦函数值,角度为1,2,3,…,90。请在空白处填入适当的内容,将程序补充完整。 Private Type Ang K As Integer Sinx As Single Cosx As Single End Type Dim Ksc As Ang Private Sub Form_Click() Dim Y As Single Dim i As Integer Dim Ksc As Ang Open Y=3.14159/180 For i=1 To 90 Ksc.K=i Ksc.Sinx=Sin(i*Y) Ksc.Cosx=Cos(i*Y) ___________ Next i Close #2 End SubA."‥\Datal.txt"For Random As#1 Len=10 Put#1,i,KscB."‥\Datal.txt"For Random As#1 Len=10 Put#1,Y,Ksc C."‥\Datal.txt"For Random As#1 Put#1,i,KscD."‥\Datal.txt"For Random As#1 Put#1,Y,Ksc

下列有关PET断层重建获取投影的描述正确的是A、采集过程中,PET连续只记录所有符合线上的真符合事件B、符合事件按角度重组,一个角度的投影对应一个矩阵单元的数据C、矩阵的行号对应符合线的径向距离D、矩阵的列号对应符合线的角度E、正弦图的横坐标是径向距离

在名为Form1的窗体上绘制一个文本框,名为Text1,其宽度为1000;再绘制一个水平滚动条,名为HS1。其刻度值的范围是1000~2000。请编写滚动条的Change事件过程,使程序运行后,若移动滚动框,则可按照滚动条的刻度值改变文本框的宽度。运行时的窗体如下图所示。注意:程序中不能使用任何变量,事件过程中只能写一条语句;文件必须存放在考生文件夹中,工程文件名为execise70.vbp,窗体文件名为execise70.frm。

下列事件过程的功能是:建立一个名为Data1的随机文件,存放角度值及这些角度的正弦函数值和余弦函数值,角度为1,2,3,…,90。请在空白处填入适当的内容,将程序补充完整( )。Private Type AngK As IntegerSinx As SingleCosx As SingleEnd TypeDim Ksc As AngPrivate Sub Form_Click()Dim Y As SingleDim i As IntegerDim Ksc As AngOpen______Y=3.14159/180For i=1 To 90Ksc.K=iKsc.Sinx=Sin(i*Y)Ksc.Cosx=Cos(i*Y)Next iClose #2End SubA...\Data1.txtFor Random As #1 Len=10 Put#1,i,KscB...\Data1.txtFor Random As #1 Len=10 Put#1,Y,KscC...\Data1.txtFor Random As #1 Put#1,i,KscD...\Data1.txtFor Random As #1 Put#1,Y,Ksc

下列事件过程的功能是:建立一个名为Datal的随机文件,存放角度值及这些角度的正弦函数值和余弦函数值,角度为1,2,3,…,90。请在空白处填入适当的内容,将程序补充完整。 Private Type Ang K As Integer Sinx As Single Cosx As Single End Type Dim Ksc As Ang Private Sub Form_Click() Dim Y As Single Dim i As Integer DimA...\Data1.txtFor Random As #1 Len=10 Put #1,i,KscB...\Data1.txtFor Random As #1 Len=10 Put #1,Y,KscC...\Data1.txtFor Random As #1 Put #1,i,KscD...\Data1.txtFor Random As #1 Put #1,Y,Ksc

有关PET断层重建获取投影的描述正确的是( )A、采集过程中,PET连续只记录所有符合线上的真符合事件B、符合事件按角度重组,一个角度的投影对应一个矩阵单元的数据C、矩阵的行号对应符合线的径向距离D、矩阵的列号对应符合线的角度E、正弦图的横坐标是径向距离

19、请指出下列哪一个不是函数A.角度对应该角的正弦值B.整数集合对应该整数与0的距离C.角度对应该角的正切值D.学生对应学号