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
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

Plotting from a Function: The following function creates a Figure Window as shown in figure, which shows various types of plots for similar y vector. The vector is passed as a

Text graphic function - Graphics objects: The text graphic function permits text to be printed in a Figure Window, involving special characters which are printed by using \spe

Changing Case: The MATLAB has two functions which convert strings to all uppercase letters, or all lowercase, known as the upper and lower. >> mystring = 'AbCDEfgh';

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

Polyhedron - graphics objects: The field polyhedron.vertices is a matrix in which each row presents (x,y,z) points. The field polyhedron.faces defines the faces: for illustrat

Comparing strings: There are few functions which compare strings and return logical true when they are equivalent or logical false when not. The function strcmp compares the s

1. Write a MATLAB function (upperTriangle) using the functions you previously created to convert a matrix to upper triangular form. Start with row 1, column1. Find the row that has

Indexing into Vectors of structures: Frequently, when the data structure is a vector of structures, it is essential to iterate through the vector in order by various fields. F