answersLogoWhite

0

What is the distance formula in 3D?

Updated: 4/28/2022
User Avatar

Wiki User

14y ago

Best Answer

The formula:

distance=sqrt(((x1-x2)*(x1-x2))+((y1-y2)*(y1-y2))+((z1-z2)*(z1-z2)))

In DarkBASIC it's:

function distance3D(x1,y1,z1,x2,y2,z2)

x=x1-x2

y=y1-y2

z=z1-z2 result=sqrt((x*x)+(y*y)+(z*z)) endfunction result

In classic BASIC I think it's:

FUNCTION distance3D(x1,y1,z1,x2,y2,z2)

x=x1-x2

y=y1-y2

z=z1-z2 result=SQRT((x*x)+(y*y)+(z*z))

RETURN result

END FUNCTION

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the distance formula in 3D?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Why is the distance formula important to geometry?

When we study the motion of body then its displacement is described on cartesian plane or in 3d geometry and not in real physical conditions,in this way to calculate the distance travelled by the body is a major aspect in calculating its speed and other things,and here distance formula help us to do so.There are many other importance of distance formula...


Formula for 3D shapes?

length x breadth x height=3d


What is the formula for a 3d shapes?

A 3D shape must have length x width x depth.


Who invented the distance formula?

Pythagoras invented the distance formula


Finding distance given the average speed?

Use the formula: distance = time x speed.Use the formula: distance = time x speed.Use the formula: distance = time x speed.Use the formula: distance = time x speed.


Formula for 3D dimension to square meter?

what is the formula for finding a 3 dimensional square


How do you calculate the formula for distance?

== I'm pretty sure the formula for distance is: D== rt (Distance= rate x time) == The formula for distance is: speed x time.


What is the formula of distance?

It is the same as the distance formula. DISTANCE FORMULA: d=square root of (x2-x1)^2+(y2-y1)^2


What is Kingdom Hearts 3D?

Kingdom Hearts 3D is a Nintendo 3DS title. The full title is : Kingdom Hearts 3D - Dream Drop Distance


What is the formula for distance in a science problem?

The Formula for distance is SPEED X TIME


Can the distance formula can be derived from the Pythagorean theorem?

Yes, the formula for the Euclidean distance. But not necessarily other distance metrics.


How do you find the volume of a 3D shape?

Well it depends on what kind of 3d shape it is. There is a formula to find the volume of each 3d shape. The main formula for volume is Bxh. (Big B multiplied by the height.) Bxh means the area of the base times the height.