engineering.electrical_ohm
Calculates the missing voltage, current, or resistance from exactly two Decimal inputs using Ohm's law (V=IR) and returns all three values for DC circuit checks.
Instructions
옴의 법칙 V=IR에서 빠진 한 값을 구한다. voltage(V), current(A), resistance(Ω) 중 정확히 2개를 Decimal 문자열로 넣으면 나머지를 계산해 세 값을 모두 돌려준다. current와 resistance는 0 초과, voltage는 입력일 때 0 이상이어야 한다. 오용 주의: 3개 이상이나 1개만 넣으면 오류이고, 교류 임피던스에는 쓸 수 없다(ac_impedance 사용).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| current | No | ||
| voltage | No | ||
| resistance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _meta | No | 서버가 붙이는 영수증(integrity), 엔진, 힌트 | |
| trace | Yes | 계산 근거(tool, formula, inputs, steps, output) | |
| current | Yes | ||
| voltage | Yes | ||
| resistance | Yes |