A modern, elegant calculator application built with Vue.js and Go, capable of performing advanced mathematical and physics calculations.
- Basic arithmetic operations (+, -, *, /)
- Power operations (use ^ for exponents)
- Parentheses for operation grouping
- Example:
2 * (3 + 4) - 5^2= -11
- Derivatives
- Numerical derivatives of mathematical functions
- Evaluate at specific points
- Integrals
- Numerical integration using trapezoidal rule
- Definite integrals with upper and lower bounds
- Matrix Addition
- Matrix Multiplication
- Determinant Calculation
- Input format:
[[1,2],[3,4]]
- Velocity (v = d/t)
- Force (F = ma)
- Kinetic Energy (KE = ½mv²)
- Potential Energy (PE = mgh)
- Ohm's Law (I = V/R)
- Length: Meters ↔ Feet
- Mass: Kilograms ↔ Pounds
- Temperature: Celsius ↔ Fahrenheit
-
Frontend: Vue.js with Vite
- Modern, responsive UI
- Real-time calculations
- Elegant glass-morphism design
-
Backend: Go
- Fast and efficient calculations
- RESTful API
- Powered by high-performance mathematical libraries
- Node.js (v14 or higher)
- Go (v1.16 or higher)
- npm or yarn
- Clone the repository
git clone <repository-url>
cd calc- Install frontend dependencies
npm install- Install Go dependencies
go mod tidy- Start the backend server
cd backend
go run main.go- Start the frontend development server (in a new terminal)
npm run dev- Open your browser and navigate to the URL shown in the terminal (typically http://localhost:5173)
- Input:
2 * (3 + 4) - 5^2 - Result: -11 (2 * 7 - 25)
- Derivative of x² at x = 2
- Result: 4
- Adding matrices:
- Matrix 1:
[[1,2],[3,4]] - Matrix 2:
[[1,1],[1,1]] - Result:
[[2,3],[4,5]]
- Matrix 1:
- Velocity:
- Distance: 100 meters
- Time: 20 seconds
- Result: 5 m/s
- Converting 100 meters to feet
- Result: 328.084 feet
Developed by Vignesh
This project is licensed under the MIT License