Se dan dos círculos congruentes con dos cuerdas iguales. Se da el ángulo subtendido al centro de la cuerda de uno de los círculos. La tarea es encontrar el ángulo subtendido por la cuerda al centro de otro círculo.
Ejemplos:
Input: z = 48 Output: 48 degrees Input: z = 93 Output: 93 degrees
Enfoque :
- En triangulo AOB y PXQ
AO = PX(radii of congruent circles) BO = QX(radii of congruent circles) AB = PQ(equal chords)
- Entonces, el triángulo AOB es congruente con el triángulo PXQ
- Entonces, ángulo AOB = ángulo PXQ
Cuerdas iguales de círculos congruentes subtienden ángulos iguales en sus centros.
A continuación se muestra la implementación del enfoque anterior:
C++
// C++ program to find the angle subtended by the chord // to the centre of the circle when the angle subtended // by another equal chord of a congruent circle is given #include <bits/stdc++.h> using namespace std; void anglequichord(int z) { cout << "The angle is " << z << " degrees" << endl; } // Driver code int main() { int z = 48; anglequichord(z); return 0; }
Java
// Java program to find the angle subtended by the chord // to the centre of the circle when the angle subtended // by another equal chord of a congruent circle is given import java.io.*; class GFG { static void anglequichord(int z) { System.out.println ("The angle is " + z + " degrees"); } // Driver code public static void main (String[] args) { int z = 48; anglequichord(z); } }
Python 3
# Python 3 program to find the angle subtended by the chord # to the centre of the circle when the angle subtended # by another equal chord of a congruent circle is given def anglequichord(z): print ("The angle is " , z , " degrees") # Driver code if __name__ == "__main__": z = 48 anglequichord(z) # This code is contributed by ChitraNayal
C#
// C# program to find the angle subtended by the chord // to the centre of the circle when the angle subtended // by another equal chord of a congruent circle is given using System; class GFG { static void anglequichord(int z) { Console.WriteLine("The angle is " + z + " degrees"); } // Driver code public static void Main () { int z = 48; anglequichord(z); } } // This code is contributed by AnkitRai01
Javascript
<script> // javascript program to find the angle subtended by the chord // to the centre of the circle when the angle subtended // by another equal chord of a congruent circle is given function anglequichord(z) { document.write("The angle is " + z + " degrees"); } // Driver code var z = 48; anglequichord(z); // This code is contributed by Amit Katiyar </script>
Producción:
The angle is 48 degrees
Complejidad de tiempo: O(1)
Espacio Auxiliar: O(1)
Publicación traducida automáticamente
Artículo escrito por IshwarGupta y traducido por Barcelona Geeks. The original can be accessed here. Licence: CCBY-SA