CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - 数值计算;vc
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - 数值计算;vc - List
[
Mathimatics-Numerical algorithms
]
vc实现的数值计算
DL : 2
用vc++实现的科学与工程数值计算算法
Date
: 2010-04-27
Size
: 2.28mb
User
:
iamlawyer
[
Windows Develop
]
VC计算器
DL : 1
VC计算器 功能 1、完成了实验要求的所有内容 2、可以连续输入运算,对于输入的表达式能够按算符优先级进行处理。如输入2+3*2时,输出为8,而不是10 3、可以处理含括号的表达式 4、十六进制、八进制、二进制可以双字、单字和字节三种长度进行处理 5、科学计数法表示,当输入值或者计算结果超过10^16时会自动以科学计数法表示 6、增加了科学计算器的一些设施,如退格键,清空与归零键,求阶乘,π,求Ln,求双曲函数等 7、可以使用键盘快捷键 8、错误提示 使用 1、Sin、Cos、Tan、Log、Mod、阶乘、指数、对数等运算先输入数值再按相应键计算 2、Hyp与Sin、Cos和Tan配合,选中为计算双曲函数 3、Inv可与三角函数、指数、对数等键配合,选中为计算反三角函数、开方、指数应算 4、Log应算以10为底,Ln应算以e为底 5、CE为清空当前值,C为全部清空 6、MC:清空存储数据;MR:调出存储数据;MS:保存当前数据;M+:将当前数据累加到已存储的数据中
Date
: 2012-06-19
Size
: 5.19mb
User
:
yuemaxl@163.com
[
VC/MFC
]
vc
DL : 0
编写函数fun,功能是:根据以下攻势计算s,计算结果作为函数值返回;n通过形参传入。S=1+1/(1+2)+1/(1+2+3)+…….+1/(1+2+3+4+……+n) -Write the function fun feature: according to the following offensives s, calculated as a function value returns incoming n formal parameters. S = 1+1/(1+2)+1/(1+2+3)+ .......+1/(1+2+3+4+ ......+n)
Date
: 2025-07-09
Size
: 2kb
User
:
banxia
[
VC/MFC
]
FenZhiFaQiuZhongSHU
DL : 0
17088 分治法求众数(必做) 时间限制:1000MS 内存限制:65535K 提交次数:0 通过次数:0 题型: 编程题 语言: G++ GCC VC JAVA Description 给定含有n个元素的多重集合S,每个元素在S中出现的次数称为该元素的重数。多重集S中重数最大的元素称为 众数。例如,S={1,2,2,2,3,5}。多重集S的众数是2,其重数为3。 求众数方法很多,现要求你用分治算法来试一试,并分析其效率。 编程任务:对于给定的由n个自然数组成的多重集S,采用分治算法编程计算S的众数及其重数。 输入格式 第1行多重集S中元素个数n;接下来的一行为集合S,有n个自然数。( n < 100000 ) 输出格式 结果输出:输出2个数,第1个数为众数,第2个为其重数。 当有多个同样重数的众数,优先输出数值更小的众数。 输入样例 6 1 2 2 2 3 5 输出样例 2 3 -17088 divide and conquer method the modal number (will do) Time limit: 1000MS Memory Limit: 65535K Submit: 0 Passes: 0 Questions: Programming language title: G++ GCC VC JAVA Description Given n elements containing multiple set S, the number of each element appears in the S called the multiplicity of the element. Multiple sets the maximum number of S in heavy elements called Plural. For example, S = {1,2,2,2,3,5}. Majority of multiple sets of S is 2, its weight is three. Many seek the mode method, you are now required to use the divide and conquer algorithm to try and analyze their efficiency. Programming tasks: for a given by n natural numbers consisting of multiple sets S, using all programmed to calculate the number of divide and conquer algorithm S and multiplicity. Input format The first line multi-set number of elements in S n an act the next set S, there is a natural number n. (N <100000) Output Format Results output: 2 number, the first number
Date
: 2025-07-09
Size
: 263kb
User
:
罗家全
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.