Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 3 out of 26 pages
Other

APM2611 ASSIGNMENT 2 SEM 1 2021

Document preview thumbnail
Preview 3 out of 26 pages

This document contains solutions for APM2611 ASSIGNMENT 2 SEM 1 2021.All step by step workings are shown and explanation are provided.

Content preview

APM2611
ASSIGNMENT 2 2021


QUESTION 1


𝑻𝒉𝒆 𝑭𝒐𝒖𝒓𝒊𝒆𝒓 𝑺𝒆𝒓𝒊𝒆𝒔 𝒅𝒆𝒇𝒊𝒏𝒆𝒅 𝒐𝒏 𝒕𝒉𝒆 𝒊𝒏𝒕𝒆𝒓𝒗𝒂𝒍 (−𝒑, 𝒑):

𝒂𝒐 𝒏𝝅𝒙 𝒏𝝅𝒙
𝒇(𝒙) = + ∑ (𝒂𝒏 𝐜𝐨𝐬 ( ) +𝒃𝒏 𝐬𝐢𝐧 ( ))
𝟐 𝒑 𝒑
𝒏=𝟏
𝟏 𝒑
𝒘𝒉𝒆𝒓𝒆 ∶ 𝒂𝒐 = ∫ 𝒇(𝒙) 𝒅𝒙
𝒑 −𝒑
𝟏 𝒑 𝒏𝝅𝒙
𝒂𝒏 = ∫ 𝒇(𝒙) 𝐜𝐨𝐬 ( ) 𝒅𝒙
𝒑 −𝒑 𝒑
𝟏 𝒑 𝒏𝝅𝒙
𝒃𝒏 = ∫ 𝒇(𝒙) 𝐬𝐢𝐧 ( ) 𝒅𝒙
𝒑 −𝒑 𝒑

0, − 1 ≤ 𝑥 ≤ 0
𝑓(𝑥) = {
𝑥, 0≤𝑥≤1

𝑇ℎ𝑒 𝑓𝑜𝑢𝑟𝑖𝑒𝑟 𝑠𝑒𝑟𝑖𝑒𝑠 𝑜𝑛 𝑡ℎ𝑒 𝑖𝑛𝑡𝑒𝑟𝑣𝑎𝑙 [−1,1]

1 1
𝑎𝑜 = ∫ 𝑓(𝑥) 𝑑𝑥
1 −1
0 1
𝑎𝑜 = ∫ 0 𝑑𝑥 + ∫ 𝑥 𝑑𝑥
−1 0

1
𝑥2
𝑎𝑜 = 0 + [ ]
2 0

(1)2 (0)2
𝑎𝑜 = [ − ]
2 2

1
𝑎𝑜 =
2



1 𝑝 𝑛𝜋𝑥
𝑎𝑛 = ∫ 𝑓(𝑥) cos ( ) 𝑑𝑥
𝑝 −𝑝 𝑝

1 1 𝑛𝜋𝑥
𝑎𝑛 = [∫ 𝑓(𝑥) cos ( ) 𝑑𝑥]
1 −1 𝑝

, 1 0 𝑛𝜋𝑥 0
𝑛𝜋𝑥
𝑎𝑛 = [∫ 0 ∙ cos ( ) 𝑑𝑥 + ∫ 𝑥 cos ( ) 𝑑𝑥 ]
1 −1 1 −1 1



0 1
𝑎𝑛 = ∫ 0 ∙ cos(𝑛𝜋𝑥) 𝑑𝑥 + ∫ 𝑥 cos(𝑛𝜋𝑥) 𝑑𝑥
−1 0

1
𝑎𝑛 = ∫ 𝑥 cos(𝑛𝜋𝑥) 𝑑𝑥
0


𝑆𝑜𝑙𝑣𝑒 ∫ 𝑥 cos(𝑛𝜋𝑥) 𝑑𝑥 𝑏𝑦 𝑖𝑛𝑡𝑒𝑔𝑟𝑎𝑡𝑖𝑜𝑛 𝑏𝑦 𝑝𝑎𝑟𝑡𝑠


∫ 𝑥 cos(𝑛𝜋𝑥) 𝑑𝑥

𝐿𝑒𝑡: 𝑢 = 𝑥 𝑎𝑛𝑑 𝑑𝑣 = cos(𝑛𝜋𝑥)

sin(𝑛𝜋𝑥)
𝑑𝑢 = 1 𝑎𝑛𝑑 𝑣 =
𝑛𝜋

∫ 𝑢 𝑑𝑣 = 𝑢𝑣 − ∫ 𝑣 𝑑𝑢

sin(𝑛𝜋𝑥) sin(𝑛𝜋𝑥)
∫ 𝑥 cos(𝑛𝜋𝑥) 𝑑𝑥 = 𝑥 −∫ 𝑑𝑥
𝑛𝜋 𝑛𝜋

𝑥 sin(𝑛𝜋𝑥) 1
= − ∫ sin(𝑛𝜋𝑥) 𝑑𝑥
𝑛𝜋 𝑛𝜋

𝑥 sin(𝑛𝜋𝑥) 1 cos(𝑛𝜋𝑥)
= − (− )
𝑛𝜋 𝑛𝜋 𝑛𝜋

𝑥 sin(𝑛𝜋𝑥) cos(𝑛𝜋𝑥)
= +
𝑛𝜋 𝑛2 𝜋 2
1 1
𝑥 sin(𝑛𝜋𝑥) cos(𝑛𝜋𝑥)
𝑎𝑛 = ∫ 𝑥 cos(𝑛𝜋𝑥) 𝑑𝑥 = [ + ]
0 𝑛𝜋 𝑛2 𝜋 2 0

(1) sin(𝑛𝜋(1)) cos(𝑛𝜋(1)) (0) sin(𝑛𝜋(0)) cos(𝑛𝜋(0))
𝑎𝑛 = [( + 2 2 )−( + )]
𝑛𝜋 𝑛 𝜋 𝑛𝜋 𝑛2 𝜋 2

sin(𝑛𝜋) cos(𝑛𝜋) sin(0) cos((0))
𝑎𝑛 = [( + 2 2 )−( + )] ∴ sin(𝑛𝜋) = 0 𝑎𝑛𝑑 cos(𝑛𝜋) = (−1)𝑛
𝑛𝜋 𝑛 𝜋 𝑛𝜋 𝑛2 𝜋 2

0 (−1)𝑛 0 1
𝑎𝑛 = [( + 2 2 ) − ( + 2 2 )]
𝑛𝜋 𝑛 𝜋 𝑛𝜋 𝑛 𝜋

(−1)𝑛 1
𝑎𝑛 = 2 2
− 2 2
𝑛 𝜋 𝑛 𝜋

, (−1)𝑛 − 1
𝑎𝑛 =
𝑛2 𝜋 2



1 𝑝 𝑛𝜋𝑥
𝑏𝑛 = ∫ 𝑓(𝑥) sin ( ) 𝑑𝑥
𝑝 −𝑝 𝑝

1 1 𝑛𝜋𝑥
𝑏𝑛 = ∫ 𝑓(𝑥) sin ( ) 𝑑𝑥
1 −1 1
1
𝑏𝑛 = ∫ 𝑓(𝑥) sin(𝑛𝜋𝑥) 𝑑𝑥
−1

0 1
𝑏𝑛 = ∫ 0 sin(𝑛𝜋𝑥) 𝑑𝑥 + ∫ 𝑥 sin(𝑛𝜋𝑥) 𝑑𝑥
−1 0

1
𝑏𝑛 = ∫ 𝑥 sin(𝑛𝜋𝑥) 𝑑𝑥
0


𝑆𝑜𝑙𝑣𝑒 ∫ 𝑥 sin(𝑛𝜋𝑥) 𝑑𝑥 𝑏𝑦 𝑖𝑛𝑡𝑒𝑔𝑟𝑎𝑡𝑖𝑜𝑛 𝑏𝑦 𝑝𝑎𝑟𝑡𝑠:


∫ 𝑥 sin(𝑛𝜋𝑥) 𝑑𝑥

𝐿𝑒𝑡: 𝑢 = 𝑥 𝑎𝑛𝑑 𝑑𝑣 = sin(𝑛𝜋𝑥)

cos(𝑛𝜋𝑥)
𝑑𝑢 = 1 𝑎𝑛𝑑 𝑣 = −
𝑛𝜋

∫ 𝑢 𝑑𝑣 = 𝑢𝑣 − ∫ 𝑣 𝑑𝑢

𝑥 cos(𝑛𝜋𝑥) cos(𝑛𝜋𝑥)
∫ 𝑥 sin(𝑛𝜋𝑥) 𝑑𝑥 = − +∫ 𝑑𝑥
𝑛𝜋 𝑛𝜋

𝑥 cos(𝑛𝜋𝑥) 1
=− + ∫ cos(𝑛𝜋𝑥) 𝑑𝑥
𝑛𝜋 𝑛𝜋

𝑥 cos(𝑛𝜋𝑥) 1 sin(𝑛𝜋𝑥)
=− + ( )
𝑛𝜋 𝑛𝜋 𝑛𝜋

𝑥 cos(𝑛𝜋𝑥) sin(𝑛𝜋𝑥)
=− +
𝑛𝜋 𝑛2 𝜋 2
1 1
𝑥 cos(𝑛𝜋𝑥) sin(𝑛𝜋𝑥)
𝑏𝑛 = ∫ 𝑥 sin(𝑛𝜋𝑥) 𝑑𝑥 = [− + ]
0 𝑛𝜋 𝑛2 𝜋 2 0

(1) cos(𝑛𝜋(1)) sin(𝑛𝜋(1)) (0) cos(𝑛𝜋(0)) sin(𝑛𝜋(0))
𝑏𝑛 = [(− + 2 2 ) − (− + )]
𝑛𝜋 𝑛 𝜋 𝑛𝜋 𝑛2 𝜋 2

Document information

Uploaded on
July 11, 2021
Number of pages
26
Written in
2021/2022
Type
Other
Person
Unknown
$9.68

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
jctutor0814378595
4.2
(240)
Sold
1599
Followers
781
Items
150
Last sold
1 month ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions