i am too bad maybe at programming, how do I resolve this?
Positive root of the following equation:
34*x^2 + 68*x - 510
a*x^2 + b*x + c
x1 = ( - b + sqrt ( b*b - 4*a*c ) ) / ( 2*a )
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!
What is the problem?
i am new to this what lines of code, I mean is the first exercise... have no idea :(
Not the answer you are looking for? Search for more explanations.
have you read any of the readings?
maybe start with the Tutorial in the Python documentation
>>> 3 * 3
>>> 3 ** 2
>>> a = 34
>>> b = 68
>>> c = -510
>>> import math
>>> a * b
>>> a + b
>>> (a * b) - c
Well, the equation they are showing is part of the quadratic formula. To find the positive root, you would want to do both parts and see if either of them is positive. Well, in this case, probably just the + one. Knowing that, it is a matter of coding the formula and putting in the givens.
Oh, and have it print the result.
Sometimes people don't connect with the videos because they jump in a bit. Try reading the first three chapters of this (only 35 pages):
Try out the code in there. Try other code you think up as you go.
Or try the second and third videos here:
If those work well, try up to about video 9, then go back to the MIT stuff, and toss in more of the Bucky videos as you go. Bucky is not bad, but he does not focus on the problem solving aspects you need to learn. However, he makes a great complement to a more formal course of study.