7 kyu

Geometry Basics: Distance between points in 3D

422 of 762taw

Description:

This series of katas will introduce you to basics of doing geometry with computers.

Point objects have x, y, and z attributes. For Haskell there are Point data types described with record syntax with fields x, y, and z.

Write a function calculating distance between Point a and Point b.

Tests round answers to 6 decimal places. Tests in Haskell will not round.

Geometry
Fundamentals

Stats:

CreatedMar 30, 2017
PublishedMar 30, 2017
Warriors Trained1145
Total Skips13
Total Code Submissions1319
Total Times Completed762
Ruby Completions66
Python Completions422
JavaScript Completions246
Crystal Completions16
Haskell Completions93
Total Stars14
% of votes with a positive feedback rating87% of 194
Total "Very Satisfied" Votes153
Total "Somewhat Satisfied" Votes33
Total "Not Satisfied" Votes8
Total Rank Assessments12
Average Assessed Rank
7 kyu
Highest Assessed Rank
7 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • taw Avatar
  • GiacomoSorbi Avatar
  • Ultramann Avatar
  • seasidetesting Avatar
  • Voile Avatar
  • Just4FunCoder Avatar
  • saudiGuy Avatar
Ad