y=mx+b
OR
which is the same thing in different form.Code:Y-Y0 Y1-Y0 ---- = ----- X-X0 X1-X0
hello fellow Mather.
Y= m * x + b
m = ((y2-y1) / (x2 - x1))
solve for m; plug in y0 and x0 for one point; solve for b; plug back into original equation; you now have a scale block
Describe how you would perform a 2-point linear calibration of a PLC analog input? The scaling is calculated in PLC ladder.
... Scaling is a separate issue altogether, and I assume that you already know how to do that.
y=mx+b
OR
Code:Y-Y0 Y1-Y0 ---- = ----- X-X0 X1-X0
which is the same thing in different form.
Admittedly math is my worst subject ...
^miles
| /
80+ x
| /
| /
| /
| /
40+ x
| /
| /
| /
|/
0-+----+----+----->hours
0 1 2
Yosceola - Ygary 80mi - 0mi 80mi
speed = ---------------- = ---------- = ---- = 40mph
Xosceola - Xgary 2h - 0h 2h
Ylaporte - Ygary Ylaporte - 0mi
speed = ---------------- = -------------- = 40mph
Xlaporte - Xgary 1h - 0h
Yosceola - Ygary 280mi - 200mi 80mi
speed = ---------------- = ------------- = ---- = 40mph
Xosceola - Xgary 7h - 5h 2h
Ylaporte - Ygary Ylaporte - 200mi
speed = ---------------- = ---------------- = 40mph
Xlaporte - Xgary 6h - 5h
I.e. because the original question is specifically about a linear process, and that is the fundamental equation that expresses all linear processes.how do you come up with the above formula from the question “Describe how you would perform a 2-point linear calibration of a PLC analog input? The scaling is calculated in PLC ladder.”

4 tubes
-------
8 people
= (4/8) tube/person
= (1/2) (tube/person)
= 0.5 (tube/person)
Case 1 is 24 persons
Case 0 is 24 persons
X1 = 24persons
Y1 = 12tubes, the number of tubes required to feed 24 persons
X0 = 8persons
Y0 = 4tubes, the number of tubes required to feed 8 persons
Y1 - Y0
------- =
X1 - X0
12tubes - 4tubes 8 tubes 1 tube
--------------------- = --- ------ = - ------ = 0.5 tube/person
24persons - 8 persons 16 persons 2 persons
X1 = 8persons
Y1 = 4tubes to feed 8 persons (X1)
X0 = 0persons
Y0 = 0tubes to feed 0 persons (X0)
Y1 - Y0
------- =
X1 - X0
4tubes - 0tubes 4 tubes
--------------------- = --- ------ = 0.5 tube/person
8persons - 0persons 8 persons