-
最优化算法,包括各种线性优化和非线性优化问题
最优化算法,包括各种线性优化和非线性优化问题-Optimization algorithms, including linear optimization and nonlinear optimization problems
- 2023-08-18 20:45:04下载
- 积分:1
-
顺序的Gauss消去法
Gauss消去法程序顺序高斯消去法是求解联立线性代数方程的流行方法,许多算法都来自这个方法。这个方法是通过一系列操作实现将增广矩阵简化成上三角矩阵,向量b在这个过程中也被修改,由回代过程得到解向量下x,消去和回代步骤如下:aij=aij-(aik/akk)*akj,k=0,1,2,3,...,(n-2);akk!=0i=(k+1),(k+2),...,(n-1) j=k,(k+1),..,nxn-1=a(n-1)n/a(n-1)(n-1)
- 2022-03-29 00:57:01下载
- 积分:1
-
正整数x 的约数是能整除x 的正整数。正整数x 的约数个数记为div(x)。例如,1,2,5,10 都是正整数10 的约数,且div(10)=4。设a 和b 是...
正整数x 的约数是能整除x 的正整数。正整数x 的约数个数记为div(x)。例如,1,2,5,10 都是正整数10 的约数,且div(10)=4。设a 和b 是2 个正整数,a≤b,找出a 和b之间约数个数最多的数x。
对于给定的2 个正整数a≤b,编程计算a 和b 之间约数个数最多的数。
数据输入
输入数据由文件名为input.txt的文本文件提供。文件的第1 行有2 个正整数a和b。
结果输出
程序运行结束时,若找到的a 和b 之间约数个数最多的数是x,将div(x)输出到文件output.txt中。
输入文件示例 输出文件示例
input.txt output.txt
1 36 9
-Positive integer x can be about a few of the positive integer x divisible. Positive integer x the approximate number recorded as the number of div (x). For example, 1,2,5,10 are about 10 positive integer number, and div (10) = 4. Set a and b are two positive integers, a ≤ b, to find a and b between about a few number of the largest number of x. For a given two positive integers a ≤ b, Programming calculated a and b between about a few number of the largest number. Data entry input data from the document text file named input.txt provide. File line 1 has two positive integers a and b. The results run the end of the output, if found between a and b of about a few number o
- 2023-04-13 05:20:03下载
- 积分:1
-
此程序是一个加,减,乘,除的算法.
此程序是一个加,减,乘,除的算法.-This procedure is an add, subtract, multiply, with the exception of the algorithm.
- 2022-07-22 17:35:49下载
- 积分:1
-
在MATLAB环境下的强大计算能力的书强调枫…
本书重点介绍了MATLAB环境下Maple强大的计算能力,以解决科学计算中的数值问题
- 2023-02-06 17:45:05下载
- 积分:1
-
计算光子晶体能带的程序,用matlab编写,比较容易理解!
计算光子晶体能带的程序,用matlab编写,比较容易理解!-photonic crystals can be calculated with the procedures used Matlab to prepare, easier to understand!
- 2022-01-23 10:31:53下载
- 积分:1
-
Algebra book
您提交的代码通过审核后您才能获得积分,只有内容真实实用,描述详细的源代码才能通过审核。请认真填写以下信息
- 2022-12-19 13:15:03下载
- 积分:1
-
全自主足球机器人运动控制系统的研制
资源描述在Matlab.Simulink环境下对机器人的运动控制系统进行建模和仿真分析,详细
阐述了在Matlab.Simulink环境下建立各仿真模型的步骤,测试Fuzzy.BPNN.PID复
合控制电机调速算法以及基于速度补偿控制器的四轮解耦算法的可行性。最终在以
$3C2440A和4块dsPIC为控制芯片的硬件平台上对控制算法进行了嵌入式实现,并
通过实物实验表明机器人能够较为快速、精确、可靠地跟随期望轨迹,完全能满足
全自主机器人足球比赛的要求。
- 2022-03-11 22:40:04下载
- 积分:1
-
python 实现用遗传算法优化神经网络权重
神经网络的训练过程中,使用遗传算法来优化神经网络的权重,用于寻找全局最优权重
- 2022-04-27 13:11:45下载
- 积分:1
-
牛顿插值方法的计算机实现程序
牛顿插值方法的计算机实现程序-Newton interpolation method of computer procedures
- 2023-01-09 17:30:03下载
- 积分:1