## Execute a exponential function program, MATLAB in Engineering

Assignment Help:

Execute a exponential function program:

Running the script will take up the menu as shown in the figure: Then, what happens will totally depend on which button(s) the user pushes. Each and every time the user pushes a button, the suitable function will be called and then this menu will appear again. This will carry on until the user presses the button Exit Program. Illustrations will be given here of running the script, with various sequences of button presses.

In the illustration below, the user

•  closed the menu window which origins the error message and brought up a new menu.
•  chose description.
•  chose the exit program.

>> eapplication

Error - please selects one of the options.

The constant e is known as the natural exponential base.

It is used broadly in mathematics and engineering.

The value of the constant e is ~ 2.1718

Raising e to the power of x is so general that this is known as the exponential function.

The approximation for e is found by using a limit.

The approximation for the exponential function can be found by using a series.

#### Dot product of matrix, Dot Product: The dot or inner product of two ve...

Dot Product: The dot or inner product of two vectors a and b is written as a • b and is defined as  In another words, this is like matrix multiplication when multiplyi

#### Logical scalar values - operators, Logical scalar values: The MATLAB a...

Logical scalar values: The MATLAB also has or and and operators which work element wise for the matrices: These operators will compare any of the two vectors or matric

#### Scaling - gauss-jordan elimination, Scaling:   change a row by multiplying ...

Scaling:   change a row by multiplying it by a non-zero scalar sri →  ri For illustration, for the matrix:

#### Function strncmp, Function strncmp: The function strncmp compares only...

Function strncmp: The function strncmp compares only the first n characters in the strings and ignores the rest. The initial two arguments are strings to compare, and third ar

#### Function cellplot - cell array, Function cellplot - Cell array: The fu...

Function cellplot - Cell array: The function cellplot place a graphical display of the cell array in a figure Window; though, it is a high-level view and fundamentally just di

#### Storing strings in cell arrays, Storing Strings in Cell Arrays: The on...

Storing Strings in Cell Arrays: The one good application of a cell array is to store strings of various lengths. As cell arrays can store various types of values in the elemen

#### Print from the structure, Print from the structure: To print from the ...

Print from the structure: To print from the structure, a disp function will show either the whole structure or a field. >> disp(package) item_no: 123 cost: 19.99

#### For loop, FOR Loop: The for loop, or the for statement, is used whenev...

FOR Loop: The for loop, or the for statement, is used whenever it is essential to repeat statement(s) in the script or function, and whenever it is known ahead of time how man

#### Program of passing arguments to functions, Program of passing arguments to ...

Program of passing arguments to functions: This was an illustration of a function which did not receive any input arguments nor did it return any output arguments; it easily a

#### Plotting file data, Plotting File data: It is frequently essential to ...

Plotting File data: It is frequently essential to read data from a file and plot it. Generally, this entails knowing the format of the file. For illustration, let us suppose t  