blob: 67a9c714d2dc0925aaff64c95c7f4d9abd59b1de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
//===========================================================================
//chapter 1 example 4
clc;
clear all;
//variable declaration
T1 = 200; //Tempperature in °C
T2 = 225; //Tempperature in °C
R1 = 305; //Resistance in Ω
R2 = 310; //Resistance in Ω
//calculations
S = (R2-R1)/(T2-T1); //dr/dt in per °C
//result
mprintf("measurement sensitivity S = %3.2f Ω per °C",S);
//==========================================================================
|