Derivatives and plot, MATLAB in Engineering

Use polyval to evaluate the derivative at xder. This will be the
% slope of the tangent line, "a" (general form of a line: y = ax + b).
% 4. Calculate the intercept, b, of the tangent line. Note that given x =
% xder, you can calculate y at xder. Then, since "a" is already known, you are left
% with one equation and one unknown, b.
Posted Date: 9/24/2012 9:17:42 PM | Location : United States







Related Discussions:- Derivatives and plot, Assignment Help, Ask Question on Derivatives and plot, Get Answer, Expert's Help, Derivatives and plot Discussions

Write discussion on Derivatives and plot
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

Defined a variable in work space: The variables defined in the script will become a part of the workspace: >> clear >> who >> mysummfile    15 >> who

Program to Counting in a while loop: The script initializes variable counter to 0. Then, in the while loop action, each and every time the user successfully enter a number, th

Illustration of Set operations: For illustration, given the vectors as shown below: >> v1 = 2:6 v1 = 2  3  4  5  6 >> v2 = 1:2:7 v2 = 1  3  5  7

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

Example of file ploting data: As the other example, a data file called 'compsales.dat' stores the sales figures (in millions) for divisions in a company. Each line in the f

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

Illustration of finding a sting: Let's enlarge this, and write a script which creates a vector of strings which are phrases. The outcome is not suppressed so that the string

Storing Strings in Cell Arrays: The one good application of a cell array is to store strings of various lengths. As cell arrays can store various types of values in the elemen

function imread: The function imread can read an image file, for illustration a JPEG (.jpg) file. The function reads color images into a 3-dimensional matrix. >> myimage1