# Length of the chord the circle if length of the another chord which is equally inclined through the diameter is given

Given are two chords which are equally inclined through the diameter of the circle. Length of one chord is given. The task is to find the length of another chord.

**Examples:**

Input:z = 48Output:48 degreesInput:z = 93Output:93 degrees

**Approach**:

- Let
**AB**and**AC**be the two chords of the circle having the center at**O**. - now, in the figure we see,

**OL**is perpendicular to**AB**and**OM**is perpendicular to**AC** - in triangle
**OLA**and triangle**OMA**,

**angle OLA = angle OMA = 90 degrees**

**angle OAL = angle OAM**(as the chords are inclined equally through the diameter)

**OA = OA**(common side) - so triangle
**OLA**and triangle**OMA**are congruent to each other. - So,
**OL = OM** - and we know, equal chords are equidistant from the center, so Length of
**AB**and**AC**will be same.

If two chords are equally inclined through the diameter of the same circle, then they are of equal length.

Below is the implementation of the above approach:

## C++

`// C++ program to find ` `// the length of the chord the circle ` `// if length of the another chord ` `// which is equally inclined ` `// through the diameter is given ` ` ` `#include <bits/stdc++.h> ` `using` `namespace` `std; ` ` ` `void` `lengchord(` `int` `z) ` `{ ` ` ` `cout << ` `"The length is "` ` ` `<< z << endl; ` `} ` ` ` `// Driver code ` `int` `main() ` `{ ` ` ` `int` `z = 48; ` ` ` `lengchord(z); ` ` ` `return` `0; ` `} ` |

*chevron_right*

*filter_none*

## Java

`// Java program to find ` `// the length of the chord the circle ` `// if length of the another chord ` `// which is equally inclined ` `// through the diameter is given ` `import` `java.io.*; ` ` ` `class` `GFG ` `{ ` ` ` `static` `void` `lengchord(` `int` `z) ` `{ ` ` ` `System.out.println (` `"The length is "` `+ z ); ` `} ` ` ` `// Driver code ` `public` `static` `void` `main (String[] args) ` `{ ` ` ` ` ` `int` `z = ` `48` `; ` ` ` `lengchord(z); ` `} ` `} ` ` ` `// The code has been contributed by ajit. ` |

*chevron_right*

*filter_none*

## Python3

`# Python3 program to find ` `# the length of the chord of the circle ` `# if length of the other chord ` `# which is equally inclined ` `# through the diameter is given ` `def` `lengchord(z): ` ` ` `print` `(` `"The length is "` `, end ` `=` `""); ` ` ` `print` `(z); ` ` ` `# Driver code ` `z ` `=` `48` `; ` `lengchord(z); ` ` ` `# This code is contributed ` `# by Princi Singh ` |

*chevron_right*

*filter_none*

## C#

`// C# program to find ` `// the length of the chord the circle ` `// if length of the another chord ` `// which is equally inclined ` `// through the diameter is given ` `using` `System; ` ` ` `class` `GFG ` `{ ` ` ` `static` `void` `lengchord(` `int` `z) ` `{ ` ` ` `Console.WriteLine(` `"The length is "` `+ z ); ` `} ` ` ` `// Driver code ` `static` `public` `void` `Main () ` `{ ` ` ` ` ` `int` `z = 48; ` ` ` `lengchord(z); ` `} ` `} ` ` ` `// The code has been contributed by Tushil ` |

*chevron_right*

*filter_none*

**Output:**

The length is 48

## Recommended Posts:

- Length of the chord of the circle whose radius and the angle subtended at the center by the chord is given
- Find the Diameter or Longest chord of a Circle
- Angle subtended by the chord to center of the circle when the angle subtended by the another equal chord of a congruent circle is given
- Distance of chord from center when distance between center and another equal length chord is given
- Distance between centers of two intersecting circles if the radii and common chord length is given
- Angle subtended by the chord when the angle subtended by another chord of same length is given
- Shortest distance from the centre of a circle to a chord
- Count ways to divide circle using N non-intersecting chord | Set-2
- Program to calculate angle on circumference subtended by the chord when the central angle subtended by the chord is given
- Angle between a chord and a tangent when angle in the alternate segment is given
- Program to find Length of Bridge using Speed and Length of Train
- Find the other-end coordinates of diameter in a circle
- Find the center of the circle using endpoints of diameter
- Find the side of the squares which are inclined diagonally and lined in a row
- Arc length from given Angle

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.