// ACFM Equation 

function ACFM(scfm, pstd, pact, psat, phi, tact, tstd){
	this.scfm = scfm;
	this.pstd = pstd;
	this.pact = pact;
	this.psat = psat;
	this.phi = phi;
	this.tact = tact;
	this.tstd = tstd;
}

// returns ACFM
ACFM.prototype.getACFM = function(){
	return this.scfm * (this.pstd / (this.pact - (this.psat * this.phi)))*(this.tact / this.tstd); 
}

// returns input values
ACFM.prototype.inputValues = function(){
	var msg = this.c + " " + this.q + " " + this.dh;
	return msg;
}

// Copyright engineeringtoolbox.com