代码搜索结果
找到约 5,431 项符合
Temperature 的代码
simulateannealing.asv
% 使用模拟退火法求函数 f(x,y)=5sin(xy)+ x^2 + y^2 的最小值,
% 根据题意,我们设计冷却表进度表为:
% 初温度为100
% 衰减参数为0.95
% 马可夫链长度为10000
% 使用Metropolis接受准则进行模拟,Metropolis的步长为0.02
% 结束条件为根据上一个最优解与最新的一个最优解的之差小于某个容差.
function
temp
class VolcanoRobot extends ScienceRobot {
String status;
int speed;
float temperature;
int power;
}
volcanorobot.java
class VolcanoRobot {
String status;
int speed;
float temperature;
void checkTemperature() {
if (temperature > 660) {
status = "returning home";
sa.m
% Main Program sa.m
Tinit=120; % Initial Simulated Temperature
l=0.98; % Temperature Decrement Parameter
Tfinal=0.00001; % Final Temperature
x=-1:0.1:1; % Computation and Display of objecti
convert.c
#include
void main()
{
char cmnd;
float inp;
do {
printf("\nPlease select functions:\n");
printf("1: Convert Celsius to Fahrenheit\n");
printf("2: Convert Fahrenheit to C
e922.m
%-------------------------------------------------------------------
% Example 9.2.2: Steady State Temperature
%-------------------------------------------------------------------
% Initialize
e791.m
%-----------------------------------------------------------------------
% Example 7.9.1: Change in Enthalpy
%-----------------------------------------------------------------------
clc
cle
ex6_1.m
%
% This program plots Si, Ge, and GaAs conductivities
% as a function of temperature as described in Example 6.1
%
% Copyright (c) 1999 by P.Bretchko and R.Ludwig
% "RF Circuit Design:
main.lst
C51 COMPILER V6.23a MAIN 12/19/2002 16:23:32 PAGE 1
C51 COMPILER V6.23a, COMPILATION OF MODULE MAIN
OBJECT MODULE PLACED IN m
least_square.f90
module datas
implicit none
integer, parameter :: N=5
real :: temperature(N) = (/5.0,10.0,15.0,20.0,25.0/) ! 记录温度
real :: length(N) = (/1.047,1.112,1.1152,1.191,1.252/)! 记录不同温度下的长度
real