procedure TForm1.Button1Click(Sender: TObject);
var a:real;
i:integer;
begin
memo1.Clear;
for i:= strtoint(edit3.Text) to strtoint(edit4.Text) do
begin
a:= strtoint(edit2.Text)*exp(strtoint(edit1.Text)*(1/(273.15+i)-1/298.15)) ;
memo1.Lines.Add(inttostr(i)+' '+copy(floattostr(a),1,6));
end;
Tt:侍测量的温度+绝对温度273.15
Rt:侍测温度下的阻值
Tn:常温25度+273.15
Rn:常温下的阻值
procedure TForm1.Button1Click(Sender: TObject);
var a:real;
i:integer;
begin
memo1.Clear;
for i:= strtoint(edit3.Text) to strtoint(edit4.Text) do
begin
a:= strtoint(edit2.Text)*exp(strtoint(edit1.Text)*(1/(273.15+i)-1/298.15)) ;
memo1.Lines.Add(inttostr(i)+' '+copy(floattostr(a),1,6));
end;
一周热门 更多>