{"id":430376,"date":"2018-03-14T09:43:39","date_gmt":"2018-03-14T09:43:39","guid":{"rendered":"https:\/\/essaypaper.org\/the-preparation-of-fourier-series-matlab\/"},"modified":"2018-10-24T09:00:23","modified_gmt":"2018-10-24T09:00:23","slug":"the-preparation-of-fourier-series-matlab","status":"publish","type":"post","link":"https:\/\/www.benedictsol.com\/blogs\/the-preparation-of-fourier-series-matlab\/","title":{"rendered":"The Preparation of Fourier Series Matlab"},"content":{"rendered":"<div>\n<blockquote>\n<p><i><span style=\"font-weight: 400;\">In some cases, this <\/span><\/i><i>Fourier series\u00a0<\/i><i><span style=\"font-weight: 400;\">Matlab\u00a0sample can help students to deal with their own homework. From the point of view of a student, the sample is a great helper if you have similar homework. However, if you don\u2019t want to do your assignment on your own, you can leave it to Assignment.EssayShark.com. We have already helped numerous students with different kinds of assignments. You can check out our blog to see more samples in order to understand what type of tasks our experts can solve.<\/span><\/i><\/p>\n<p><i><span style=\"font-weight: 400;\">In the course of completing your order, you have the opportunity to contact the expert directly via chat. You can plan your time as you want while we are completing your order. Your problem solution will be carried out by a professional in your sphere of study. The assignment will be created according to your requirements and academic standards. Due to the fact that homework can be difficult for an average student, we have decided to offer our help to those in need. The assignment will be executed in the fastest possible time, so you will receive a completed order even before the deadline.<\/span><\/i><\/p>\n<\/blockquote>\n<p><u><b>Task:<\/b><\/u><\/p>\n<p><span style=\"font-weight: 400;\">Using Fourier series methods, solve the heat equation following the inhomogeneous initial boundary value problem using Matlab:<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7826\" src=\"https:\/\/assignment.essayshark.com\/blog\/wp-content\/uploads\/2017\/12\/Engineering5_Jun_01.jpg\" alt=\"\" width=\"387\" height=\"351\"  \/><\/p>\n<p><u><b>Solution:<\/b><\/u><\/p>\n<p><span style=\"font-weight: 400;\">First we need to set the constant:<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7828\" src=\"https:\/\/assignment.essayshark.com\/blog\/wp-content\/uploads\/2017\/12\/Engineering5_Jun_02.jpg\" alt=\"\" width=\"297\" height=\"241\"\/><\/p>\n<p><span style=\"font-weight: 400;\">The solution to this problem can be written as follows:<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7830\" src=\"https:\/\/assignment.essayshark.com\/blog\/wp-content\/uploads\/2017\/12\/Engineering5_Jun_03.jpg\" alt=\"\" width=\"460\" height=\"145\"  \/><\/p>\n<p><span style=\"font-weight: 400;\">Where the coefficient <\/span><i><span style=\"font-weight: 400;\">a<\/span><\/i><i><span style=\"font-weight: 400;\"><sub>n<\/sub><\/span><\/i> <span style=\"font-weight: 400;\">(<\/span><i><span style=\"font-weight: 400;\">t<\/span><\/i><span style=\"font-weight: 400;\">)<\/span><span style=\"font-weight: 400;\"> satisfies the initial value problem:<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7832\" src=\"https:\/\/assignment.essayshark.com\/blog\/wp-content\/uploads\/2017\/12\/Engineering5_Jun_04.jpg\" alt=\"\" width=\"348\" height=\"250\"  \/><\/p>\n<p><span style=\"font-weight: 400;\">The values c1, c2, c3 \u2026 are the Fourier sine coefficients of the constant function 10-7:<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7834\" src=\"https:\/\/assignment.essayshark.com\/blog\/wp-content\/uploads\/2017\/12\/Engineering5_Jun_05.jpg\" alt=\"\" width=\"677\" height=\"588\"  \/><\/p>\n<p><span style=\"font-weight: 400;\">The coefficient <\/span><i><span style=\"font-weight: 400;\">a<\/span><\/i><i><span style=\"font-weight: 400;\"><sub>n<\/sub><\/span><\/i> <span style=\"font-weight: 400;\">(<\/span><i><span style=\"font-weight: 400;\">t<\/span><\/i><span style=\"font-weight: 400;\">)<\/span><span style=\"font-weight: 400;\"> is given by the following formula:<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7836\" src=\"https:\/\/assignment.essayshark.com\/blog\/wp-content\/uploads\/2017\/12\/Engineering5_Jun_06.jpg\" alt=\"\" width=\"1100\" height=\"445\"  \/><\/p>\n<p><span style=\"font-weight: 400;\">Next we can define the partial Fourier series of the solution:<\/span><\/p>\n<p><span style=\"font-weight: 400; color: #4472c4;\">S=symsum(a*sin(n*pi*x\/100),n,1,10);<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Fourier series is required for a qualitatively correct solution.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7838\" src=\"https:\/\/assignment.essayshark.com\/blog\/wp-content\/uploads\/2017\/12\/Engineering5_Jun_07.jpg\" alt=\"\" width=\"394\" height=\"256\"  \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7840\" src=\"https:\/\/assignment.essayshark.com\/blog\/wp-content\/uploads\/2017\/12\/Engineering5_Jun_08.jpg\" alt=\"\" width=\"578\" height=\"549\"  \/><\/p>\n<p><span style=\"font-weight: 400;\">The wiggles in the graph suggest that 10 terms is not enough for a correct graph.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Therefore, we will try again with 20 terms:<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7842\" src=\"https:\/\/assignment.essayshark.com\/blog\/wp-content\/uploads\/2017\/12\/Engineering5_Jun_09.jpg\" alt=\"\" width=\"571\" height=\"266\"  \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7844\" src=\"https:\/\/assignment.essayshark.com\/blog\/wp-content\/uploads\/2017\/12\/Engineering5_Jun_10.jpg\" alt=\"\" width=\"578\" height=\"560\"  \/><\/p>\n<p><span style=\"font-weight: 400;\">Now let\u2019s try with 40 terms:<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7846\" src=\"https:\/\/assignment.essayshark.com\/blog\/wp-content\/uploads\/2017\/12\/Engineering5_Jun_11.jpg\" alt=\"\" width=\"584\" height=\"255\"  \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7848\" src=\"https:\/\/assignment.essayshark.com\/blog\/wp-content\/uploads\/2017\/12\/Engineering5_Jun_12.jpg\" alt=\"\" width=\"856\" height=\"812\"  \/><\/p>\n<p><span style=\"font-weight: 400;\">It appears that 20 terms is enough for a qualitatively correct graph at t=600.<\/span><\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>In some cases, this Fourier series\u00a0Matlab\u00a0sample can help students to deal with their own homework. From the point of view of a student, the sample is a great helper if you have similar homework. However, if you don\u2019t want to <a href=\"https:\/\/www.benedictsol.com\/blogs\/the-preparation-of-fourier-series-matlab\/\" class=\"read-more\">Read More &#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25,1],"tags":[],"class_list":["post-430376","post","type-post","status-publish","format-standard","hentry","category-samples","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts\/430376","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/comments?post=430376"}],"version-history":[{"count":0,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts\/430376\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/media?parent=430376"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/categories?post=430376"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/tags?post=430376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}