Java icon indicating copy to clipboard operation
Java copied to clipboard

[FEATURE REQUEST] To Add Multiple Dimensions in Distance Formula

Open shivansh-bhatnagar18 opened this issue 1 year ago • 5 comments

What would you like to Propose?

To Add Multi-Dimensional Distance Formulas

Issue details

The Distance Formula under the maths section can only work for two-dimensional points but to make this function more generic, I propose to make functions for multidimensional location points and calculate distance between them

Additional Information

No response

shivansh-bhatnagar18 avatar Oct 13 '23 18:10 shivansh-bhatnagar18

Distance between two points [ x1 , x2 ] in 1-D is sqrt( ( x1 - x2 )^2 ) => | x1 -x2 | [ ( x1 , y1 ) , ( x2 , y2 ) ] in 2-D is sqrt( ( x1 - x2 )^2 + (y1-y2)^2 ) [ ( x1 , y1 , z1 ) , ( x2 , y2 , z2 ) ] in 3-D is sqrt( ( x1 - x2 )^2 + (y1-y2)^2 +( y1 -y2 )^2 )

Similarly, for the multidimensional points the formula can be extended. multidimensional distance formula derivation.pdf

swaggybaba avatar Oct 14 '23 03:10 swaggybaba

Dear Authors, Please check and merge the pull request that I have made #4790

shivansh-bhatnagar18 avatar Oct 14 '23 04:10 shivansh-bhatnagar18

if this is not assigned to anyone please Assign it to me

Sooraj-Mlahi avatar Oct 24 '23 18:10 Sooraj-Mlahi

I would like to get this task assigned to me. I am a new programmer and this will be a good issue to solve.

wannabetolkien avatar Nov 18 '23 12:11 wannabetolkien

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Dec 26 '23 00:12 github-actions[bot]

Please reopen this issue once you add more information and updates here. If this is not the case and you need some help, feel free to seek help from our Gitter or ping one of the reviewers. Thank you for your contributions!

github-actions[bot] avatar Jan 02 '24 00:01 github-actions[bot]