Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Line and Circle Intersection

Name: Anonymous 2011-03-16 13:16

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

Name: Anonymous 2011-03-16 23:56

>>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!

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List