summaryrefslogtreecommitdiff
path: root/73/CH2/EX2.11/Example2_11.sci
blob: 8c2e03a8306223b4572bbc4dd45957ba73717ea3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Chapter 2_Thick Film and Thin Film Hybrid ICs
//Caption : Ratio
//Example2.11: Two thin resistor are measured at 50 degree celcius and 100degree celsius and are found to have the following values:
//Temperatur(degree C)                Ra(ohm)           Rb(ohm)
//      50                              50                100
//      100                             51                102.1
//Calcullate the ratio TCR in ppm/degree celcius.
//Solution: 
function TCR= ratio(Rat1,Rbt1,Rat2,Rbt2,T1,T2)
    TCR=(Rat2/Rbt2-Rat1/Rbt1)*10^6/((Rat1/Rbt1)*(T1-T2))
    disp('ratio TCR is=")// iinclude ";" at the time of calling the function at last
    disp('ppm/degree Celsius',TCR)//ppm: part per million
endfunction
//ratio(100,50,102.1,51,100,50);