-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
I'm curious why you are dividing by 3 on these 2 lines:
float slope = (7.0 - 4.0) / ((this->_neutralVoltage - 1500.0) / 3.0 - (this->_acidVoltage - 1500.0) / 3.0); // two point: (_neutralVoltage,7.0),(_acidVoltage,4.0)
float intercept = 7.0 - slope * (this->_neutralVoltage - 1500.0) / 3.0;
Shouldn't the slope simply be (y2-y1) / (x2-x1)?
I'm using a BlueLab rig to compare my results and having some fairly large discrepancies. My biggest problem is I cannot say for certain that my BlueLab is correct.
Metadata
Metadata
Assignees
Labels
No labels