Skip to content

A basic python program to do basic coordinate geometry i.e. Distance formula & Midpoint Formula.

Notifications You must be signed in to change notification settings

AhsanChaudhary127/Coordinate-Geometry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Coordinate-Geometry

A basic python program to do basic coordinate geometry i.e. Distance formula & Midpoint Formula. This program takes two coordinates and ask the function to be performed. The coordinates are to be given in "x,y" format. After that the program will prompt the user whether he want to use Distance or Midpoint formula. Syntax:

Example 1:

Input 1 : 2,3 Input 2 : 3,4 Input 3 : 1 Output : The distance b/w (2,3) & (3,4) is 2

Example 2:

Input 1 : 2,3 Input 2 : 3,4 Input 3 : 2 Output : The Midpoint of (2,3) & (3,4) is (2.5,3.5)

About

A basic python program to do basic coordinate geometry i.e. Distance formula & Midpoint Formula.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages