(Java)科学型计算器的开发与实现

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

淮北师范大学

科学型计算器的开发与实现

学院计算机科学与技术

专业计算机科学与技术(师范)

学生姓名

学号

指导教师姓名

年月日

科学型计算器的开发与实现

作者:

指导教师:

摘要:目前,科学计算器的应用非常广泛,从科研、生产、国防、文化、卫生、直到家庭生活,都离不开科学计算器的服务。通过使用科学计算器,避免了人工运算的繁琐,以及人工运算可能带来的较大误差和运算错误,给人们的运算带来了极大的方便。

这篇文章主要介绍用软件的方法实现科学计算器系统,包括:科学计算器系统的概述,科学计算器系统的开发原理和主要实现的功能,子模块的设计和实现技术。其中,重点介绍了对话框、控件的使用,不调用库函数,通过计算方法的原理来实现函数计算。

本系统需要实现以下功能:加、减、乘、除、余运算、倒数、乘方运算、开方运算、幂运算、对数运算、指数运算、正弦函数运算、余弦函数运算、正切函数运算、余切函数运算、反正弦函数运算、反余弦函数运算、反正切函数运算、反余切函数运算、排列组合运算和弧度与角度之间的转换,能输入正负数、小数,具有清零、退格功能,具有连续运算的能力。

关键词:对话框;控件;计算方法

Development and implementation of scientific

calculator

Candidate:

Supervisor: Associate Professor

Abstract:Currently, the application of scientific calculator is very extensive. It can not be get away from the service of scientific calculator in the field of research, production, national defense, culture, hygiene, even family life. By using scientific calculator, the tedious artificial operation, the larger errors and operational mistakes, which are caused by artificial operation, can be avoided. It brings much convenience to people's operation.

This article mainly introduces a scientific calculator system implementing from the perspective of software. It includes the overview and developmental principle of scientific calculator system. It also contains the primary functions, which have been implemented, the design and implemental technology of sub-modules. Among them, it forces on introducing the usage of dialog box and controls as well as the implementation of mathematic function without using library function, but computing method.

The system needs to achieve the following functions : adds, subtracts, multiplies, divides, the remainder operation, the countdown operation,radicand, power calculation, the log and index calculation, the operation of sine function, cosine function, tangent function, cotangent function, arc sine function, arc cosine function , arc tangent function and arc cotangent function, permutations and combinations operation, the conversion between radian and angle, the capability of inputting decimal, positive and negative numbers, the reset and backspace function, continuous operational capacity.

Key words: Dialog box; Controls; Computing method

目录

引言............................................................

1 科学型计算器系统概述 (1)

1.1设计科学型计算器系统的背景 (1)

1.2科学型计算器的发展史 (1)

2系统需要 (2)

2.1设计分析 (2)

2.1.1可行性分析 (2)

2.1.2需求分析 (2)

2.2开发环境 (2)

2.2.1运行环境 (2)

2.2.2开发工具 (2)

2.2.3关于visual c++ 6.0 (2)

3系统设计 (3)

3.1功能说明 (3)

3.1.1系统总体功能分析 (3)

3.1.2系统功能 (3)

3.2系统大概 (3)

3.2.1设计思路 (3)

3.2.2计算器运算流程图 (3)

4系统的实现.................................. .. (4)

4.1窗口的设计 (4)

相关文档
最新文档