分数計算器
2つの分数を加算、減算、乗算、除算し,結果を簡単にする。
結果はタイプすると更新されます。
この計算機の情報
fraction calculator is a tool that allows you to calculate fractions, and to calculate the number of fractions in a given number. It is a tool that allows you to calculate fractions, and to calculate the number of fractions in a given number. It is a tool that allows you to calculate fractions, and to calculate the number of fractions in a given number. It is a tool that allows you to calculate fractions, and to calculate the number of fractions in a given number. It is a tool that
よくある質問
どうやって2つの分数を加えるのですか。
両分数に共通分母を与え、分子を加え、簡略化する。1/2 + 1/3 は 3/6 + 2/6 = 5/6 になる。
答えはどう簡単にする?
分子と分母は最大公約数(GCD)で割り切る。6/8はGCDが2である。
分数はどうやって分ける?
1番目の分数を2番目の逆数(逆転)で乗算する。1/2÷3/4=1/2×4/3=4/6=2/3。
二つの分数をどうやって乗算しますか。
分子と分母を並べて乗算し、簡単にする。2/3 × 3/4 = 6/12、これは1/2に減らす。
分母が異なる分数をどうやって減算しますか。
まず共通分母の上に置き、次に分子を減算する。3/4 − 1/6 = 9/12 − 2/12 = 7/12。
なぜ答えが混合数で表示されるか。
頂点重分数(不正分数)の場合は整数と正分数を加えたものとしても書く。5/4は11/4となる。
分母がゼロのときはどうなるのですか?
ゼロで除算は定義されていません。計算機はダッシュを返します。入力する分母はゼロでない数字でなければなりません。
API — コードからこの計算機を使う
この計算機を自由な JSON エンドポイントとして呼び出します。鍵は必要ありません。下のフィールド値をクエリパラメータまたは JSON として送信します。 API ドキュメントを読む →
エンドポイント
GET https://calculator.free/api/v1/fraction/
curl
curl "https://calculator.free/api/v1/fraction/?a_num=1&a_den=2&op=add&b_num=1&b_den=3"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/fraction/?" + new URLSearchParams({
"a_num": "1",
"a_den": "2",
"op": "add",
"b_num": "1",
"b_den": "3"
}));
const data = await r.json();
console.log(data.results);
結果は一般的な指導のための推定であり,財務的,医療的または税務的なアドバイスではない。