science.thin_lens
Calculates the missing focal, object, or image distance in the thin-lens equation from two exact decimal inputs and returns magnification.
Instructions
얇은 렌즈 방정식 1/f = 1/p + 1/q에서 빠진 값 하나(초점거리, 물체거리, 상거리)를 구하고 배율 m = -q/p도 돌려준다. 세 인자 중 정확히 2개를 Decimal 문자열로 주며 길이 단위는 통일한다. 반올림하지 않으며 0 거리나 평행광선(무한대) 조합은 오류다. 실상은 양, 허상은 음의 거리 부호 규약을 따르므로 부호를 맞춰 넣어야 한다.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_dist | No | ||
| object_dist | No | ||
| focal_length | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _meta | No | 서버가 붙이는 영수증(integrity), 엔진, 힌트 | |
| trace | Yes | 계산 근거(tool, formula, inputs, steps, output) | |
| image_dist | No | ||
| object_dist | No | ||
| focal_length | No | ||
| magnification | Yes |