Thank you both! I'm sorry I didn't make it more clear in the post: I had figured out it was a spacing issue. I haven't used that program in about 5 years, so I was a bit rusty.
Does anyone else know what's going on? I have tried this several times, and am using a stackexchange dialog in which the following was adapted:
s[n_, x_] := ((Pi^2)/3) + Sum[((4 cos (kx))/(k^2)), {k, 1, n}]
partialsums = Table[s[n, x], {n, 1, 5}];
Plot[Evaluate[partialsums], {x, 0, 4 Pi}]...
Yes, I used Pi. I was just showing the actual forumula. Why would I not be able to plot 4cos(nx)/n^2 as (-1)/n^2, since I am asked to graph from 0 to 4 pi (cos 5pi = cos pi). It seems easier to keep it like the latter, in terms of n. I shound't start at zero, however; that's outside my series...
Homework Statement
I just have to graph this function to see where the "Gibbs phenomenon" occurs in its Fourier Series representation. I am pretty sure I integrated correctly.Homework Equations
Fourier Series
The Attempt at a Solution...
Is there any type of job that utilizes scientific computation that does not require a PhD? I really enjoy DSP (digital signals processing), yet it seems like most of those do not want anyone aside from an electrical engineer. My educational background is "too much" but I'll explain it as I go...
Yes, isRooted. I'm in NetBeans, which uses gdb. The indentation is actually auto-formatted in NetBeans itself? It doesn't add spacing with operators. I should, however.
I'm using 0 to avoid preprocessor time. Apparently, NULL is just a C++ macro or #define NULL 0
This works:
bool...
Right Answer
Yes, same answer youu got, forgot the constant coeff. I should do this much more neatly in lyx; the whole issue was adding improperly there.
Ok, so I finally got it done...
Homework Statement
The problem states that a cube encloses charge. This cube is given in three space by <0,0,0> and <a,a,a>. The electric field is given by:
\hat{E}=\frac{4e}{a^{2}e_{0}}[\frac{xy}{a^{2}}\hat{i}+\frac{(y-x)}{a}\hat{j}+\frac{xyz}{a^{2}}\hat{k}]. I am to find the total charge...
Thank you for keeping it in reality.
I don't really care much at all about Ivy or not. For some reason, my professors seem to be pushing that, even though I believed it was rather infeasible.
I completely understand not getting into an Ivy, but what would preclude me from getting into a...
Hello everyone,
I am a recently graduated senior with a cum GPA of 3.4 with degrees in Applied Mathematics (with a concentration in Physics and Biology) and Chemistry. It would have been higher, save the 2 semesters that I was a biochem major and dropped below 3.0.
I am interested in doing a...