计算机营养(Computer nutrition).doc

  1. 1、本文档共34页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
计算机营养(Computer nutrition)

计算机营养(Computer nutrition) 1~~~A The form form1 is designed. There are command buttons command1 and combo box Combo1 in the form. When you click the command button, you calculate the following Series and S, when the first occurrence and the number S is greater than 5000, terminate the sum, and show the results in combo1. 1 x 2, -2 * 3,3 * 4, -4 * 5,... (-1) ^ (n-1) * n * (n+1),... (of which ^ represents power operations) ~ Five thousand two hundred and two Commend1 S=0 N=1 Do while s=5000 S=s+ (-1) ^ (n-1) *n* (n+1) N=n+1 Enddo Tbo1.additem (STR (s)) 2~~~A The form form1 is designed. There are command buttons command1 and text box text1 in the form. When you click the command button, you calculate the following The sum of the first 50 items of a sequence (set x=2.5, which takes 4 decimal places). The results are shown in text1. Sin (x), /x, sin (2x), /x^2, sin (3x) /x^3,...... Sin (n * x) /x^n,...... (of which sin is a sine function and ^ means power operations) ~ Zero point one three two nine Commend2 S=0 X=2.5 For n=1 to 50 S=s+sin (x*n) /x^n Endfor Thisform.text1.value=str (s, 10,4) ~3~~A The form form1 is designed. There are command buttons command1 and edit box Edit1 in the form. When you click the command button, you calculate the following The sum of the first 35 of a series (the result is 4 decimal places). The results are shown in edit1. 1/3, 3/5, 5/7, 7/9, 9/11, 11/13, 13/15,...... (2n-1) / (2n+1) ~ Thirty-one point four five two nine Commend3 S=0 For n=1 to 35 S=s+ (2*n-1) / (2*n+1) Endfor Thisform.edit1.value=str (s, 10,4) 4~~~A The design form form1 has the command button command1 in the form, an edit box Edit1 and a text box text1, in Edit1 Enter the following: The authors would like to sincerely thank series editor David Chappell For, his, invaluable, assistance, in, reviewing, several, early, drafts, of,, the, manuscript, and, providing Unwavering, clarity, and, vision, during, rewrites, to, major, guide, the, book,, toward, its, current, form. We, wo

您可能关注的文档

文档评论(0)

jgx3536 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:6111134150000003

1亿VIP精品文档

相关文档