In the getting started pdf it gives two practice exercises to do to get you acquainted with IDLE. Here is the quote: "Exercise (this is just for practice, solutions will not be graded or collected in class) Use IDLE to calculate: 1. 23.0 to the 5th power 2. Positive root of the following equation: 34*x^2 + 68*x - 510 Recall: a*x^2 + b*x + c x1 = ( - b + sqrt ( b*b - 4*a*c ) ) / ( 2*a) the first one of course went fine but I'm lost on the second one. googled positive root fwiw but that did not help with this situation. help me?
MIT 6.00 Intro Computer Science (OCW)
Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
if I type the first line into python (lol?) it says syntax error. also, I don't know what is meant by "recall". also what does "x1" on the last line mean? thank you very much! :)
x1 is a variable 23 ** 5 or pow(23, 5) http://docs.python.org/library/stdtypes.html#numeric-types-int-float-long-complex number two wants you to find the positive root of the equation that is given and it is asking you to recall the qudratic formula used to find the roots of an equation: this is algebra.
to find sqrt(b*b-4*a*c) in the quadratic equation, you'll need to "import math" and use the math.sqrt() function. I was stuck on that for a couple of hours before Google saved me lol