To plot:
The
Answer to Problem 1P
Solution:
The plot of the function
Explanation of Solution
The given function is,
The
Substitute
Substitute
The value of
Write the MATLAB script to plot the function
MATLAB Code:
x = [-1:0.01:5];
% Define the vector x.
fx = (x.^2-3*x+7)./sqrt(2*x+5);
% Define the function fx.
plot(x,fx,'-g')
Save the MATLAB script with the name, Chapter5_29864_5_1P.m in the current folder. Execute the script by typing the script name at the command window to get the plot of the function
Result:
Conclusion:
The plot of the function
Want to see more full solutions like this?
Chapter 5 Solutions
MATLAB: An Introduction with Applications
- MATLAB: An Introduction with ApplicationsStatisticsISBN:9781119256830Author:Amos GilatPublisher:John Wiley & Sons IncProbability and Statistics for Engineering and th...StatisticsISBN:9781305251809Author:Jay L. DevorePublisher:Cengage LearningStatistics for The Behavioral Sciences (MindTap C...StatisticsISBN:9781305504912Author:Frederick J Gravetter, Larry B. WallnauPublisher:Cengage Learning
- Elementary Statistics: Picturing the World (7th E...StatisticsISBN:9780134683416Author:Ron Larson, Betsy FarberPublisher:PEARSONThe Basic Practice of StatisticsStatisticsISBN:9781319042578Author:David S. Moore, William I. Notz, Michael A. FlignerPublisher:W. H. FreemanIntroduction to the Practice of StatisticsStatisticsISBN:9781319013387Author:David S. Moore, George P. McCabe, Bruce A. CraigPublisher:W. H. Freeman