What is lenght of a car would need to be so that it would touch the floor in the middle because of the curvature of the earth ?
For this question, let's assume the earth is a perfect sphere of 6371\*10^3 meters in radius (6371 km), and a typical passenger sedan has the average ground clearance of 150\*10^-3 meters (15 cm).

Using the arc chord length equation in Julia code: 

```julia
earthRadius = 6371e3
carClearance = 150e-3
wheelDistance = 2*sqrt(2*earthRadius*carClearance-carClearance^2)
```
we get the result of ~2765 meters as the distance between the front and back wheels, which would be the absolute minimum distance of the length of this hypothetical car.
Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:

What is lenght of a car would need to be so that it would touch the floor in the middle because of the curvature of the earth ?

### Response:

For this question, let's assume the earth is a perfect sphere of 6371\*10^3 meters in radius (6371 km), and a typical passenger sedan has the average ground clearance of 150\*10^-3 meters (15 cm).

Using the arc chord length equation in Julia code: 

```julia
earthRadius = 6371e3
carClearance = 150e-3
wheelDistance = 2*sqrt(2*earthRadius*carClearance-carClearance^2)
```
we get the result of ~2765 meters as the distance between the front and back wheels, which would be the absolute minimum distance of the length of this hypothetical car.
