- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP

- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who

# Find the area of a triangle two sides of which are $ 18 \mathrm{~cm} $ and $ 10 \mathrm{~cm} $ and the perimeter is $ 42 \mathrm{~cm} $.

**Given:**

The sides of the triangle are $18\ cm$ and $10\ cm$ and the perimeter is $42\ cm$.

**To do:**

We have to find the area of the triangle.

**Solution:**

Let us assume the third side of the triangle as $x$

This implies,

The three sides of the triangle are $18\ cm, 10\ cm$ and $x\ cm$.

We have,

The perimeter of the triangle as $42\ cm$

We know that,

Perimeter $P$ of a triangle with sides of length a units, b units and c units

$P=(a+b+c)$units.

This implies,

$42\ cm=18\ cm+10\ cm+x\ cm$

$42\ cm=28\ cm+x\ cm$

This implies,

$x\ cm=42\ cm-28\ cm$

$x\ cm=14\ cm$

By Heron's formula:

$A=\sqrt{s(s-a)(s-b)(s-c)}$

Since,

$S=\frac{a+b+c}{2}$

$S=\frac{18+10+12}{2}$

$S=\frac{42}{2}$

$S=21\ cm$

This implies,

$A=\sqrt{21(21-18)(21-10)(21-14)}$

$A=\sqrt{21(3)(11)(7)}$

$A=21\sqrt{11}\ cm^2$

Therefore,

The area of the triangle is $21\sqrt{11}\ cm^2$.

- Related Questions & Answers
- Call if minus (CM) in 8085 Microprocessor
- Converting km per hour to cm per second using JavaScript
- Find the area and perimeter of right triangle in PL/SQL
- Find area of triangle if two vectors of two adjacent sides are given using C++
- Program to calculate area and perimeter of equilateral triangle
- Golang Program to Find the Area of a Triangle Given All Three Sides
- Program to calculate the Area and Perimeter of Incircle of an Equilateral Triangle What is Equilateral Triangle in C?
- Find other two sides and angles of a right angle triangle in C++
- Program to calculate area and perimeter of equilateral triangle in C++
- Program to find the Area and Perimeter of a Semicircle in C++
- Calculating the area of a triangle using its three sides in JavaScript
- Find Perimeter of a triangle in C++
- Find other two sides of a right angle triangle in C++
- Find the hypotenuse of a right angled triangle with given two sides in C++
- Find the altitude and area of an isosceles triangle in C++
- Find maximum volume of a cuboid from the given perimeter and area in C++