-
issue a travel home to travel home to drive a car with the minimum of cost yi us...
旅行家问题 一个旅行家想驾驶汽车以最少的费yi 用从一个城市到另一个城市(假设出发时油箱是空的)。给定两个城市之间的距离为D1、汽车油箱的容量为C(以升为单位),每升汽油能行驶的距离为 D2,出发点每升汽油价格P和沿途油站数N(N可以为零),油站i离出发点距离Di,每升汽油价格Pi(i=1,2...N)。计算结果四舍五入至小数点后两位。 如果无法到达目的地,则输出“No Solution"。-issue a travel home to travel home to drive a car with the minimum of cost yi used from one city to another city (assuming starting at the fuel tank was empty). Given the two cities for the distance between D1, car fuel tank capacity of the C (in liters) per liter petrol traveling distance to the D2, the starting point liter gasoline prices P and several petrol stations along the N (N can be zero), PFS i distance from the starting point Di per liter Steam oil prices Pi (i = 1,2 ... N). Calculation results rounded to two decimal places. If unable to reach their destination, the export of "No Solution."
- 2023-09-07 00:25:03下载
- 积分:1
-
常用算法的C程序。主要内容包括多项式的计算、复数运算、随机数的产生、矩阵运算、矩阵特征值与特征向量的计算、线性代数方程组的求解、非线性方程与方程组的求解、插值与
常用算法的C程序。主要内容包括多项式的计算、复数运算、随机数的产生、矩阵运算、矩阵特征值与特征向量的计算、线性代数方程组的求解、非线性方程与方程组的求解、插值与逼近、数值积分、常微分方程组的求解、数据处理、极值问题的求解、数学变换与滤波、特殊函数的计算、排序和查找。-Commonly used algorithm of C procedures. Include polynomial terms, complex computation, random number generation, matrix operations, matrix eigenvalue and eigenvector calculations, linear algebra equations, nonlinear equations with the equations, interpolation and approximation, numerical integration, solving ordinary differential equations, data processing, for solving extremum problems, mathematical transformation and filtering, the calculation of special functions, sorting and search.
- 2022-05-01 03:01:58下载
- 积分:1
-
C++Bulider与Matlab的混合编程中的用C++Bulider来实现Matlab的技术文章
C++Bulider与Matlab的混合编程中的用C++Bulider来实现Matlab的技术文章-Bulider C and Matlab programming mixed with the C Bulider to achieve Ma tlab technical articles
- 2022-02-07 03:23:38下载
- 积分:1
-
实现玛雅两种日历之间的转换,只要输入case数和一种日历,就可得出另一种日历表示。...
实现玛雅两种日历之间的转换,只要输入case数和一种日历,就可得出另一种日历表示。-achieve Mayan calendar between the two conversion, as long as the imported case of a calendar and a few could come up with a calendar said.
- 2022-02-15 06:42:02下载
- 积分:1
-
机器人逆运动学求解
该程序是两关节自由度机器人的逆运动学求解,通过拉格朗日能量方法建立机器人的运动学方程,根据关节力矩可以计算出机器人的关节角,从而完成其逆运动学的求解过程.......
- 2022-03-03 02:48:52下载
- 积分:1
-
此程序计算任意数量的独立的基础架构能力的n次幂。
此程序计算任意数量的独立的基础架构能力的n次幂。
- 2023-02-01 08:20:04下载
- 积分:1
-
非负矩阵分解 (NMF) 和本地 NMF
两个上传的功能是 NMF 和 LNMF 算法的矩阵分解的流行方法的实现。
- 2022-02-12 09:15:30下载
- 积分:1
-
Have to obey N (0,1) distribution Subroutine (fortran)
产生服从N(0,1)分布的子程序(fortran)-Have to obey N (0,1) distribution Subroutine (fortran)
- 2023-02-01 20:20:04下载
- 积分:1
-
用初等相似变换将实矩阵约化为上H阵,即Hessen berg矩阵
用初等相似变换将实矩阵约化为上H阵,即Hessen berg矩阵-Using elementary similarity transformation will be about real matrix H into the matrix, that is, Hessen berg matrix
- 2022-03-05 18:16:40下载
- 积分:1
-
Delphi调用WMI读取USB设备的PID和VID
WMI(Windows®Management Instrumentation ) 非常强大,它可以以数据库的形式查询你的电脑的软件和硬件,在它的数据库里面,时刻保存着最新的软件信息和硬件信息,因此你可以用WMI来检测CUP 主频、温度,读取WINDOWS的进程.........
本文就介绍如何使用WMI读取USB设备的PID和VID码
- 2023-01-19 05:45:04下载
- 积分:1