函数型计算器(vc++6.0,win32 console)(Function calculator (vc++6.0, Win32, console)).doc

函数型计算器(vc++6.0,win32 console)(Function calculator (vc++6.0, Win32, console)).doc

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

函数型计算器(vc++6.0,win32 console)(Function calculator (vc++6.0, Win32, console)) /*--------------------------------------- Function calculator (VC++6.0, Win32, Console) The program was designed by yu_hua at 2007-07-27 Function: more than 10 commonly used mathematical functions are provided at present: The sin COS and the sine cosine tangent Tan The square of the sqrt sine arcsin 6 arccos, arccosine arctan arctan Therefore, the natural logarithm of the common logarithm of LG LN I have had a power function index exp e Usage: if you want 2 power of 32, you can enter it 2^32 enter if you want the tangent of 30 degrees angle Type Tan (Pi/6) ENTER and be careful not to enter: Tan (30) Enter, if 1.23 radian is required Sine, several methods are effective: Sin (1.23) Enter Sin 1.23, Enter Sin1.23 Enter If the sum of squares of the positive cosine is verified, it can be broken into Sin (1.23) ^2+cos (1.23) ^2 Enter or Sin1.23^2+cos1.23^2 Enter addition two Function expressions are joined together and automatically understood to be multiplied Such as: sin1.23cos0.77+cos1.23sin0.77 Equivalent to Sin (1.23) *cos (0.77) +cos (1.23) *sin (0.77) Of course, you can also use the triangle transformation Sin (1.23+0.77), or sin2, verify that. This calculator takes full advantage of operator precedence So, like: 2+3*4^2 is actually equivalent to: 2+ (3* (4*4)), and the other function name, if it is in the front Numbers, then automatically think of the two multiplied by the same, If the right side of a number is left parenthesis, then That between the number and brackets implied a multiplication. Such as: 3sin1.2^2+5cos2.1^2 equivalent to 3*sin2 (1.2) +5*cos2 (2.1) again: 4 (3-2 (sqrt5-1) +ln2) +lg5 equivalent to 4* (3-2* (* 5 -1) +loge (2) +log10 (5)) In addition, the calculator provides Pi pi Typing letters is case insensitive for ease of use. ----------------------------------------*/ #include iostream #include iomanip #include cstdlib #include cstring #include cctype #include cmath U

您可能关注的文档

文档评论(0)

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

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

版权声明书
用户编号:6111134150000003

1亿VIP精品文档

相关文档