Giter VIP home page Giter VIP logo

expresser's Introduction

Expresser

A fast and expressive Computer Algebra System focused on ease of use. No longer in development; this was made for learning purposes.

To compile the source code, you will need at least a C++17 compiler. Here's how to switch compilers in Visual Studio Community 2019.

Key features

  • Easily define your own functions and variables
Operators
Symbol Operation
( ) parentheses
! factorial
^ exponent
* multiply
/ divide
+ add
- either subtract or negate
% modulo
= set equal to (variable or function name must be on the left side)
== is equal to
!= is not equal to
>= is greater than or equal to
<= is less than or equal to
> is greater than
< is less than
Default Variables
Name Value Info
ans 0 Automatically changes to the latest answer that is not an error message
pi 3.141592653589793238462643383279502884197169399375105820974
e 2.718281828459045235360287471352662497757247093699959574966 Euler's number
g 9.80665 Acceleration due to gravity near Earth's surface in meters per second squared
phi 1.618033988749894848204586834365638117720309179805762862135 Golden Ratio
Default Functions
Name Parameters Info
help (variable or function name) Get help with a variable or function
help ( ) Get help with all variables and functions
setprecision (x) Adjust the precision of answers
sqrt (x) Square root
cbrt (x) Cube root
abs (x) Absolute value
pow (x, y) Power function
exp (x) Exponential function
ln (x) Logarithm base e
log (x) Logarithm base 10
lg (x) Logarithm base 2
logb (base, x) Logarithm base b
round (x) Round to the nearest integer
ceil (x) Round up
floor (x) Round down
sin (radians) Sine
cos (radians) Cosine
tan (radians) Tangent
csc (radians) Cosecant
sec (radians) Secant
cot (radians) Cotangent
asin (radians) Inverse sine
acos (radians) Inverse cosine
atan (radians) Inverse tangent
acsc (radians) Inverse cosecant
asec (radians) Inverse secant
acot (radians) Inverse cotangent
sinh (radians) Hyperbolic sine
cosh (radians) Hyperbolic cosine
tanh (radians) Hyperbolic tangent
csch (radians) Hyperbolic cosecant
sech (radians) Hyperbolic secant
coth (radians) Hyperbolic cotangent
asinh (radians) Inverse hyperbolic sine
acosh (radians) Inverse hyperbolic cosine
atanh (radians) Inverse hyperbolic tangent
acsch (radians) Inverse hyperbolic cosecant
asech (radians) Inverse hyperbolic secant
acoth (radians) Inverse hyperbolic cotangent
rand ( ) Generate a random number
quad (a, b, c) Quadratic formula
erf (x) Error function
erfc (x) Complementary error function
tgamma (x) Gamma function
lgamma (x) Log gamma function
cylinder_volume (radius, height)
sphere_volume (radius)
cone_volume (radius, height)
pyramid_volume (Base area, height)
simple_interest (Principal amount, rate, time)
compound_interest (Principal amount, rate, time, number of compounds)
present_value (Cash flow at period 1, rate of return, number of periods)
future_value (Cash flow at period 0, rate of return, number of periods)

Calc demo

expresser's People

Contributors

wheelercj avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.