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
Expanding a function: The expand function will multiply out terms, and factor will do the opposite: >> expand((x+2)*(x-1)) ans = x^2 x-2 >> factor(ans)

Illustration of gauss-jordan: Here's an illustration of performing such substitutions by using MATLAB >> a = [1 3 0; 2 1 3; 4 2 3] a = 1 3 0 2 1 3 4 2

Algorithm for subfunction: The algorithm for subfunction askforn is as shown:  Prompt the user for the positive integer n.  Loop to print an error message and reprom

Interpolation and extrapolation: In most cases, it is desired to estimate values other than at the sampled data points. For illustration, we may want to estimate what the temp

Illustration of Graphics properties: A particular property can also be exhibited, for illustration, to view the line width:     >> get(hl,'LineWidth')     ans =

IS Functions for Strings: There are many functions for strings, that return logical true or false. The function isletter returns the logical true when the character is a lette

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

deblank function: The deblank function eliminates only trailing blanks from the string, not leading the blanks. The strtrim function will eliminate both the leading and traili

For Loops which do not use an iterator Variable in the action: In all the illustrations that we seen so far, the value of the loop variable has been used in same way in the ac

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