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
Algorithm for the function explaine: The algorithm for the function explaine is as shown:  Print a description of e, the exp function, and how to find the approximate va

Function fieldnames - structure functions: The function fieldnames will return the names of the fields which are contained in the structure variable. >> pack_fields = fiel

Illustration of initializing the data structure: illustration of initializing the data structure by preallocating is here as shown: >> cyls(3) = struct('code', 'c', 'dimen

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

Example Exit modular program: In the illustration below, the user  Chose the Limit; -   Whenever prompted for n, entered the two invalid values before finally ente

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

Implementation of binary search: The binary search can be implemented as a recursive function. The recursive function below also implements this binary search algorithm. It re

analyzing traffic; determine motion of flow; calculate tracklets; detect abnormalities;

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

Illustration of anonymous functions: Dissimilar functions stored in the M-files, when no argument is passed to an anonymous function, the parentheses should still be in the fu