Skip to content

A scientific calculator using Js and nerdamer package which can also perform differentiation, integration, solve eqns and expand expression.

Notifications You must be signed in to change notification settings

prankush247/Scientific-Calculator

Repository files navigation

Scientific-Calculator

A scientific calculator which performs basic arithmetic and trignometric computation along with :

  • integration and differentiation operation
  • expand expression and solve equation

Overview

Basic arithmetic calculations including trignometry and logarithms can be solved with inbuilt eval() function.
But, in order to perform integration and differentiation operation or to expand and solve equation we need to use nerdamer package.


Getting started

  • Clone the nerdamer repository or clone this repo.
  • If you have cloned this repo there is no need to install additional modules.
  • If you have cloned nerdamer repository then copy these files into your present working directory.
    • nerdamer.core.js
    • all.min.js
    • Algebra.js (if needed)
    • Calculus.js (if needed)
    • Solve.js (if needed)
    • Extra.js (if needed)
  • now refer to nerdamer repo to get the script tag for your html.

The other method is to set up a node env.

  • install nerdamer by running these npm install nerdamer
  • install webpack and loaders with npm install webpack webpack-cli babel-loader @babel/core @babel/preset-env in present working directory.
  • Add a webpack.config.js file.
  • Add require statements in your Javascript file (refer nerdamer) .
  • Now run this npx webpack --config webpack.config.js to bundle code.
  • Add this to your html file <script src="bundle.js"></script>

Open Web Application : Scientific-Calculator

About

A scientific calculator using Js and nerdamer package which can also perform differentiation, integration, solve eqns and expand expression.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages