# Mathematics

### Step by Step Solution to Univariate Limits using Maple 16

In the field of Computer Science the ability to quickly identify and use mathematical principles is a very important and necessary skill. All algorithms have their roots in Mathematics and particularly Calculus, limits and derivatives are a major part of Artificial Intelligence, Optimization and Natural Language algorithms. We as computer scientists must strive to keep up a close relationship with maths, however sometimes that relationship is strained because of other duties or just the effect of time on our brains. We often get to a point where the solution to a mathematical problem is more important than the elegance of the solution itself.

Whether it be for personal gratification, curiosity or homework related 🙂 sometimes we would like to have a step by step explanation of the problem along with its solution. This post demonstrates how to solve a univariate limit using the Maple 16 Limit Methods Tutor.

The first thing we will do is to open the Maple software.

Next enter * Student[Calculus1][LimitTutor]();* in the Maple editor and hit the Enter/Return key.

We will use the Limit tutor to solve the limit as taken from the book CALCULUS Ninth Edition: Dale Varberg, Edwin J. Purcell, Steven E. Rigdon: Page 64, example 3. -> (2*x^2-3*x-2)/(x-2)

Enter the equation as shown into the Function box, set “at” to 2 then hit the Start button.

Clicking on the **Next Step **button will proceed to the next step of the solution while providing helpful hints on the way.

The **All ****Steps **button will display all the steps and the final solution. Have fun with math 🙂

### Using MATLAB To Solve Systems of Linear Equations

For the times when you just don’t want to do the math you can use MATLAB’s solve function to evaluate systems of linear equations.

MATLAB command window input

solve('2*x+4*y+6*z = -12','2*x-3*y-4*z = 15','3*x+4*y+5*z = -8')