---
id: 2026-04-16T14:26:45-0400
title: 2026-04-16 14:26:45
tags:
  - status/draft
date-created: 2026-04-16T14:26:45-04:00
daily: "[[2026-04-16]]"
---
# 2026-04-16 14:26:45

## Distance Between Two Points

```excel
=LET(minorDif,MIN([@[top-dif]],[@[left-dif]]),
majorDif,MAX([@[top-dif]],[@[left-dif]]),
SQRT(2*minorDif^2)+(majorDif-minorDif)
)
```

```python
import math

x_dif = math.abs(x2 - x1)
y_dif = math.abs(y2 - y1)

ortholinear_distance = x_dif + y_dif

minor_dif = min(y_dif, x_dif)
major_dif = max(y_dif, x_dif)

octolinear_distance = math.sqrt(2 * minor_dif^2) + (majorDif - minorDif)
```