This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Greetings dear Scientists. Yesterday I study Analytical Geometry. And find an interesting formula. ( At least its interesting to me.) Which is Dividing a Line-Segment in a Given Ratio. For better understanding I describe the formula then asking the question.
If you have point1 and point2 in a rectangular coordinate system and you want to segment the line which point1 and point2 it holds you should use this formula:
point1(x1,y1)
point2(x2,y2)
segment ratio => m1:m2
pointSegment(x3,y3)
x3 = (m2*x1 m1*x2) / m1 m2
y3= (m2*y1 m1 *y1) / m1 m2
if you choose segment ratio 1:1 than its the center of the line.
x3 = (x1 x2) /2
y3 = (y1 y2) /2
I thought this formula can be using virtual memory locations to be better paging. ( I know in paging methods you cant use segmentation method. Because paging needs to be doing in flat memory model. But I don't know why it cant be by using this way)
Thank you for giving a time.
Subreddit
Post Details
- Posted
- 9 months ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/AskComputer...