Cyfrifiadur Teorem Pythagoreaidd
Datrys triongl ddeheuol: canfod yr hypotenws neu'r ysgwydd sydd ar goll.
Diweddaru canlyniadau wrth i chi deipio.
Am y cyfrifiadur hwn
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.
Cwestiynau a ofynnir yn aml
Beth yw' r theorem Pythagoreaidd?
Am driongl ddeheuol, a² + b² = c², lle mae c yn yr hypotenws. Mae gan driongl ddeheuol 3-4 yr hypotenws √(9 + 16) = 5.
Sut ydych chi'n canfod esgyrn sydd ar goll?
Aildrefnu i a = √(c² − b²). Rhaid i'r ysgwydd fod yn hirach na'r hypotenws, felly rhaid i'r gwerth hypotenws fod yr ochr fwyaf.
Pa werthoedd ychwanegol y dangosir gan yr offeryn hwn?
Yn ogystal â'r ochr sydd ar goll, mae'n cofnodi ardal y triongl (½ × ysgwydd × ysgwydd), ei amrediad, a'r ddau ongl ddirgel.
Sut y ceir yr onglau cryf?
O' r arctangen y ddau goes. Yn triongl ddeheuol mae' r ddau ongl ymylol bob amser yn ychwanegu hyd at 90°.
Beth yw triongl Pythagoreaidd?
Set o ochr cyfanrif sy'n bodloni a² + b² = c², fel 3-4-5 neu 5-12-13. Maent yn ffurfio trionglau ddegol cywir heb unrhyw gylchdroi.
Pam mae' r hypotenws yn rhaid bod yn ochr hiraf?
Mae'n sefyll yn erbyn yr ongl dde a dyma'r ochr hiraf o hyd. Pan fyddwch yn datrys am goes, rhaid i'r hypotenws rydych yn ei fewnosod fod yn fwy na'r goes wybodus neu bydd y offeryn yn ei faner.
API - defnyddio'r cyfrifiannell hwn o'r cod
Galw'r cyfrifiannell hwn fel diwedd-bwynt JSON rhad ac am ddim - nid oes angen allwedd. Anfonwch y gwerthoedd maes isod fel paramedrau ymholiad neu JSON. Anything you omit uses the same default this page is pre-filled with; an unknown parameter is a 400, never a silent zero. Darllen y dogfennaeth API lawn →
Diwedd
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);
Mae'r canlyniadau yn amcangyfrifon ar gyfer cyfarwyddyd cyffredinol yn unig, nid cyngor ariannol, meddygol na thrafodion treth.