Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

SMA209-Mathematics 2 MATLAB assignment Total marks: 30 Submission deadline: 30/05/2021, 23.59 pm Question 1 (Fourier series) Calculate a0, an, bn and the sum of first six partial sums, and show their...

1 answer below »
SMA209-Mathematics 2 MATLAB assignment
Total marks: 30
Submission deadline: 30/05/2021, 23.59 pm
Question 1 (Fourier series)
Calculate a0, an, bn and the sum of first six partial sums, and show their co
esponding plots
using MATLAB.
[Marks 10]
Question 2 (Ordinary Differential equation)
Solve the following initial value problem using MATLAB
xxyy 2sintan =+ï‚¢ , 1)0( =y
[Marks 5]
Question 3 (Laplace transformation)
Find a general solution using MATLAB and Laplace Transform for the following differential
equation:
XXXXXXXXXXtyy sin2'5 =+
[Marks 15]
Note: You must attach the file for the MATLAB script (.m file) and a word document
which provides an organised compilation of the MATLAB results and screen shots.
Helpful link for Fourier series and Laplace Transform using MATLAB:
https:
au.mathworks.com/help/curvefit/fourier.html
https:
au.mathworks.com/help/symbolic/sym.laplace.html?searchHighlight=laplace%20trans
form&s_tid=srchtitle
https:
au.mathworks.com/help/symbolic
eferencelist.html?type=function&s_tid=CRUX_top
nav
https:
au.mathworks.com/help/curvefit/fourier.html
https:
au.mathworks.com/help/symbolic/sym.laplace.html?searchHighlight=laplace%20transform&s_tid=srchtitle
https:
au.mathworks.com/help/symbolic/sym.laplace.html?searchHighlight=laplace%20transform&s_tid=srchtitle
https:
au.mathworks.com/help/symbolic
eferencelist.html?type=function&s_tid=CRUX_topnav
https:
au.mathworks.com/help/symbolic
eferencelist.html?type=function&s_tid=CRUX_topnav
Answered Same Day Jun 01, 2021

Solution

Pankaj answered on Jun 01 2021
137 Votes
Q. 1: Fourier series
Calculate and the sums of first six partial sums, and show their co
esponding plots using MATLAB.
On
Ans.:
The given interval is, .
Therefore, the interval-period used for Fourier series is, i.e.
Fourier series is expressed as,
MATLAB’s Symbolic Maths toolbox is used to define the given function and its Fourier series coefficients.
The coefficients evaluated for truncation order upto sixth harmonics are obtained as follows (MATLAB result):
The plots of given...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here