0% found this document useful (0 votes)
35 views

Composition of Functions and Their Graph

This document discusses plotting the graph of the function f(x)=x^3-4x^2+x-1 on the interval [-2,4] using Matlab. It provides the code to plot this function, add labels for the x and y axes and a title. The code plots the graph of the given cubic function over the specified interval.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views

Composition of Functions and Their Graph

This document discusses plotting the graph of the function f(x)=x^3-4x^2+x-1 on the interval [-2,4] using Matlab. It provides the code to plot this function, add labels for the x and y axes and a title. The code plots the graph of the given cubic function over the specified interval.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Question 7:

1.

Composition of functions and their graph


Let

f(x)=x^3-4^2+x-1

Use ezpolt to plot a graph of this function on the interval [-2,4].

Calculation:
>> ezplot('x^3-4*x^2+x-1',[-2,4])
>> xlabel('(x)');
>> ylabel('f(x)');
>> title('matlab composition pf function of function')
>>

Figure:

You might also like