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-18 10:38

from math import sqrt; sqrt; sqrt
import math; math.sqrt; math.sqrt


Yeah they're exactly the same.

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