// Sound Velocity Equation 

function SoundVelocity(k, R, T){
	this.k = k;
	this.R = R;
	this.T = T;
}

// returns sound velocity
SoundVelocity.prototype.velocity = function(){
	return Math.pow(this.k * this.R * this.T,0.5); 
}

// returns input values
SoundVelocity.prototype.inputValues = function(){
	var msg = this.k + " " + this.R + " " + this.T;
	return msg;
}

// Copyright engineeringtoolbox.com