Differentiation, MATLAB in Mathematics

Differentiation:

The derivative of a function y = f(x) can be written as follows

107_Differentiation.png

or f  '(x) and is defined as the rate of change of the dependent variable y with respect to x. The derivative is the slope of line tangent to the function at given point.

The MATLAB has a function polyder that will find the derivative of a polynomial. For illustration, for the polynomial x3 + 2x2 - 4x + 3, that would be represented by the vector

 [1 2 - 4 3], the derivative is found by:

>> origp = [1 2 -4 3];

>> diffp = polyder(origp)

diffp =

3 4 -4

that shows that the derivative is the polynomial 3x2 + 4x - 4. The function polyval can be used then to find the derivative for certain values of x; for illustration for x = 1, 2, and 3:

>> polyval(diffp, 1:3)

ans =

3 16 35

The derivative can be written as folows 

692_Differentiation1.png

and can be approximated by difference equation.

Posted Date: 10/22/2012 8:59:42 AM | Location : United States







Related Discussions:- Differentiation, Assignment Help, Ask Question on Differentiation, Get Answer, Expert's Help, Differentiation Discussions

Write discussion on Differentiation
Your posts are moderated
Related Questions
Illustration of nested function: The output arguments are distinct from variables. The scope of an output argument is merely the nested function; and it cannot be used in the

This project requires you to use the ideas of Chapter 25 regarding maximization of a function. Here we assume that evolution has acted to generate highly efficient foragers. By hig

Logical Vectors: The relational operators can also be used with the vectors and matrices. For illustration, let's say that there is a vector, and we want to compare each eleme

The variance is generally defined in terms of the arithmetic mean as: At times, though, the denominator is defined as n instead of n - 1. The default definition used by t

Blanks function: The blanks function will generate a string consisting of n blank characters-that are kind of hard to see here! Though, in a MATLAB if the mouse is moved to hi

Standard Deviation The standard deviation is the square root of variance: The built-in function in a MATLAB for the standard deviation is known as std; the standard dev

Nested IF-ELSE statements: The if-else statement is used to select between the two statements. In order to select from more than two statements, the if-else statements can als

Concatenation: The String concatenation means to join the strings altogether. Of course, as strings are merely vectors of the characters, the technique of concatenating vector

fprintf function - File function: The fprintf function really returns the number of bytes which was written to the file, therefore if you do not want to see that number, suppr

Example of Symbolic Expression When there is more than one variable, the MATLAB selects which to solve for. In the illustration below, the equation ax 2 + bx = 0 is solved. Th