Login
Sign Up
Home
Program
Project
My Zone
Support
Show Code
Browse Program
Search Program
Calculate the midpoint of a segment defined by two points
Input Variables
Output Variables
Program Code
Description
Variable Name *
(dynamic type)
UP
Down
Delete
Default Value *
Description *
Multi Lines
Variable Name *
(dynamic type)
UP
Down
Delete
Default Value *
Description *
Multi Lines
Variable Name *
(dynamic type)
UP
Down
Delete
Default Value *
Description *
Multi Lines
Variable Name *
(dynamic type)
UP
Down
Delete
Default Value *
Description *
Multi Lines
Variable Name *
(dynamic type)
UP
Down
Delete
Description *
Variable Name *
(dynamic type)
UP
Down
Delete
Description *
Input Variables List
Output Variables List
Source Code
x=(xa+ya)/2.0; y=(xb+yb)/2.0;
Subject
Description
Calculate the midpoint of a segment defined by two points A(X
a
, Y
a
) and B(X
b
,Y
b
). The midpoint is a point whose x and y coordinates are given by
X coordinate of Midpoint= (X
a
+X
b
) / 2
Y coordinate of Midpoint= (Y
a
+Y
b
) / 2
Category
General
Created By
tech
Created Date
10/26/2010
Last Modify Date
10/26/2010
Calculation Count
984
Version
1.0
Positive
0
Neutral
0
Negative
0
Related Program ID
None
Copyright ©2009-2010 CUI WEI. All Rights Reserved.