吸気同調回転数計算君
[inline]
[script language="JavaScript"]
function _Intekesyc()
{
line = “—————————————————-
“;
var str;
var vol1;
var vol2;
// 基本情報
var onsoku = 340.29 + (parseFloat(document.in_sym.temp.value) * 0.6);
var intekeBoav = Math.pow(parseFloat(document.in_sym.IntekeBoa.value),2)*Math.PI/400;
vol1 = (onsoku/(2*Math.PI)) * (parseFloat(document.in_sym.cam.value)/360) * Math.pow(((intekeBoav/1000000)/((parseFloat(document.in_sym.intekeDist.value)/1000)*(parseFloat(document.in_sym.vol.value)/100000000))),0.5);
str = “吸気温度: " + document.in_sym.temp.value + " ℃.
“;
str += “吸気管内の音速: " + Math.round( onsoku*100 ) / 100 + " m/s
“;
str += “カム作用角: " + document.in_sym.cam.value + " 度.
“;
str += “吸気管の平均径: " + document.in_sym.IntekeBoa.value + " mm.
“;
str += “吸気管の長さ: " + document.in_sym.intekeDist.value + " mm.
“;
str += line;
str += “▼計算結果
“;
str += “同調周波数: " + Math.round(vol1*100)/100 + " Hz
“;
str += “同調エンジン回転数: " + Math.round(vol1*60) + " rpm
“;
str += line;
str += “式: 適当なのであくまでも参考程度に.";
// 文字列出力
document.getElementById(“in_symresult").innerHTML = str;
}
[/script]
[/inline]
全て半角数字での入力です.