Comp Sci / Expos

Ons rstxrstysecondxsecondy are not integers secondy

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: oordinate?” read “secondY” slopeY=0 slopeX=0 slope=0 yIntercept=0 slopeX=secondX- firstX slopeY=secondY- firstY slope=slopeY/slopeX The result will remain as a fracgon yIntercept=firstY- (slope*firstX) print “The equagon of the line that passes through point’s (“,firstX”,”,firstY”) and (“,secondX”,”,secondY”) is y=“,slope”x+”,yIn...
View Full Document

This note was uploaded on 01/31/2013 for the course COMP SCI 111 taught by Professor Louissteinberg during the Spring '12 term at Rutgers.

Ask a homework question - tutors are online