Performs mathematical calculations and conversions. Use when user asks to "calculate", "compute", "what is the result of", "convert units", or needs math help.
Automatically performs mathematical calculations, unit conversions, and numeric computations.
This skill activates when the user needs mathematical help:
Determine what kind of calculation is needed:
Basic Arithmetic:
150 + 75 = 225
1000 - 234 = 766
45 * 12 = 540
100 / 4 = 25
Percentages:
25% of 200 = 50
200 increased by 15% = 230
Change from 50 to 75 = 50% increase
15 is what % of 60? = 25%
Unit Conversions:
Common conversions:
- 1 mile = 1.60934 kilometers
- 1 pound = 0.453592 kilograms
- 1 inch = 2.54 centimeters
- Celsius to Fahrenheit: (C × 9/5) + 32
- Fahrenheit to Celsius: (F - 32) × 5/9
Financial Calculations:
Simple Interest: Principal × Rate × Time
Compound Interest: Principal × (1 + Rate)^Time
Percentage Profit: (Profit / Cost) × 100
Always show:
User: "What is 15% of 850?"
Response:
Calculating 15% of 850:
Method: (15/100) × 850
= 0.15 × 850
= 127.50
Answer: 127.50
User: "Convert 75 degrees Fahrenheit to Celsius"
Response:
Converting 75°F to Celsius:
Formula: (F - 32) × 5/9
= (75 - 32) × 5/9
= 43 × 5/9
= 215/9
= 23.89°C
Answer: 75°F = 23.89°C (approximately 24°C)
User: "If I invest $5000 at 6% compound interest for 3 years, how much will I have?"
Response:
Calculating compound interest:
Given:
- Principal (P) = $5,000
- Annual Rate (r) = 6% = 0.06
- Time (t) = 3 years
Formula: A = P(1 + r)^t
= 5000(1 + 0.06)^3
= 5000(1.06)^3
= 5000 × 1.191016
= $5,955.08
Answer: After 3 years, you'll have $5,955.08
Interest earned: $955.08
User: "My recipe serves 4 but I need it for 7 people. It calls for 2.5 cups of flour. How much do I need?"
Response:
Scaling recipe from 4 to 7 people:
Scale factor: 7 ÷ 4 = 1.75
Original flour: 2.5 cups
Scaled flour: 2.5 × 1.75 = 4.375 cups
Answer: You need 4.375 cups of flour (approximately 4⅜ cups)
Tip: This is closest to 4.5 cups (4½ cups) for easier measuring.
User: "Sales went from 1,200 to 1,650. What's the percentage increase?"
Response:
Calculating percentage change:
Original: 1,200
New: 1,650
Change: 1,650 - 1,200 = 450
Formula: (Change / Original) × 100
= (450 / 1,200) × 100
= 0.375 × 100
= 37.5%
Answer: 37.5% increase in sales