Execute a exponential function program, MATLAB in Engineering

Execute a exponential function program:

Running the script will take up the menu as shown in the figure:

2116_Execute a exponential function program.png

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.

 

 

 

Posted Date: 10/19/2012 8:37:53 AM | Location : United States







Related Discussions:- Execute a exponential function program, Assignment Help, Ask Question on Execute a exponential function program, Get Answer, Expert's Help, Execute a exponential function program Discussions

Write discussion on Execute a exponential function program
Your posts are moderated
Related Questions
Displaying the cell arrays: There are several techniques of displaying the cell arrays. The celldisp function shows all elements of the cell array:   >> celldisp(cellro

Illustration of Set operations: For illustration, given the vectors as shown below: >> v1 = 2:6 v1 = 2  3  4  5  6 >> v2 = 1:2:7 v2 = 1  3  5  7

Simplification Functions: There are numerous functions which work with expressions, and simplify the terms. Not all the expressions can be simplified, but the simplify functio

Replacement : Replace a row by adding it to (or subtract from it) a multiple of the other row. For a given row ri, this is written as   ri  - srj →  ri Note that when r

Vector operations: As vectors are special cases of matrices, the matrix operations elaborated (addition, subtraction, multiplication, scalar multiplication, transpose) work on

Algorithm for the function e: The algorithm for the function eoption is as shown: Use the menu function to show the 4 choices. Error-check (an error would take place

Anonymous Functions: The anonymous function is a very easy, one-line function. The benefit of an anonymous function is that it does not have to be stored in an M-file. This ca

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

Related Structure Functions: There are many functions which can be used with structures in a MATLAB. The function isstruct will return 1 for logical true when the variable arg

Function used in sound files: The MATLAB has numerous other functions which let you read and play sound or audio files. In the audio files, sampled data for each audio channel