Help calculating Fourier series coefficients











up vote
-1
down vote

favorite












I am trying to solve the following problem in my textbook.



Use the Fourier series analysis equation (3.39) to calculate the coefficients $a_k$ for the continuous-time periodic signal
$$
xleft(tright) = left{
begin{array}{lr}
1.5, & 0 le x lt 1\
-1.5, & 1 le x lt 2
end{array}
right.\
$$

with fundamental frequency $w_0 = pi$.



Equation 3.39: $$a_k = frac{1}{T}int_Tx(t)e^{-jkw_0t}dt$$ where $T$ is the fundamental period and $j$ is the imaginary unit.



The correct answer is
$$
a_k = left{
begin{array}{lr}
0, & k = 0\
e^{-jkpi/2}frac{3sin(frac{k}{pi/2})}{kpi}, & k ne 0
end{array}
right.\
$$

But this is not the answer I get. My answer is
$$
a_k = left{
begin{array}{lr}
0, & k = 0\
frac{3}{j4kw_0}(1 + e^{-j2kw_0}), & k ne 0
end{array}
right.\
$$

How do I get the correct answer?










share|cite|improve this question






















  • Sorry if this question seems too basic. I'm trying to teach myself about Fourier series, and as you can see, it's not going very well.
    – PurpleMoonrise
    Nov 17 at 1:22















up vote
-1
down vote

favorite












I am trying to solve the following problem in my textbook.



Use the Fourier series analysis equation (3.39) to calculate the coefficients $a_k$ for the continuous-time periodic signal
$$
xleft(tright) = left{
begin{array}{lr}
1.5, & 0 le x lt 1\
-1.5, & 1 le x lt 2
end{array}
right.\
$$

with fundamental frequency $w_0 = pi$.



Equation 3.39: $$a_k = frac{1}{T}int_Tx(t)e^{-jkw_0t}dt$$ where $T$ is the fundamental period and $j$ is the imaginary unit.



The correct answer is
$$
a_k = left{
begin{array}{lr}
0, & k = 0\
e^{-jkpi/2}frac{3sin(frac{k}{pi/2})}{kpi}, & k ne 0
end{array}
right.\
$$

But this is not the answer I get. My answer is
$$
a_k = left{
begin{array}{lr}
0, & k = 0\
frac{3}{j4kw_0}(1 + e^{-j2kw_0}), & k ne 0
end{array}
right.\
$$

How do I get the correct answer?










share|cite|improve this question






















  • Sorry if this question seems too basic. I'm trying to teach myself about Fourier series, and as you can see, it's not going very well.
    – PurpleMoonrise
    Nov 17 at 1:22













up vote
-1
down vote

favorite









up vote
-1
down vote

favorite











I am trying to solve the following problem in my textbook.



Use the Fourier series analysis equation (3.39) to calculate the coefficients $a_k$ for the continuous-time periodic signal
$$
xleft(tright) = left{
begin{array}{lr}
1.5, & 0 le x lt 1\
-1.5, & 1 le x lt 2
end{array}
right.\
$$

with fundamental frequency $w_0 = pi$.



Equation 3.39: $$a_k = frac{1}{T}int_Tx(t)e^{-jkw_0t}dt$$ where $T$ is the fundamental period and $j$ is the imaginary unit.



The correct answer is
$$
a_k = left{
begin{array}{lr}
0, & k = 0\
e^{-jkpi/2}frac{3sin(frac{k}{pi/2})}{kpi}, & k ne 0
end{array}
right.\
$$

But this is not the answer I get. My answer is
$$
a_k = left{
begin{array}{lr}
0, & k = 0\
frac{3}{j4kw_0}(1 + e^{-j2kw_0}), & k ne 0
end{array}
right.\
$$

How do I get the correct answer?










share|cite|improve this question













I am trying to solve the following problem in my textbook.



Use the Fourier series analysis equation (3.39) to calculate the coefficients $a_k$ for the continuous-time periodic signal
$$
xleft(tright) = left{
begin{array}{lr}
1.5, & 0 le x lt 1\
-1.5, & 1 le x lt 2
end{array}
right.\
$$

with fundamental frequency $w_0 = pi$.



Equation 3.39: $$a_k = frac{1}{T}int_Tx(t)e^{-jkw_0t}dt$$ where $T$ is the fundamental period and $j$ is the imaginary unit.



The correct answer is
$$
a_k = left{
begin{array}{lr}
0, & k = 0\
e^{-jkpi/2}frac{3sin(frac{k}{pi/2})}{kpi}, & k ne 0
end{array}
right.\
$$

But this is not the answer I get. My answer is
$$
a_k = left{
begin{array}{lr}
0, & k = 0\
frac{3}{j4kw_0}(1 + e^{-j2kw_0}), & k ne 0
end{array}
right.\
$$

How do I get the correct answer?







fourier-series






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Nov 17 at 0:43









PurpleMoonrise

234




234












  • Sorry if this question seems too basic. I'm trying to teach myself about Fourier series, and as you can see, it's not going very well.
    – PurpleMoonrise
    Nov 17 at 1:22


















  • Sorry if this question seems too basic. I'm trying to teach myself about Fourier series, and as you can see, it's not going very well.
    – PurpleMoonrise
    Nov 17 at 1:22
















Sorry if this question seems too basic. I'm trying to teach myself about Fourier series, and as you can see, it's not going very well.
– PurpleMoonrise
Nov 17 at 1:22




Sorry if this question seems too basic. I'm trying to teach myself about Fourier series, and as you can see, it's not going very well.
– PurpleMoonrise
Nov 17 at 1:22















active

oldest

votes











Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3001829%2fhelp-calculating-fourier-series-coefficients%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3001829%2fhelp-calculating-fourier-series-coefficients%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Bundesstraße 106

Verónica Boquete

Ida-Boy-Ed-Garten