Fraction Calculator
Екі бөлшек қосу, азайту, көбейту немесе бөлу және нәтижесін жеңілдету.
Нәтижелер жазу барысында жаңартылмақ.
Калькулятор туралы
A fraction calculator performs arithmetic on two fractions — addition, subtraction, multiplication and division — and returns the answer reduced to its lowest terms, as a decimal, and as a mixed number. Enter the numerator and denominator of each fraction, choose an operation, and the tool handles the cross-multiplication and simplification for you, showing the working line by line.
For addition and subtraction the two fractions are first rewritten over a common denominator (the product of the two denominators), the numerators are combined, and the result is divided by the greatest common divisor to simplify. Multiplication multiplies the numerators and the denominators straight across; division multiplies the first fraction by the reciprocal of the second. For example, 1/2 + 1/3 becomes 3/6 + 2/6 = 5/6, while 1/2 × 3/4 = 3/8 and 1/2 ÷ 3/4 = 1/2 × 4/3 = 4/6 = 2/3.
Exact fraction arithmetic comes up in cooking and recipe scaling, measuring in inches, splitting a bill, probability, and any classroom exercise where a precise answer beats a rounded decimal. Because the result is also shown as a decimal and a mixed number, you can read it in whichever form your problem needs.
Жиі қойылатын сұрақтар
Екі бөлшектерді қалай қосуға болады?
Give both fractions a common denominator, add the numerators, then simplify. 1/2 + 1/3 becomes 3/6 + 2/6 = 5/6.
Жауап қалай қарапайым?
Санғыш пен бөлгіш ең үлкен ортақ бөлгішімен (GCD) бөлінеді. 6/ 8- нің GCD- і 2, сондықтан ол 3/ 4- ке қысқарады.
Бөлшектерді қалай бөлесіз?
Бірінші бөлшекті екіншісінің кері бөлшегіне (флипке) көбейтіңіз. 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 деген 1 1/ 4 болады.
Егер бөлгіш нөл болса не болады?
Нөлге бөлу анықталмаған, сондықтан калькулятор кесіндіні қайтарады. Келтірілген әрбір бөлгіш нөлден басқа сан болу керек.
API - бұл калькуляторды кодтан қолдану
Бұл калькуляторды бос JSON аяқтау нүктесі ретінде шақыру - кілт қажет емес. Төмендегі өріс мәндерін сұраныс параметрлері немесе JSON ретінде жіберіңіз. Елемегеніңіз бұл беттің әдетті параметрлері қолданылады; беймәлім параметрі - 400, ешқашан да үнсіз нөл. 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);
Нәтижелер тек жалпы нұсқаулық ретінде ғана есептеледі, қаржылық, медициналық немесе салық кеңесі ретінде емес.