공학용 계산기

Scientific Calculator

0
공학용 계산기란?

공학용 계산기는 일반적인 사칙연산에 더해 삼각함수·로그·제곱근·거듭제곱·팩토리얼·괄호 연산 등 이공계·공학 분야에서 자주 쓰는 함수를 키패드나 키보드로 계산하는 도구입니다. 서버나 외부 라이브러리 없이 브라우저 안에서 직접 수식을 해석해 계산하며(eval 미사용), 괄호를 활용한 복잡한 식도 연산자 우선순위대로 정확히 처리합니다.

지원 함수

sin·cos·tan은 삼각함수이며, 상단의 DEG/RAD 버튼으로 각도(도, °) 단위와 라디안 단위를 전환할 수 있습니다. log는 밑이 10인 상용로그, ln은 밑이 자연상수 e인 자연로그입니다. 는 제곱근, 는 제곱, x^y는 임의의 거듭제곱(우결합, 최고 우선순위)을 계산합니다. n!(팩토리얼)은 0 이상의 정수에서만 계산되며, π·e는 각각 원주율과 자연상수를 즉시 입력합니다.

사용 방법

화면의 키패드 버튼을 눌러 숫자·함수·연산자를 입력하고 = 버튼으로 계산을 실행합니다. C는 전체 지우기, 는 한 글자 지우기, ±는 부호 반전, %는 퍼센트 변환입니다. 물리 키보드도 사용할 수 있습니다: 숫자와 + - * / ^ ( ), 소수점은 ., 계산 실행은 Enter, 지우기는 Backspace(한 글자)와 Esc(전체), 팩토리얼은 ! 키로 입력합니다.

입력 예시와 계산 결과
입력모드결과
sin(30)DEG0.5
log(100)-2
√(16)-4
2^10-1024
5!-120
What is the Scientific Calculator?

Beyond standard arithmetic, this tool computes trigonometric, logarithmic, root, power, factorial, and parenthesized expressions common in engineering and science. It parses expressions directly in the browser (no server, no external library, no eval) and correctly applies operator precedence even with nested parentheses.

Supported functions

sin, cos, tan are trigonometric functions; toggle DEG/RAD at the top to switch between degrees and radians. log is base-10 logarithm, ln is natural logarithm (base e). computes square root, squares, and x^y raises to any power (right-associative, highest precedence). n! (factorial) is defined only for non-negative integers, and π/e insert the respective constants instantly.

How to use it

Tap numbers, functions, and operators, then press = to compute. C clears everything, deletes the last character, ± flips the sign, and % converts to a percentage. Keyboard shortcuts: digits and + - * / ^ ( ), . for the decimal point, Enter to compute, Backspace/Esc to delete, and ! for factorial.

Sample inputs and results
InputModeResult
sin(30)DEG0.5
log(100)-2
√(16)-4
2^10-1024
5!-120
DEG와 RAD는 어떤 차이가 있나요?
DEG는 각도(도, °) 단위로 삼각함수를 계산하고, RAD는 라디안 단위로 계산합니다. 예를 들어 DEG 모드에서 sin(30)은 0.5이지만, RAD 모드에서 sin(30)은 라디안 30을 그대로 사용해 전혀 다른 값이 나옵니다. 상단의 DEG/RAD 버튼으로 언제든 전환할 수 있습니다.
log와 ln의 차이는 무엇인가요?
log는 밑이 10인 상용로그(log₁₀x)를, ln은 밑이 자연상수 e인 자연로그(logₑx)를 계산합니다. 두 함수 모두 0 이하의 값에는 정의되지 않으며, 그런 값을 입력하면 오류로 표시됩니다.
팩토리얼(n!)은 어떤 값에서 계산할 수 있나요?
팩토리얼은 0 이상의 정수에서만 계산할 수 있습니다. 음수나 소수를 입력하면 정의되지 않으므로 오류로 표시됩니다. 예를 들어 5!은 5×4×3×2×1=120입니다.
What's the difference between DEG and RAD?
DEG computes trigonometric functions in degrees, while RAD uses radians. For example, sin(30) is 0.5 in DEG mode, but in RAD mode sin(30) treats 30 as radians and gives a completely different value. Toggle the DEG/RAD button at the top anytime.
What's the difference between log and ln?
log is base-10 logarithm (log₁₀x), while ln is natural logarithm with base e (logₑx). Neither function is defined for values at or below 0, and such inputs are shown as an error.
What values can factorial (n!) be computed for?
Factorial is only defined for non-negative integers. Negative numbers or decimals are undefined and shown as an error. For example, 5! = 5×4×3×2×1 = 120.

안내: 본 계산기는 일반적인 공학용 함수 계산 결과를 제공합니다. 컴퓨터의 부동소수점 연산 특성상 매우 복잡한 소수 계산에서는 미세한 오차가 발생할 수 있으므로, 정밀한 검증이 필요한 계산에는 별도 확인을 권장합니다.

Note: This calculator provides standard scientific function results. Due to floating-point behavior, very complex decimal calculations may show tiny rounding differences — please double-check figures where precise verification is required.