Quantcast

A community for students.

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

jtcr1976

  • one year ago

i am too bad maybe at programming, how do I resolve this? 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 )

  • This Question is Open
  1. wio
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    What is the problem?

  2. jtcr1976
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    i am new to this what lines of code, I mean is the first exercise... have no idea :(

  3. wio
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    I still don't know what the problem is.

  4. bwCA
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    have you read any of the readings?

  5. bwCA
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    maybe start with the Tutorial in the Python documentation ``` >>> >>> 3 * 3 9 >>> 3 ** 2 9 >>> a = 34 >>> b = 68 >>> c = -510 >>> import math >>> math.sqrt(16) 4.0 >>> a * b 2312 >>> a + b 102 >>> (a * b) - c 2822 >>> ```

  6. e.mccormick
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    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.

  7. e.mccormick
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    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): http://www.greenteapress.com/thinkpython/ Try out the code in there. Try other code you think up as you go. Or try the second and third videos here: http://thenewboston.org/list.php?cat=36 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.

  8. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.