{
    "slug": "scientific-calculator",
    "name": "Scientific Calculator",
    "url": "https://directory.milunir.com/math-calculators/basic-math/scientific-calculator/",
    "description": "Type a full expression with sin, cos, log, ln, roots, powers and factorials. Degrees or radians, ten decimal places and each operation listed.",
    "inputs": {
        "type": "object",
        "properties": {
            "mode": {
                "type": "string",
                "enum": [
                    "basic",
                    "scientific"
                ],
                "description": "Mode",
                "default": "basic"
            },
            "expr_basic": {
                "type": "string",
                "description": "Calculation. Use + − × ÷ (or * and /), brackets and % for a percent.",
                "default": "(48 + 12) × 3 ÷ 4"
            },
            "expr": {
                "type": "string",
                "description": "Expression. Functions: sin cos tan asin acos atan sqrt cbrt ln log exp abs; ^ for powers, ! for factorial, pi and e.",
                "default": "sin(30) + sqrt(16) × 2^3"
            },
            "angle": {
                "type": "string",
                "enum": [
                    "deg",
                    "rad"
                ],
                "description": "Angles in",
                "default": "deg"
            }
        },
        "additionalProperties": false
    },
    "outputs": [
        {
            "key": "primary",
            "label": "Result"
        },
        {
            "key": "sci",
            "label": "Scientific notation"
        },
        {
            "key": "read",
            "label": "Read as"
        },
        {
            "key": "count",
            "label": "Operations"
        }
    ],
    "modes": [
        {
            "id": "basic",
            "label": "Basic",
            "inputs": [
                "expr_basic"
            ]
        },
        {
            "id": "scientific",
            "label": "Scientific",
            "inputs": [
                "expr",
                "angle"
            ]
        }
    ],
    "feed": null,
    "endpoint": "https://api.tools-directory.workers.dev/v1/tools/scientific-calculator",
    "mcp_tool": "scientific_calculator",
    "example": {
        "inputs": {
            "mode": "basic",
            "expr_basic": "2 + 3 × 4"
        },
        "output": "Result: 14\nScientific notation: 1.4 × 10^1\nRead as: 2 + 3 × 4"
    }
}