ម៉ាស៊ីនគិតលេខផ្ទៃ
គណនាផ្ទៃនៃចតុកោណកែង ត្រីកោណ រង្វង់ ទ្រេត៉ូអ៊ីដ ឬប៉ារ៉ាឡែលអ័ក្ស ។
លទ្ធផលធ្វើឲ្យទាន់សម័យតាមដែលអ្នកវាយ ។
អំពីម៉ាស៊ីនគិតលេខនេះ
An area calculator finds how much surface a 2D shape covers. Pick the shape, enter its dimensions, and it returns the area — and, where the sides are known, the perimeter or circumference. Only the fields the chosen shape actually needs are used; the rest are ignored.
Each shape has its own formula: a rectangle is length × width, a triangle is ½ × base × height, a circle is π × radius², a trapezoid is ½ × (base₁ + base₂) × height, and a parallelogram is base × height. For a rectangle 5 long and 4 wide the area is 5 × 4 = 20 and the perimeter is 2 × (5 + 4) = 18; a triangle with base 6 and height 4 has area ½ × 6 × 4 = 12; a circle of radius 5 has area π × 25 ≈ 78.54. Perimeter is shown for rectangles and circles, but not for triangles, trapezoids or parallelograms, whose slanted sides are not entered.
Area calculations are needed for flooring, paint, fabric, land, and any project measured by surface. Make sure all dimensions use the same unit, and the area comes out in that unit squared.
សំណួរដែលសួរញឹកញាប់
តើអ្នករកផ្ទៃត្រីកោណដោយរបៀបណា ?
តំបន់ = ½ × មូលដ្ឋាន × កម្ពស់, ប្រើកម្ពស់បញ្ឈរ. ត្រីកោណជាមួយមូលដ្ឋាន6និងកម្ពស់4មានតំបន់ ½ ×6×4= 12.
តើផ្ទៃរបស់រង្វង់គឺអ្វី ?
តំបន់ = π × កាំ². រង្វង់កាំ5មានតំបន់ π × 25 ≈ 78.54.
តើអ្នករកផ្ទៃចតុកោណកែងបានដោយរបៀបណា ?
ប្រវែងពហុដោយទទឹង. ចតុកោណកែង5វែងនិង4ទទឹងមានតំបន់5×4= 20.
តើផ្ទៃរបស់ទ្រេប៉ូដិនជាអ្វី?
ផ្ទៃ = ½ × (base₁ + base₂) × កម្ពស់, មធ្យមនៃផ្នែកប៉ារ៉ាឡែលពីរនិងពង្រីកដោយកម្ពស់រវាងពួកគេ.
តើផ្ទៃរបស់ប៉ារ៉ាឡែលជាអ្វី?
តំបន់ = មូលដ្ឋាន × កម្ពស់, ប្រើកម្ពស់បញ្ឈរ, មិនប្រវែងខាងឆ្វេង inclinated.
ហេតុអ្វីបានជាព្រំដែនបង្ហាញសញ្ញាព្រួញខ្លះ ?
បរិវេណត្រូវបានផ្ដល់សម្រាប់ចតុកោណកែង និងបរិវេណសម្រាប់រង្វង់ ។ ត្រីកោណ ត្រែប៉ូឡូអ៊ីត និងប៉ារ៉ាឡែលក្រាមត្រូវការប្រវែងជ្រុងដែលមានជ្រុងរបស់ពួកវា ដែលមិនត្រូវបានបញ្ចូល ដូច្នេះបរិវេណរបស់ពួកវាត្រូវបានទុកទទេ ។
វាលណាដែលខ្ញុំត្រូវបំពេញ ?
មានតែមួយដែលរាងដែលបានជ្រើសប្រើប៉ុណ្ណោះ ។ រង្វង់ត្រូវការតែកាំប៉ុណ្ណោះ វាលទទឹង និងកម្ពស់ត្រូវបានមិនអើពើសម្រាប់វា ។
API — ប្រើម៉ាស៊ីនគិតលេខនេះពីកូដ
ទូរស័ព្ទទៅម៉ាស៊ីនគិតលេខនេះជាចំណុចបញ្ចប់ JSON ឥតគិតថ្លៃ - គ្មានគ្រាប់ចុចដែលត្រូវការ ។ ផ្ញើតម្លៃវាលខាងក្រោមជាប៉ារ៉ាម៉ែត្រសំណួរ ឬ JSON ។ អ្វីដែលអ្នករំលងប្រើលំនាំដើមដូចគ្នាដែលទំព័រនេះត្រូវបានបំពេញជាមុនជាមួយប៉ារ៉ាម៉ែត្រមិនស្គាល់គឺ ៤០០ មិនមែនសូន្យស្ងាត់ទេ ។ អានឯកសារ API ពេញលេញ →
ចំណុចបញ្ចប់
GET https://calculator.free/api/v1/area-of-a-shape/
curl
curl "https://calculator.free/api/v1/area-of-a-shape/?shape=rectangle&a=5&b=4&h=3"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/area-of-a-shape/?" + new URLSearchParams({
"shape": "rectangle",
"a": "5",
"b": "4",
"h": "3"
}));
const data = await r.json();
console.log(data.results);
លទ្ធផលគឺការប៉ាន់ប្រមាណសម្រាប់តែការណែនាំទូទៅប៉ុណ្ណោះ, មិនហិរញ្ញវត្ថុ, វេជ្ជសាស្ត្រឬដំបូន្មានពន្ធ.