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.

Advanced Engineering Mathematics
10th Edition
ISBN:9780470458365
Author:Erwin Kreyszig
Publisher:Erwin Kreyszig
Chapter2: Second-order Linear Odes
Section: Chapter Questions
Problem 1RQ
icon
Related questions
Question
Please solve it quickly My ID number: 202002833
Task 1. Area between two curves
ID number: 202002833
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.
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.
Transcribed Image Text:Task 1. Area between two curves ID number: 202002833 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. 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 1. Area between two curves
• The entire MATLAB code for solving Task 1. (copy and paste your
code for solving task 1 below)
●
Your code goes here...
The figure with the two graphs.
Insert the figure here....
The x-coordinates of the intersection points between the two graphs
are ...
The value of the area bounded by the two graphs is ....
Transcribed Image Text:Task 1. Area between two curves • The entire MATLAB code for solving Task 1. (copy and paste your code for solving task 1 below) ● Your code goes here... The figure with the two graphs. Insert the figure here.... The x-coordinates of the intersection points between the two graphs are ... The value of the area bounded by the two graphs is ....
Expert Solution
steps

Step by step

Solved in 5 steps

Blurred answer
Recommended textbooks for you
Advanced Engineering Mathematics
Advanced Engineering Mathematics
Advanced Math
ISBN:
9780470458365
Author:
Erwin Kreyszig
Publisher:
Wiley, John & Sons, Incorporated
Numerical Methods for Engineers
Numerical Methods for Engineers
Advanced Math
ISBN:
9780073397924
Author:
Steven C. Chapra Dr., Raymond P. Canale
Publisher:
McGraw-Hill Education
Introductory Mathematics for Engineering Applicat…
Introductory Mathematics for Engineering Applicat…
Advanced Math
ISBN:
9781118141809
Author:
Nathan Klingbeil
Publisher:
WILEY
Mathematics For Machine Technology
Mathematics For Machine Technology
Advanced Math
ISBN:
9781337798310
Author:
Peterson, John.
Publisher:
Cengage Learning,
Basic Technical Mathematics
Basic Technical Mathematics
Advanced Math
ISBN:
9780134437705
Author:
Washington
Publisher:
PEARSON
Topology
Topology
Advanced Math
ISBN:
9780134689517
Author:
Munkres, James R.
Publisher:
Pearson,