From Mineo Yamauchi:
Linear Calibrator is to be used for a linear data converter such as Celsius to Fahrenheit Converter, and data correction for experimental data.Suppose that two kinds of data, X and Y, are linear relation and that the data of two points, (X1, Y1) and (X2, Y2), are known. The data of arbitrary point is calculated from the following formulae.YY2 - Y1xX-X1/X2 - X1 Y1XX2 - X1xY-Y1/Y2 - Y1 X1This software is a simple sheet to execute the above calculation. (Example-1) Celsius to Fahrenheit ConverterChange 25-degree Centigrade into Fahrenheit.Linear Calibrator solves this in the following three steps.//Step 0: Preparation//Prepare calibration data.They are as follows.P1 0 degC 32 degFP2 100 degC 212 degF//Step 1: Definition//Enter the calibration data into the sheet.NameX = degC, NameY = degF X1 = 0, Y1 = 32X2 = 100, Y2 = 212 //Step 2: Calculation//Enter 25-degree Centigrade to degC data field.Touch out P button of degC data field.Converted data, 77.0-degree Fahrenheit, is displayed in the degF data field.In case of sequential conversion, DX button can be used.For example, conversions from 30, 35, 40, 45, 50, are as follows.Increment is 5.Enter 5 in DX text.Touch out the +DX button. Converted data, 86.0 -degree Fahrenheit corresponding to 30 (=20+5) , is displayed in the degF data field.When the +DX button is touched out continuously, the next conversion can be obtained. (Example-2) Data correction for experimental dataIt is known that the oxygen gas concentration (%) and the oxygen sensor output (mV) have a linear relationship. We have calibrated the oxygen sensor at the following two points.P1 0 % 2 mV P2 21 %21 mV When the oxygen sensor output is 4 mV, how much percent is the exact oxygen gas concentration?//Step 0: Preparation//Prepare calibration data.They are as follows.P1 0 %2 mV P2 21 %21 mV //Step 1: Definition//Enter the calibration data into the sheet.NameX = %, NameY = mV X1 = 0, Y1 = 2X2 = 21, Y2 = 21 //Step 2: Calculation//Enter data to the mV data field and touch out P button of this field.The 2.21 % of exact gas concentration data is displayed.C button clears data, and enables to calculate next data.[Buttons]//P button// P (put) button inputs data and execute calculation.When the data field is blank, it is interpreted as illegal data.When the data field is illegal character, it is interpreted as zero value.//-DX button//The -DX button subtracts DX value from X value, executes the P button.//+DX button//The +DX button adds DX value to X value, executes the P button.//-DY button//The -DY button subtracts DY value from Y value, executes the P button.//+DY button//The +DY button adds DY value to Y value, executes the P button.//C button//C (Clear) button clears data.[Color change]After the P button execution, data are shown in the following colors.Input data:Blue colorOutput data:Green colorUncalculated data:Red colorThe uncalculated data is not output. The former data is remains unchanged in this data field.
What's new in this version:
Updated for iOS9 and the new SDK of Xcode7.Modified to hide keyboard with return key.