I am trying to write the math for afr error on a double stoich tune to set up a ve afr error histogram
Does it look right see photo
100x(AFR-command*.5)/(command*.5)
So first would be the afr command x 50% or .5 because command is double. next afr - your newly halved command. Then x 100 and Divided by halved command to get percentage.