- 1、本文档共16页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 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
您可能关注的文档
- 个人专业技术工作总结_爱问知识人(Personal professional and technical summary of the work _ Iask).doc
- 个人基层工作科科长个人总结(Individual grass-roots work section chief personal summary).doc
- 个人事迹1(Personal story 1).doc
- 个人与组织匹配研究现状与展望管理(Current situation and prospect management of individual and organization matching).doc
- 个人独资企业、合伙企业个人所得税税前扣除办法(Pre tax deduction of individual income tax for individual proprietorship enterprises and partnership enterprises).doc
- 个人半年总结(我自己的,宣传部门文化干事)(Personal semi annual summary (my own, publicity department, cultural officer)).doc
- 个人气场的形成和提升管理(Formation and promotion management of personal Aura).doc
- 个人职业能力提升计划-教师工作计划(Personal career advancement program - teacher work plan).doc
- 个股期权考试要点(一级)(Stock option examination points (Level 1)).doc
- 个(individual).doc
- 刻画大师(Portray master).doc
- 剑魂精细论().doc
- 剪草机的使用(The use of lawn mowers).doc
- 功夫熊猫经典台词(Kung Fu Panda classic lines).doc
- 功夫熊猫(Kung Fu Panda).doc
- 加工小尺寸内螺纹常出现的问题及解决办(Problems and solutions to the machining of small sized internal threads).doc
- 加工贸易(Improvement trade).doc
- 加强人力资源管理提高人力投资效益(Strengthening human resource management to improve human investment efficiency).doc
- 加强农业综合开发工作(Strengthen agricultural comprehensive development work).doc
- 加工中心几何精度检验标准的研究(Research on geometric precision inspection standard of machining center).doc
文档评论(0)