# Calculate the solution to a quadratic equation using the quadratic # formula. # # A quadratic equation has the following form: # ax**2 + bx + c = 0 # # There are always two solutions to a quadratic equation, x_1 and x_2. x_1 = (-b + (b**2 - 4 * a * c) ** (1...
In the following example, you compute the two solutions of a quadratic equation using a parallel assignment:Python >>> from math import sqrt >>> a, b, c = 2.0, -1.0, -4.0 >>> x1, x2 = ( ... (-b - sqrt(b**2 - 4 * a * c)) / (2 * a), ... (-b + sqrt(b...
From Figure 1b it can be inferred that, (2) Assuming logic ‘1’ at node Q and logic ‘0’ at node QB, Equation (2) becomes, (3) Though, drain current of Mosfet device is given as [30, 31], (4) η is swing factor, VT is thermal voltage known as and I0 depicts the ...