Kalkaaliyihii Pythagorean Theorem
Xalka saddex geesoodka midig: ka heli hypotenuse ama lugta ka maqan.
Natiijooyinka cusbooneysiinta sida aad ku qorto.
Ku saabsan Kalkaaliyahan
The Pythagorean theorem states that in a right triangle a² + b² = c², where c is the hypotenuse — the longest side, opposite the right angle. This calculator solves for the hypotenuse from two legs, or for a missing leg from the hypotenuse and one leg, and also reports the triangle's area, perimeter and two acute angles.
To find the hypotenuse, add the squares of the legs and take the square root: a 3-4 right triangle has hypotenuse √(3² + 4²) = √(9 + 16) = √25 = 5. To find a missing leg, rearrange to a = √(c² − b²); because a leg is always shorter than the hypotenuse, the hypotenuse you enter must be the largest side, or the tool flags it. The acute angles come from the arctangent of the legs and always add up to 90°.
This is the workhorse of right-triangle geometry: finding diagonals, checking that a corner is square in construction, computing distances, and deriving the coordinate distance formula. Whole-number side sets like 3-4-5 and 5-12-13 are called Pythagorean triples.
Su'aalaha badanaa la isweydiiyo
Waa maxay Pythagorean theorem?
Si aad u saddex geesoodka midig, a² + b² = c², halkaas oo c waa hypotenuse. A 3-4 saddex geesoodka midig waxaa hypotenuse √ (9 + 16) = 5.
Sideed u heshaa lugta ka maqan?
Ku dar a = √(c² − b²). Dhabarka waa in ka yar yahay hypotenuse, sidaa darteed qiimaha hypotenuse waa in ay tahay dhinacyada ugu weyn.
Maxaa qiimaha dheeraad ah waxa qalabkan muujinaya?
In kastoo dhinaca la'aanta ah, waxay sheegtaa in saddex geesoodka ee dhulka (½ × lugta × lugta), xarigga, iyo laba qaybood oo aad u daran.
Sidee bay yihiin geesaha sharraxan la helay?
Ka arctangent of labada lugta. In saddex geesoodka midig labada geesoodka sharraxaadda waa in ay ku darto ilaa 90 °.
Waa maxay Pythagorean saddexaad?
A set of integer-number dhinacyada in a² + b² = c², sida 3-4-5 ama 5-12-13. Waxay u samaysan yihiin saddex-geesoodka saxda ah oo aan la wareegin.
Maxaa u baahan yahay hypotenuse ah dhinacyada ugu dheer?
Markaad xalliso si ay lugta, hypotenuse aad gasho waa in ka badan lugta la yaqaan ama qalabku flags it.
API — isticmaal xisaabinta ka code
Wici xisaabinta sida free JSON endpoint - key ma loo baahan yahay. Dib u soo dir qiimaha goobta hoos ku qoran sida parameters su'aal ama JSON. Wax kasta oo aad ka maqan tahay isticmaalaa default la mid ah ee boggani waa hore loo buuxiyey la; parameter aan la aqoon waa 400, marnaba ma aha zero maqan. Akhri dhammaan API xuquuqda →
Xarafka
GET https://calculator.free/api/v1/pythagorean-theorem/
curl
curl "https://calculator.free/api/v1/pythagorean-theorem/?solve=hypotenuse&a=3&b=4"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/pythagorean-theorem/?" + new URLSearchParams({
"solve": "hypotenuse",
"a": "3",
"b": "4"
}));
const data = await r.json();
console.log(data.results);
Natiijooyinka waa tirakoobka loogu talagalay tilmaamaha guud oo keliya, maaha dhaqaale, caafimaad ama talo bixin canshuur.