- 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

# A piece of string is $ 30 \mathrm{~cm} $ long. What will be the length of each side if the string is used to form:

**(a)** a square?

**(b)** an equilateral triangle?

**(c)** a regular hexagon?

Given:

A piece of string is 30 cm long.

To do:

We have to find the length of each side when the string is used to form:

(a) a square

(b) an equilateral triangle

(c) a regular hexagon

Solution:

The perimeter of each of the forms is equal to the length of the string in each case.

Therefore,

(a) The perimeter of the square form of the string $ =30\ cm$

We know that,

The perimeter of a square is four times its side.

$4\times$ each side of the square $ =30\ cm$

Each side of the square $=\frac{30}{4}$

$ =7.5\ cm$

The length of each side of the square is $7.5\ cm$

(b) The perimeter of the equilateral triangle form of the string $ =30\ cm$

We know that,

The perimeter of an equilateral triangle is three times its side

$3\times$ each side of the triangle $ =30\ cm$

Each side of the triangle $ =\frac{30}{3}$

$ =10\ cm$

The length of each side of the triangle is $10\ cm$.

(c) The perimeter of the regular hexagon form of the string $ =30\ cm$

We know that,

The perimeter of a regular hexagon is six times its side

$6\times$ each side of the regular hexagon $ =30\ cm$

Each side of the regular hexagon $ =\frac{30\ cm}{6}$

$ =5\ cm$

The length of each side of the regular hexagon is $5\ cm$.

- Related Questions & Answers
- Program to calculate the Area and Perimeter of Incircle of an Equilateral Triangle What is Equilateral Triangle in C?
- What is the max length of a Python string?
- Area of a square inscribed in a circle which is inscribed in an equilateral triangle in C Program?
- Area of a square inscribed in a circle which is inscribed in an equilateral triangle in C Program?
- Biggest Reuleaux Triangle inscribed within a Square inscribed in an equilateral triangle?
- Biggest Reuleaux Triangle inscribed within a Square inscribed in an equilateral triangle in C?
- Biggest Square that can be inscribed within an Equilateral triangle?
- Find a palindromic string B such that given String A is a subsequence of B in C++
- Biggest Square that can be inscribed within an Equilateral triangle in C?
- Check if it is possible to form string B from A under the given constraint in Python
- Find Maximum side length of square in a Matrix in C++
- How to check if a string has a certain piece of text in JavaScript?
- C++ Program to Find the Length of a String
- C program to find the length of a string?
- Find coordinates of the triangle given midpoint of each side in C++
- What is the maximum length of string in Python?