Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the graphs of the functions f(x) = 2m - x and g(x) = 2x - n where m and n are the maximum
Consider the graphs of the functions f(x) = 2m - x and g(x) = 2x - n where m and n are the maximum and mean values of the digits in your student-ID number. a) Create a vector v whose elements are the digits of your student-ID number. b) Create a variable m and assign the maximum digit in v to it. c) Create a variable n and assign the mean value of the digits in v to it. d) Define the function f(x) and g(x) above as anonymous functions. e) Plot the graphs of f(x) and g(x) on the same figure using the MATLAB function ezplot. f) Find the exact values of the x-coordinates of the intersection points between the two graphs using the MATLAB function solve. g) Find the area bounded by the two graphs. Task 2. Solids of revolution Consider the graphs of the function h(x) = 3 + sin(x) + cos(x), where m and n are the maximum and mean values of the digits in your student-ID number. a) Define the function h(x) as an anonymous function. b) Plot the graph of the function in the interval [-7, 7] using the MATLAB function ezplot. c) Find the derivative of h(x) using the MATLAB function diff. d) Evaluate the surface area of the solid of revolution generated by revolving the graph of h(x) around the x-axis between 0 and 27. e) Evaluate the volume of the solid of revolution generated by revolving the graph of h(x) around the x-axis between -27 and 2.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
a To create a vector v with the elements as the digits of your studentID number you would need to pr...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started