Hello I could really use some from help from all the python programming wizards.
Create a Line and Circle intersection program.
1.Ask user to enter the slope and y-intercept of a line.
2.Ask the user to enter the radius of a circle.
3.Ask the user to enter the x and y values of the center of the circle.
4.Output the two intersection points between the line and circle
If there is not an intersection, output “No Solution.”
5.Ask the user to enter yes or no. If they enter yes, the program is to restart. If they
enter no, the program is to terminate.
I just want to know were I should start.
Thanks
>>6
No, I actually mean "b/2" by b. It so happened that it had all even quotients.
In other news, doing basic math turned out to be unexpectedly hard for me, so to hone my skills I intend to post solutions to all homework threads from now on, NO EXCEPTIONS.
Explicit imports are good for my mental health. When I revisit the code after a few months, I don't enjoy struggling to understand where the stuff it uses came from.
>>9
That's why you write import math. Then in a few months, you'll not have to struggle to understand anything, because every time you come across something that came from math, you'll immediately know it came from math because it starts with math!
Name:
Anonymous2011-03-17 21:15
This is so coincidental since we have this EXACT project due in class next Wednesday. What makes it even more coincidental is that the day that we don't have class this beautiful information pops up. I wonder if the professor would look here to see if this is where we got the answer? Nice
Name:
Anonymous2011-03-17 22:04
This is so coincidental since we have this EXACT project due in class next Wednesday. What makes it even more coincidental is that the day that we don't have class this beautiful information pops up. I wonder if the professor would look here to see if this is where we got the answer? I lol'd
Name:
Anonymous2011-03-17 22:17
This is so coincidental since we have this EXACT project due in class next Wednesday. What makes it even more coincidental is that the day that we don't have class this beautiful information pops up. I wonder if the professor would look here to see if this is where we got the answer? Not this shit again
>>11 you'll immediately know it came from math because it starts with math!
I'm willing to surrender the ability to know it immediately and not one second later, for brevity.