Easy Prompt
代码能力文字进阶

专业科学计算器

构建一个功能全面的科学计算器,支持基本运算、科学函数、内存操作、历史记录、键盘输入、错误处理、响应式设计和多种主题。

提示词正文

复制后可直接粘贴到模型或内部评测工具。

Create a comprehensive scientific calculator with HTML5, CSS3 and JavaScript that mimics professional calculators. Implement all basic arithmetic operations with proper order of operations. Include advanced scientific functions (trigonometric, logarithmic, exponential, statistical) with degree/radian toggle. Add memory operations (M+, M-, MR, MC) with visual indicators. Maintain a scrollable calculation history log that can be cleared or saved. Implement full keyboard support with appropriate key mappings and shortcuts. Add robust error handling for division by zero, invalid operations, and overflow conditions with helpful error messages. Create a responsive design that transforms between standard and scientific layouts based on screen size or orientation. Include multiple theme options (classic, modern, high contrast). Add optional sound feedback for button presses with volume control. Implement copy/paste functionality for results and expressions.

使用场景

教学演示工程计算日常使用

参考输出

一个完整的计算器界面,包含基本运算、科学函数、内存按键、历史记录区域和主题切换功能。

评分维度

1. 基本运算和运算顺序是否正确;2. 科学函数是否齐全且切换正常;3. 内存操作是否可用;4. 历史记录是否可清除和保存;5. 键盘支持是否完善;6. 错误处理是否友好;7. 响应式布局是否合理;8. 主题切换是否生效;9. 声音反馈和音量控制;10. 复制粘贴功能。

试用与模板

填写变量后复制,或保存到个人工作台模板。

这个模板没有变量,可直接复制使用。

用户评分

0 个评分
-

你的评分

登录后评分

评论

0

登录后评论

相关提示词