文件名称:c
介绍说明--下载内容均来自于网络,请自行研究使用
(1)float型和double型变量所能表示的最小正数分别是多少?
(2)分析代码在时间足够的情况下是否能运行完,如果能给出n_f及n_d值。
(3)分别用float型和double型变量保存部分和Sk,递推计算(1)(见于实验七作业文件)式的值,并判定结果是否收敛?原因?理论分析及编程测试,给出收敛时得n值。
(4)设计求和算法,使用float型变量,使得收敛时n尽量大,部分和Sk尽量准确。
-(1) float and double variable can be represented by the smallest positive number is how much? (2) analysis of the code in enough time if run to completion, if you can give n_f, and n_d value. (3), respectively, with a variable of type float and double type to save part and Sk recursive calculation (1) (seen in the experimental value-seven job file), and to determine whether the result of convergence? Reasons? Theoretical analysis and programming test, given the convergence, when the value of n. (4) design summation algorithm, using a float variable, makes convergence n as large as possible, part as accurately as possible and Sk
(2)分析代码在时间足够的情况下是否能运行完,如果能给出n_f及n_d值。
(3)分别用float型和double型变量保存部分和Sk,递推计算(1)(见于实验七作业文件)式的值,并判定结果是否收敛?原因?理论分析及编程测试,给出收敛时得n值。
(4)设计求和算法,使用float型变量,使得收敛时n尽量大,部分和Sk尽量准确。
-(1) float and double variable can be represented by the smallest positive number is how much? (2) analysis of the code in enough time if run to completion, if you can give n_f, and n_d value. (3), respectively, with a variable of type float and double type to save part and Sk recursive calculation (1) (seen in the experimental value-seven job file), and to determine whether the result of convergence? Reasons? Theoretical analysis and programming test, given the convergence, when the value of n. (4) design summation algorithm, using a float variable, makes convergence n as large as possible, part as accurately as possible and Sk
(系统自动生成,下载前可以参看下载内容)
下载文件列表
c\c.cpp
c