Concept explainers
a.
Sketch a
a.
Answer to Problem 7P
The scatter plot is
Explanation of Solution
Given: A set of the data is,
Calculation:
Let’s take a given data set sketch a scatter plot using MATLAB.
The function is using in the MATLAB to sketch a scatter plot is,
Program:
clc clear close all t=[1 2 3 4 5 6 7 8 9 10 11 12]; y=[40.0 43.1 54.6 64.2 73.8 81.8 85.8 83.9 76.9 66.8 55.5 44.5]; scatter(t,y,'linewidth',1.25'); set(gca,'Linewidth',1.2,'Fontsize',12); xlabel('t (Month)'); ylabel('Average temperature (^{\circ}F)') axis square axis tight
Query:
- First, we have defined the given data sets.
- Then using a function “scatter (t, y)” sketch a scatter plot.
b.
Calculate the cosine function using given data set.
b.
Answer to Problem 7P
The cosine function is,
Explanation of Solution
Given: A set of the data is,
Calculation:
First, we have to write a general equation of the cosine function,
Then, calculate the vertical shifting as,
Calculate the amplitude as,
Then, Calculate the phase shift as,
The value of c is,
Put all the value into the equation (1) then,
Program:
clc clear close all t=[0 1 2 3 4 5 6 7 8 9 10 11 12]; y=[50 62 73 80 71 60 51 43 29 20 28 41 49]; b=(1/2)*(max(y)+min(y)); a=(1/2)*(max(y)-min(y)); w=2*pi/max(t); idx=find(y==max(y)); c=t(idx); f=(a*cos(w*(t-c)))+b;
Query:
- First, we have defined the given data sets.
- Then calculate the value of b, a, w, and c.
- Put all the values into the equation of cosine function and get the solution.
c.
Sketch a graph of the function which is found in part (b).
c.
Answer to Problem 7P
The solution is,
Explanation of Solution
Given: A set of the data is,
Calculation:
Sketch a graph of the cosine function in MATLAB using function “plot (f, t)”.
The function is found in part (b) is,
Program:
clc clear close all t=[1 2 3 4 5 6 7 8 9 10 11 12]; y=[40.0 43.1 54.6 64.2 73.8 81.8 85.8 83.9 76.9 66.8 55.5 44.5]; b=(1/2)*(max(y)+min(y)); a=(1/2)*(max(y)-min(y)); w=2*pi/max(t); idx=find(y==max(y)); c=t(idx); f=(a*cos(w*(t-c)))+b; scatter(t,y,'linewidth',1.25'); hold on plot(t,f,'linewidth',1.25'); set(gca,'Linewidth',1.2,'Fontsize',12); xlabel('t (Month)'); ylabel('Average temperature (^{\circ}F)') axis square axis tight
Query:
- First, we have defined the given data sets.
- Then calculate the value of b, a, w, and c.
- Put all the values into the equation of cosine function and get the solution.
- Then sketch a graph.
d.
Calculate the sine function using given data set.
d.
Answer to Problem 7P
The cosine function is,
And the best fitting curve is,
Explanation of Solution
Given: A set of the data is,
Calculation:
First, we have to write a general equation of the cosine function,
Then, calculate the vertical shifting as,
Calculate the amplitude as,
Then, Calculate the phase shift as,
The value of c is,
Put all the value into the equation (1) then,
Program:
clc clear close all t=[1 2 3 4 5 6 7 8 9 10 11 12]; y=[40.0 43.1 54.6 64.2 73.8 81.8 85.8 83.9 76.9 66.8 55.5 44.5]; b=(1/2)*(max(y)+min(y)); a=(1/2)*(max(y)-min(y)); w=2*pi/max(t); idx=find(y==max(y)); c=t(idx); f=(a*sin(w*(t+c)))+b; scatter(t,y,'linewidth',1.25'); hold on plot(t,f,'linewidth',1.25'); set(gca,'Linewidth',1.2,'Fontsize',12); xlabel('t (Month)'); ylabel('Average temperature (^{\circ}F)') axis square axis tight
Query:
- First, we have defined the given data sets.
- Then calculate the value of b, a, w, and c.
- Put all the values into the equation of cosine function and get the solution.
- Then sketch a best fitting curve with the scatter plot.
Chapter 5 Solutions
Precalculus: Mathematics for Calculus - 6th Edition
- Ministry of Higher Education & Scientific Research Babylon University College of Engineering - Al musayab Automobile Department Subject :Engineering Analysis Time: 2 hour Date:27-11-2022 کورس اول تحليلات تعمیر ) 1st month exam / 1st semester (2022-2023)/11/27 Note: Answer all questions,all questions have same degree. Q1/: Find the following for three only. 1- 4s C-1 (+2-3)2 (219) 3.0 (6+1)) (+3+5) (82+28-3),2- ,3- 2-1 4- Q2/:Determine the Laplace transform of the function t sint. Q3/: Find the Laplace transform of 1, 0≤t<2, -2t+1, 2≤t<3, f(t) = 3t, t-1, 3≤t 5, t≥ 5 Q4: Find the Fourier series corresponding to the function 0 -5arrow_forwardMinistry of Higher Education & Scientific Research Babylon University College of Engineering - Al musayab Subject :Engineering Analysis Time: 80 min Date:11-12-2022 Automobile Department 2nd month exam / 1" semester (2022-2023) Note: Answer all questions,all questions have same degree. کورس اول شعر 3 Q1/: Use a Power series to solve the differential equation: y" - xy = 0 Q2/:Evaluate using Cauchy's residue theorem, sinnz²+cosz² dz, where C is z = 3 (z-1)(z-2) Q3/:Evaluate dz (z²+4)2 Where C is the circle /z-i/-2,using Cauchy's residue theorem. Examiner: Dr. Wisam N. Hassanarrow_forwardMinistry of Higher Education & Scientific Research Babylon University College of Engineering - Al musayab Subject :Engineering Analysis Time: 80 min Date:11-12-2022 Automobile Department 2nd month exam / 1" semester (2022-2023) Note: Answer all questions,all questions have same degree. کورس اول شعر 3 Q1/: Use a Power series to solve the differential equation: y" - xy = 0 Q2/:Evaluate using Cauchy's residue theorem, sinnz²+cosz² dz, where C is z = 3 (z-1)(z-2) Q3/:Evaluate dz (z²+4)2 Where C is the circle /z-i/-2,using Cauchy's residue theorem. Examiner: Dr. Wisam N. Hassanarrow_forwardWhich degenerate conic is formed when a double cone is sliced through the apex by a plane parallel to the slant edge of the cone?arrow_forward1/ Solve the following: 1 x + X + cos(3X) -75 -1 2 2 (5+1) e 5² + 5 + 1 3 L -1 1 5² (5²+1) 1 5(5-5)arrow_forwardI need expert handwritten solution.to this integralarrow_forwardExample: If ƒ (x + 2π) = ƒ (x), find the Fourier expansion f(x) = eax in the interval [−π,π]arrow_forwardExample: If ƒ (x + 2π) = ƒ (x), find the Fourier expansion f(x) = eax in the interval [−π,π]arrow_forwardPlease can you give detailed steps on how the solutions change from complex form to real form. Thanks.arrow_forwardarrow_back_iosSEE MORE QUESTIONSarrow_forward_ios
- Calculus: Early TranscendentalsCalculusISBN:9781285741550Author:James StewartPublisher:Cengage LearningThomas' Calculus (14th Edition)CalculusISBN:9780134438986Author:Joel R. Hass, Christopher E. Heil, Maurice D. WeirPublisher:PEARSONCalculus: Early Transcendentals (3rd Edition)CalculusISBN:9780134763644Author:William L. Briggs, Lyle Cochran, Bernard Gillett, Eric SchulzPublisher:PEARSON
- Calculus: Early TranscendentalsCalculusISBN:9781319050740Author:Jon Rogawski, Colin Adams, Robert FranzosaPublisher:W. H. FreemanCalculus: Early Transcendental FunctionsCalculusISBN:9781337552516Author:Ron Larson, Bruce H. EdwardsPublisher:Cengage Learning