Hey watssup
As an assignment for my java programming class.. I did a program that calculated AFR with the formula that monochrome stated.
NMAFR = DAFR * MAFR / AAFR
To calculate AFR value for your tune. Just one single AFR value at a time. You could do this in excel as well.. is a fairly simple program or function.
You need to java JAVA environment installed other than that is not gonna work... i think.
http://java.com/en/download/index.jsp
This is the code in case you think I am being sneaky and sending you a virus:
import javax.swing.JOptionPane;
public class desiredAfr {
public static void main (String [] args){
double mafr;
do {
mafr=Double.parseDouble(JOptionPane.showInputDialo g("Enter your fuel map AFR: "));
double aafr=Double.parseDouble(JOptionPane.showInputDialo g("Enter your actual AFR: "));
double dafr=Double.parseDouble(JOptionPane.showInputDialo g("Enter your desired AFR: "));
double nmafr=(dafr*mafr)/aafr;
JOptionPane.showMessageDialog(null, "Your new AFR value: "+ String.format("%.2f",nmafr));
}
while(mafr != 0);
}
}
https://www.dropbox.com/s/hnj4gqnery...Calculator.zip
This is my dropbox link.. when you hit download it might ask you if you really want to download it.. it looks risky.. it only says that because I am sending you and Exectuable file... do not click on discard..just click on the litthe arrow next to it and click: keep.
![]()




Reply With Quote







Bookmarks