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
Patch function - graphics objects: The patch function is used to generate a patch graphics object, which is made from 2-dimensional polygons. The patch is defined by its verti

Removing Whitespace Characters: The MATLAB has functions which will eliminate trailing blanks from the end of a string and/or leading blanks from the starting of a string.

Illustration of Vectors of structures: In this illustration, the packages are vector which has three elements. It is shown as a column vector. Each and every element is a stru

IS Functions in Matlab: There are many functions which are built into MATLAB which test whether or not something is true; these function names start with the word is. As these

Function cirarea - Anonymous functions: The function handle name is cirarea. The one argument is passed to the input argument radius. The body of the function is an expression

Function issorted - set operations: The function issorted will return 1 for logical true when the argument is sorted in ascending order (minimum to maximum), or 0 for false wh

Executing a program: Running the program would be completed by typing the name of the script; this would call the other functions: >> calcandprintarea Whenever prompt

Function call: In the function call, not any arguments are passed so there are no input arguments in the function header. The function returns an output argument, therefore th

Example of Plotting from a Function: For illustration, the function can be called as shown below:      >> y = [1:2:9].^3      y =     1  27  125  343  729

Structures: The Structures are data structures which group together values which are logically related in what are known as the fields of structure. The benefit of structures