README ¶
Limits Simulator
A Limits Simulator is a command-line tool that helps users visualize the limits of mathematical functions as a variable approaches a specific value.
Video:- https://www.youtube.com/watch?v=ZRb3XgcyKiI
Table of Contents
- Introduction
- Features
- Technologies Used
- Supported Operating Systems
- Limits of "Limits Simulator"
- Setup & Installation
- Usage
- License
- Credits
Introduction
The Limits Simulator is a tool designed to help users understand the concept of limits in calculus. It allows users to input a mathematical function, a value for the variable, and a range around the variable to visualize the behavior of the function as the variable approaches the given value.
Features
- Allows users to input a mathematical function and a value for the variable.
- Visualizes the behavior of the function as the variable approaches the given value.
- Supports a range around the variable for visualization.
Technologies Used
- Language/Framework: Go
- Library: govaluate (for evaluating mathematical expressions)
Supported Operating Systems
Also Support
- aix/ppc64
- android/386
- android/amd64
- android/arm
- android/arm64
- darwin/amd64
- darwin/arm64
- dragonfly/amd64
- freebsd/386
- freebsd/amd64
- freebsd/arm
- freebsd/arm64
- freebsd/riscv64
- illumos/amd64
- ios/amd64
- ios/arm64
- js/wasm
- linux/386
- linux/amd64
- linux/arm
- linux/arm64
- linux/loong64
- linux/mips
- linux/mips64
- linux/mips64le
- linux/mipsle
- linux/ppc64
- linux/ppc64le
- linux/riscv64
- linux/s390x
- netbsd/386
- netbsd/amd64
- netbsd/arm
- netbsd/arm64
- openbsd/386
- openbsd/amd64
- openbsd/arm
- openbsd/arm64
- openbsd/ppc64
- plan9/386
- plan9/amd64
- plan9/arm
- solaris/amd64
- wasip1/wasm
- windows/386
- windows/amd64
- windows/arm
- windows/arm64
Limits of "Limits Simulator"
- The function variable should be denoted by 'x'.
- Trigonometric functions (e.g., sin, cos, tan) are not supported.
- The value of X cannot be set to infinity (e.g., x->infinity is not supported).
- Only these arithmetic operators are supported: -, , /, ** or ^, % (* and ^ refers to "take to the power of", for example 2**2 or 2^2 is equal to 4.)
Setup & Installation
Recommended Way for Most Users
-
Step 1: Download the executable file for your operating system:
-
Step 2: Once downloaded, navigate to the directory where the executable is located.
-
Step 3: Give execute permission (only on linux and macos) to the executable by running the following command:
chmod +x ./limits-linux-amd64
- Step 4: Open a terminal or command prompt in that directory.
- Step 5: Run the executable file by typing its name and pressing Enter.
- For example, on Windows:
limits-windows-amd64.exe
- For example, on macOS:
./limits-darwin-amd64
- For example, on Linux:
./limits-linux-amd64
- For example, on Windows:
Build by Yourself
Prerequisites
- Go installed on your machine.
Steps
- Clone the repository:
git clone https://github.com/mrbhanukab/limits.git
. - Navigate to the project folder:
cd limits
- Build the project:
go build
. - Run the executable file for your operating system located in the
build
directory.
Usage
To use the Limits Simulator, follow these steps:
- Enter a mathematical function when prompted.
- Provide a value for the variable (x).
- Specify the range around the variable for visualization.
- The simulator will display the behavior of the function as the variable approaches the given value.
you@computer:/path/to/project/limits$ ./build/limits-linux-amd64
{Logo & Notes will visible here}
Enter the function:
2*x^5+8*x-5
Value of X (x->?):
0
Range around X (e.g., if you enter 2, it will use 2 -> -2):
4
Step size for evaluation:
1
⬇️ -4.00 -> -2085.00
⬇️ -3.00 -> -515.00
⬇️ -2.00 -> -85.00
⬇️ -1.00 -> -15.00
⬇️ 0.00 -> -5.00
🔽
0.00 -> -5.00
🔼
⬆️ 1.00 -> 5.00
⬆️ 2.00 -> 75.00
⬆️ 3.00 -> 505.00
⬆️ 4.00 -> 2075.00
Limit of 2*x**5+8*x-5 as (x -> 4.00) approaches -5.00
License
This project is licensed under the MIT License. See the LICENSE file for details.
Credits
Limits Simulator is created by Bhanuka Bandara. Feel free to contribute, report issues, or provide suggestions on the GitHub repository.
Documentation ¶
There is no documentation for this package.