Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For the three points A (Xa, Ya), B (Xb, Yb) and C (Xc, Yc) the equation of the line L parallel to the segment

 

For the three points A (Xa, Ya), B (Xb, Yb) and C (Xc, Yc) the equation of the line L parallel to the segment AB and passing by the point C is given by: Y= mX +k where: Ya-Yb m is the slope and computed as : m = Xa-Xb k is the intercept and computed as : k Yc -m.Xc Write a java program that calculane and display the slope, the intercept and the equation of the Line parallel to AB and passing by C for the given values: A(1.5, 2), B (2.5, -4) and C (-1.5, 10.5) Your program should output exactly the following: Sample Run The slope is -6.0 The intercept is 1.5 The equation of the parallel is Y--6.0 X15

Step by Step Solution

3.39 Rating (152 Votes )

There are 3 Steps involved in it

Step: 1

The java program for the the given below Java Code import javautilScanner public class ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Vector Mechanics for Engineers Statics and Dynamics

Authors: Ferdinand Beer, E. Russell Johnston, Jr., Elliot Eisenberg, William Clausen, David Mazurek, Phillip Cornwell

8th Edition

73212229, 978-0073212227

More Books

Students also viewed these Programming questions

Question

2.18 Evaluate biomedical treatment approaches.

Answered: 1 week ago