Question: TASK: A Cartesian coordinate system in a plane has two perpendicular lines (the x-axis and y-axis) (also called rectangular coordinates) of a point are
TASK: A Cartesian coordinate system in a plane has two perpendicular lines (the x-axis and y-axis) (also called rectangular coordinates) of a point are a pair of numbers (in two dimensions) The straight line is composed of two points for example if there is a is line the in the x-y plane it will consist of two points. You are required to design a specified system. The system should be able to calculate line parameters for example midpoint of the given line and the magnitude of the line. Provide functionality to check whether line id passing from origin or not. And appropriate the constructors, destructors, setters &getters function.
Step by Step Solution
3.32 Rating (155 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
