C Program to Find the Roots of a Quadratic Equation द्विघात समीकरण के मूल ज्ञात करने का C प्रोग्राम
A quadratic equation is an equation of the form: द्विघात समीकरण वह समीकरण है जिसका सामान्य रूप इस प्रकार होता है: ax^2+bx+c=0 Here, (a), (b), and (c) are coefficients, and (a) must not be zero. यहाँ (a), (b) और (c) गुणांक हैं तथा (a) का मान शून्य नहीं होना चाहिए। The roots of a quadratic equation can be calculated using the quadratic formula. द्विघात समीकरण के मूल ज्ञात करने के लिए निम्नलिखित सूत्र का उपयोग किया जाता है: [x1=-b+sqrt({b^2-4ac}/{2a}), x2=-b-sqrt({b^2-4ac}/{2a})] Discriminant (विविक्तकर) The discriminant is represented by (D) and is calculated as: विविक्तकर को (D) से दर्शाया जाता है और इसकी गणना इस प्रकार की जाती है: [D=b^2-4ac] The value of the discriminant determines the nature of the roots. विविक्तकर का मान समीकरण के मूलों की प्रकृति निर्धारित करता है। If (D>0): The roots are real and distinct. यदि (D>0), तो मूल वास्तविक और असमान होते हैं। If (D=0): The roots are real and equal. यदि (D=0), तो मूल वास्तविक और समान होते हैं। If (D<0): The roots are complex co...