Inspiration

Realizing the need for Calculus 3 related calculators from taking it this semester since it involves more complex and long calculations with formulas.

What it does

The calculator asks for input for three components for the 3d vector. Then, it takes the derivative of the vector and displays the result.

How we built it

We used c++ to build the project. It consists of one header file, one cpp file, and main.

Challenges we ran into

Dealing with the math expressions with variables in string data type was difficult since we had to deal with the sign, coefficient, and power at the same time. Keeping the signs of the variables was difficult since we were extracting each term from an expression to take the derivative individually and put them into the final expression again.

Accomplishments that we're proud of

We were able to create a derivative function that deals with a single term.

What we learned

It is difficult to deal with variables by string since the programming language does not understand the concept of a variable - creating a class means less difficulty in implementing a new concept.

What's next for 3D Vector Derivative Calculator

Add more derivative rules that are not only limited to polynomials. (ex. trigonometry, log, exponents) Expand the usable variable type into any symbols, not only using t. Build more arithmetic with vectors like dot product and cross product. Add more 3d vector-related formulas like curvature, tangential & normal components of acceleration. Build a variable class to deal with the sign, coefficient, and power more easily.

Built With

Share this project:

Updates