Examine exponential function - algorithm, MATLAB in Engineering

Examine exponential function:

The algorithm for the main script program is shown below:

  •  Call a function eoption to show the menu and return the user's choice.
  •  Loop until the user selects to exit the program. If the user has not selected to exit, the action of the loop, based on the user's preference, either is to:

- Call the function explaine to print a description of e

- Call the function limite which will prompt the user for n and compute an approximate value for e

- Prompt the user for x and call the function expfn which will print both an approximate value for ex and the value of the built-in exp(x). (Note: Any value for x is satisfactory; therefore the program does not require to error-check this value.)

  •  Call the function eoption to show the menu and return the user's choice again.

 

Posted Date: 10/19/2012 8:29:11 AM | Location : United States







Related Discussions:- Examine exponential function - algorithm, Assignment Help, Ask Question on Examine exponential function - algorithm, Get Answer, Expert's Help, Examine exponential function - algorithm Discussions

Write discussion on Examine exponential function - algorithm
Your posts are moderated
Related Questions
Intersect function and setdiff function: The intersect function rather than returns all the values which can be found in both of the input argument vectors. >> intersect(v

Example of Gauss-jordan: For a 2×2 system, this would results and for a 3 × 3 system, Note that the resulting diagonal form does not involve the right-most col

Creating a cell array: The other method of creating a cell array is easy to assign values to particular array elements and build it up element by element. Though, as explained

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

Variable Scope: The scope of any of variable is the workspace in which it is valid. The workspace generated in the Command Window is known as the base workspace. As we know

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

True color matrice: The true color matrices are the other way to represent images. The true color matrices are 3-dimensional matrices. The first two coordinates are the coordi

Reduced Row Echelon Form: The Gauss Jordan technique results in a diagonal form; for illustration, for a 3 × 3 system: The Reduced Row Echelon Forms take this one step

Finding sums and products: A very general application of a for loop is to compute sums and products. For illustration, rather than of just printing the integers 1 through 5, w

Gauss-Jordan: The Gauss-Jordan elimination technique begins in similar way which the Gauss elimination technique does, but then rather than of back-substitution, the eliminati