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
EBK MATLAB: AN INTRODUCTION WITH APPLIC
- Introductory Circuit Analysis (13th Edition)Electrical EngineeringISBN:9780133923605Author:Robert L. BoylestadPublisher:PEARSONDelmar's Standard Textbook Of ElectricityElectrical EngineeringISBN:9781337900348Author:Stephen L. HermanPublisher:Cengage LearningProgrammable Logic ControllersElectrical EngineeringISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
- Fundamentals of Electric CircuitsElectrical EngineeringISBN:9780078028229Author:Charles K Alexander, Matthew SadikuPublisher:McGraw-Hill EducationElectric Circuits. (11th Edition)Electrical EngineeringISBN:9780134746968Author:James W. Nilsson, Susan RiedelPublisher:PEARSONEngineering ElectromagneticsElectrical EngineeringISBN:9780078028151Author:Hayt, William H. (william Hart), Jr, BUCK, John A.Publisher:Mcgraw-hill Education,