<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://fweb.wallawalla.edu/class-wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Kurt</id>
	<title>Class Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://fweb.wallawalla.edu/class-wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Kurt"/>
	<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php/Special:Contributions/Kurt"/>
	<updated>2026-05-18T11:56:52Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Hildebrand,_Kurt&amp;diff=10613</id>
		<title>Hildebrand, Kurt</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Hildebrand,_Kurt&amp;diff=10613"/>
		<updated>2012-12-13T05:20:49Z</updated>

		<summary type="html">&lt;p&gt;Kurt: /* PSK 31 Demodulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Contact Information ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Phone:&#039;&#039;&#039; (909)528-3558&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Prefered E-mail:&#039;&#039;&#039; kurthildebrand@gmail.com&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;School E-mail:&#039;&#039;&#039; kurt.hildebrand@wallawalla.edu&lt;br /&gt;
&lt;br /&gt;
== PSK 31 Demodulation ==&lt;br /&gt;
&lt;br /&gt;
Fall, 2012&lt;br /&gt;
*Partner [[Michael von Pohle]]&lt;br /&gt;
[[PSK31 Demodulation (Kurt &amp;amp; Michael)]]&lt;/div&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=PSK31_Demodulation_(Kurt_%26_Michael)&amp;diff=10612</id>
		<title>PSK31 Demodulation (Kurt &amp; Michael)</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=PSK31_Demodulation_(Kurt_%26_Michael)&amp;diff=10612"/>
		<updated>2012-12-13T05:16:06Z</updated>

		<summary type="html">&lt;p&gt;Kurt: /* Results/Problems */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Project Description ==&lt;br /&gt;
&lt;br /&gt;
The goal of this project is to design and code a Matlab script that will encode and decode a PSK31 signal including signals with noise. The receiver should be able to read in signals (as a wav file) from other sources as well. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PSK31 is a audible text encoding that can be sent over the air by amateur radio operators. A computer&#039;s sound card can be used to send and receive the signal since the signal is audible. For more information regarding PSK31 see the Wikipedia article.[http://en.wikipedia.org/wiki/PSK31]&lt;br /&gt;
&lt;br /&gt;
== Our Approach ==&lt;br /&gt;
=== Code Overview ===&lt;br /&gt;
&lt;br /&gt;
==== Transmitter ====&lt;br /&gt;
&lt;br /&gt;
Our code creates a PSK31 signal given an input carrier frequency and message. For testing our receiver code, the transmitter is setup to generate a random carrier frequency and phase. It also adds random noise to the signal before writing it to a wav file.&lt;br /&gt;
&lt;br /&gt;
==== Receiver ====&lt;br /&gt;
Our receiver is split into several steps:&lt;br /&gt;
# We read in the signal from a wav file and generate utility variables and matrices.&lt;br /&gt;
# We run the signal through an FFT and take an average over the range of the FFT spike to obtain a carrier frequency guess.&lt;br /&gt;
# A PID controller was implemented to help offset the fact that a carrier frequency derived from the FFT produces an inaccurate carrier frequency. An offset in the carrier frequency causes the constellation diagram to rotate in a circle. The PID tries to compensate for this by adding to or subtracting from the phase of the signal while trying to drive the Q-component of the signal to zero. The feedback loop is described by the code below.&lt;br /&gt;
 % PID controller constants&lt;br /&gt;
 Kp = 25;&lt;br /&gt;
 Ki = 50;&lt;br /&gt;
 Kd = 1;&lt;br /&gt;
 output = zeros(1, length(v));    % Init&lt;br /&gt;
 setpoint = 0;                    % Sets the feedback point to control to.&lt;br /&gt;
 previous_error = 0;                % In this case, you want to set yt to 0.&lt;br /&gt;
 integral = 0;&lt;br /&gt;
 xt_filt = [];&lt;br /&gt;
 yt_filt = [];&lt;br /&gt;
 for k=51:length(v)&lt;br /&gt;
    xt(k) = v(k)*cos(2*pi*u_fc*t(k)+output(k));&lt;br /&gt;
    yt(k) = v(k)*sin(2*pi*u_fc*t(k)+output(k));&lt;br /&gt;
   &lt;br /&gt;
    xt_filt(k:-1:k-50) = filter(b, a, xt(k:-1:k-50));&lt;br /&gt;
    yt_filt(k:-1:k-50) = filter(b, a, yt(k:-1:k-50));&lt;br /&gt;
   &lt;br /&gt;
    if(sign(xt(k)) == sign(yt(k)))&lt;br /&gt;
        error = setpoint - yt_filt(k);&lt;br /&gt;
    else&lt;br /&gt;
        error = setpoint + yt_filt(k);&lt;br /&gt;
    end&lt;br /&gt;
   &lt;br /&gt;
    % PID Feedback Controller compensates for inaccurate fc guess.&lt;br /&gt;
    % error = setpoint - yt_filt(k);&lt;br /&gt;
    integral = integral + error*10;&lt;br /&gt;
    derivative = (error - previous_error)/10;&lt;br /&gt;
    output(k+1) = Kp*error + Ki*integral + Kd*derivative;&lt;br /&gt;
    previous_error = error;&lt;br /&gt;
 end&lt;br /&gt;
# We multiply the signal with a cosine wave at our guess frequency. This splits the signal into two parts: a high frequency component (with frequency equal to the sum of the &#039;&#039;actual&#039;&#039; carrier frequency and our &#039;&#039;guess&#039;&#039; frequency) and a low frequency component (due to the difference of the two frequencies). &lt;br /&gt;
# We filter the multiplied signal through a butterworth filter with a 75Hz cutoff frequency to remove the high frequency component.&lt;br /&gt;
# We mark the locations where the filtered signal changes sign&lt;br /&gt;
&lt;br /&gt;
=== Code ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Results/Problems ==&lt;br /&gt;
&lt;br /&gt;
=== PID Controller Problems ===&lt;br /&gt;
The first iteration did not take into account the I component of the signal and was constantly trying to drive the signal to the positive I coordinates. A smiple if-else statement solved this problem. However there are some bugs. There might be a singularity at (0,0) which causes the controller to perform in a strange fashion. Also, the code has very bad noise rejection. It can produce baseband but not very well once noise is added. Finally, it doesn&#039;t decode signals that we generate ourselves. When we produce our signal in MATLAB, the code works fine. However, the signal from wikipedia.com and Dr. Frohne&#039;s signal don&#039;t work. One problem with the wikipedia.com signal is that it&#039;s native format is .ogg which is lossy. This could&#039;ve presented problems when we convert the signal to a wave file as high frequencies get chopped in lossy formats.&lt;/div&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=PSK31_Demodulation_(Kurt_%26_Michael)&amp;diff=10611</id>
		<title>PSK31 Demodulation (Kurt &amp; Michael)</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=PSK31_Demodulation_(Kurt_%26_Michael)&amp;diff=10611"/>
		<updated>2012-12-13T05:10:50Z</updated>

		<summary type="html">&lt;p&gt;Kurt: /* Receiver */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Project Description ==&lt;br /&gt;
&lt;br /&gt;
The goal of this project is to design and code a Matlab script that will encode and decode a PSK31 signal including signals with noise. The receiver should be able to read in signals (as a wav file) from other sources as well. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PSK31 is a audible text encoding that can be sent over the air by amateur radio operators. A computer&#039;s sound card can be used to send and receive the signal since the signal is audible. For more information regarding PSK31 see the Wikipedia article.[http://en.wikipedia.org/wiki/PSK31]&lt;br /&gt;
&lt;br /&gt;
== Our Approach ==&lt;br /&gt;
=== Code Overview ===&lt;br /&gt;
&lt;br /&gt;
==== Transmitter ====&lt;br /&gt;
&lt;br /&gt;
Our code creates a PSK31 signal given an input carrier frequency and message. For testing our receiver code, the transmitter is setup to generate a random carrier frequency and phase. It also adds random noise to the signal before writing it to a wav file.&lt;br /&gt;
&lt;br /&gt;
==== Receiver ====&lt;br /&gt;
Our receiver is split into several steps:&lt;br /&gt;
# We read in the signal from a wav file and generate utility variables and matrices.&lt;br /&gt;
# We run the signal through an FFT and take an average over the range of the FFT spike to obtain a carrier frequency guess.&lt;br /&gt;
# A PID controller was implemented to help offset the fact that a carrier frequency derived from the FFT produces an inaccurate carrier frequency. An offset in the carrier frequency causes the constellation diagram to rotate in a circle. The PID tries to compensate for this by adding to or subtracting from the phase of the signal while trying to drive the Q-component of the signal to zero. The feedback loop is described by the code below.&lt;br /&gt;
 % PID controller constants&lt;br /&gt;
 Kp = 25;&lt;br /&gt;
 Ki = 50;&lt;br /&gt;
 Kd = 1;&lt;br /&gt;
 output = zeros(1, length(v));    % Init&lt;br /&gt;
 setpoint = 0;                    % Sets the feedback point to control to.&lt;br /&gt;
 previous_error = 0;                % In this case, you want to set yt to 0.&lt;br /&gt;
 integral = 0;&lt;br /&gt;
 xt_filt = [];&lt;br /&gt;
 yt_filt = [];&lt;br /&gt;
 for k=51:length(v)&lt;br /&gt;
    xt(k) = v(k)*cos(2*pi*u_fc*t(k)+output(k));&lt;br /&gt;
    yt(k) = v(k)*sin(2*pi*u_fc*t(k)+output(k));&lt;br /&gt;
   &lt;br /&gt;
    xt_filt(k:-1:k-50) = filter(b, a, xt(k:-1:k-50));&lt;br /&gt;
    yt_filt(k:-1:k-50) = filter(b, a, yt(k:-1:k-50));&lt;br /&gt;
   &lt;br /&gt;
    if(sign(xt(k)) == sign(yt(k)))&lt;br /&gt;
        error = setpoint - yt_filt(k);&lt;br /&gt;
    else&lt;br /&gt;
        error = setpoint + yt_filt(k);&lt;br /&gt;
    end&lt;br /&gt;
   &lt;br /&gt;
    % PID Feedback Controller compensates for inaccurate fc guess.&lt;br /&gt;
    % error = setpoint - yt_filt(k);&lt;br /&gt;
    integral = integral + error*10;&lt;br /&gt;
    derivative = (error - previous_error)/10;&lt;br /&gt;
    output(k+1) = Kp*error + Ki*integral + Kd*derivative;&lt;br /&gt;
    previous_error = error;&lt;br /&gt;
 end&lt;br /&gt;
# We multiply the signal with a cosine wave at our guess frequency. This splits the signal into two parts: a high frequency component (with frequency equal to the sum of the &#039;&#039;actual&#039;&#039; carrier frequency and our &#039;&#039;guess&#039;&#039; frequency) and a low frequency component (due to the difference of the two frequencies). &lt;br /&gt;
# We filter the multiplied signal through a butterworth filter with a 75Hz cutoff frequency to remove the high frequency component.&lt;br /&gt;
# We mark the locations where the filtered signal changes sign&lt;br /&gt;
&lt;br /&gt;
=== Code ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Results/Problems ==&lt;/div&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Hildebrand,_Kurt&amp;diff=10566</id>
		<title>Hildebrand, Kurt</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Hildebrand,_Kurt&amp;diff=10566"/>
		<updated>2012-12-12T22:45:06Z</updated>

		<summary type="html">&lt;p&gt;Kurt: /* PSK 31 Demodulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Contact Information ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Phone:&#039;&#039;&#039; (909)528-3558&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Prefered E-mail:&#039;&#039;&#039; kurthildebrand@gmail.com&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;School E-mail:&#039;&#039;&#039; kurt.hildebrand@wallawalla.edu&lt;br /&gt;
&lt;br /&gt;
== PSK 31 Demodulation ==&lt;br /&gt;
&lt;br /&gt;
Fall, 2012&lt;br /&gt;
*Partner [[Michael von Pohle]]&lt;br /&gt;
&lt;br /&gt;
     &lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Abstract&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
::The goal of this project was to learn more about Phase Shift Keying and to Signals and Systems in general. Since guessing the carrier frequency is slightly inaccurate a PID feedback and control system was used to correct the phase of the received signals. Despite demodulating my own signals created in MATLAB, my script does not work on the signal provided to us by Dr. Frohne and the sample signal on Wikipedia. One problem lies in the scripts inability to remove noise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Introduction&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
::PSK31 was developed by Peter Martinez (G3PLX) in 1998. PSK31 varies in amplitude and phase, but not frequency. This is extremely useful in amateur radio. When there is constant phase,&lt;br /&gt;
:it is considered to be a &#039;one&#039;, when the phase shifts, it is a &#039;zero&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Matlab Script&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Matlab Plots&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Conclusion&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:The end.&lt;/div&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Hildebrand,_Kurt&amp;diff=10565</id>
		<title>Hildebrand, Kurt</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Hildebrand,_Kurt&amp;diff=10565"/>
		<updated>2012-12-12T22:44:55Z</updated>

		<summary type="html">&lt;p&gt;Kurt: /* Latex Information */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Contact Information ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Phone:&#039;&#039;&#039; (909)528-3558&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Prefered E-mail:&#039;&#039;&#039; kurthildebrand@gmail.com&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;School E-mail:&#039;&#039;&#039; kurt.hildebrand@wallawalla.edu&lt;br /&gt;
&lt;br /&gt;
== PSK 31 Demodulation ==&lt;br /&gt;
&lt;br /&gt;
Fall, 2012&lt;br /&gt;
*Partner [[Michael von Pohle]]&lt;br /&gt;
&lt;br /&gt;
     &lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Abstract&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
::The goal of this project was to learn more about Phase Shift Keying and to Signals and Systems in general. Since guessing the carrier frequency is slightly inaccurate a PID feedback and control system was used to correct the phase of the received signals. Despite demodulating my own signals created in MATLAB, my script does not work on the signal provided to us by Dr. Frohne and the sample signal on Wikipedia. One problem lies in the scripts inability to remove noise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Introduction&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
::PSK31 was developed by Peter Martinez (G3PLX) in 1998. PSK31 varies in amplitude and phase, but not frequency. This is extremely useful in amateur radio. When there is constant phase,&lt;br /&gt;
:it is considered to be a &#039;one&#039;, when the phase shifts, it is a &#039;zero&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Matlab Script&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Matlab Plots&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
 These are the plots&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Conclusion&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:The end.&lt;/div&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Signals_and_Systems&amp;diff=10564</id>
		<title>Signals and Systems</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Signals_and_Systems&amp;diff=10564"/>
		<updated>2012-12-12T22:43:05Z</updated>

		<summary type="html">&lt;p&gt;Kurt: /* 2012-2013 Contributors */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Topics ==&lt;br /&gt;
[[Fourier series - by Ray Betz|Overview of Signals and Systems]]&lt;br /&gt;
&lt;br /&gt;
===Individual Subjects===&lt;br /&gt;
*[[Linear Time Invariant System|Linear Time Invariant Systems]]&lt;br /&gt;
**[[The Game|&amp;quot;The Game&amp;quot;]]&lt;br /&gt;
*[[Orthogonal functions|Orthogonal Functions]]&lt;br /&gt;
*[[Energy in a signal|Finding the Energy in a Signal]]&lt;br /&gt;
**[[Rayleigh&#039;s Theorem]]&lt;br /&gt;
*[[Fourier series|Fourier Series]]&lt;br /&gt;
*[[Fourier transform|Fourier Transforms]]&lt;br /&gt;
**[[Discrete Fourier transform]]&lt;br /&gt;
*[[Sampling]]&lt;br /&gt;
*[[FIR Filter Example]]&lt;br /&gt;
*[[Relationship between e, sin and cos]]&lt;br /&gt;
&lt;br /&gt;
== Some Useful Links to Suppliment or Substitute for a Textbook ==&lt;br /&gt;
===Books on Signal Processing===&lt;br /&gt;
*[https://ccrma.stanford.edu/~jos/sasp/sasp.html Spectral Audio Signal Processing, by Julius O. Smith III]&lt;br /&gt;
*[http://www.dspguide.com/ The Scientist and Engineer&#039;s Guide to Digital Signal Processing by Steven W. Smith, Ph.D.]  The professor likes this one.&lt;br /&gt;
*[http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-003-signals-and-systems-spring-2010/readings/ Discrete Time Signals &amp;amp; Systems]&lt;br /&gt;
&lt;br /&gt;
===Fourier Series===&lt;br /&gt;
*[http://www.intmath.com/Fourier-series/Fourier-intro.php Interactive Mathematics (like a textbook with some examples)]&lt;br /&gt;
*[http://mathworld.wolfram.com/FourierSeries.html Mathworld]&lt;br /&gt;
*[http://en.wikipedia.org/wiki/Fourier_series Wikipedia]&lt;br /&gt;
*[http://web.mit.edu/2.14/www/Handouts/FreqDom.pdf MIT handout on Fourier Series, Fourier Transform, and Laplace Transform]&lt;br /&gt;
*[http://www.maths.mq.edu.au/~bon/Fourier%20Theory.pdf Fourier Theory B..M..N.. Clarke]&lt;br /&gt;
&lt;br /&gt;
===Dirac Delta Function and Convolution===&lt;br /&gt;
*[http://web.mit.edu/2.14/www/Handouts/Convolution.pdf MIT handout on Dirac Delta Function and Convolution]&lt;br /&gt;
&lt;br /&gt;
===Multi-rate Filtering===&lt;br /&gt;
&lt;br /&gt;
[http://www.google.com/url?url=http://www.mds.com/tech/filter/multirate_article.pdf&amp;amp;rct=j&amp;amp;sa=U&amp;amp;ei=pD_UTJqtKY6ksQPbzPWMCw&amp;amp;ved=0CBUQFjAA&amp;amp;q=Purcell+Multirate+Filters&amp;amp;usg=AFQjCNFsHM7ROpUdrQ6py9ZH_RhQ_BeigA Multirate Filters Introduction]&lt;br /&gt;
&lt;br /&gt;
[http://www.ws.binghamton.edu/fowler/fowler%20personal%20page/EE521_files/IV-05%20Polyphase%20FIlters_2007.pdf Slides from a Presentation on Polyphase Decimation and Interpolation by Mark Fowler]&lt;br /&gt;
&lt;br /&gt;
===FIR Filters===&lt;br /&gt;
&lt;br /&gt;
[http://www.dspguru.com/dsp/faqs/fir This is a very easy-to-understand summary of FIR basics, properties, design, and implementation]&lt;br /&gt;
&lt;br /&gt;
[http://www.dspguru.com/dsp/faqs/multirate/decimation Another easy-to-understand article about decimation]&lt;br /&gt;
&lt;br /&gt;
[http://www.dspguru.com/dsp/faqs/multirate/interpolation Another easy-to-understand article about interpolation]&lt;br /&gt;
&lt;br /&gt;
===Adaptive FIR Filters===&lt;br /&gt;
[http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.42.6386&amp;amp;rep=rep1&amp;amp;type=pdf Introduction to Adaptive Filters, Simon Haykin]&lt;br /&gt;
&lt;br /&gt;
[http://saba.kntu.ac.ir/eecd/taghirad/E%20books/TOC/Adaptive%20Filters.pdf Simon Haykin&#039;s book chapter]&lt;br /&gt;
&lt;br /&gt;
[http://www.latticesemi.com/documents/doc22982x20.pdf?jsessionid=f0308ccf0f735471e49a6054323c5c177969 Adaptive LMS in an FPGA]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Adaptive Filters In the Frequency Domain]]&lt;br /&gt;
&lt;br /&gt;
====Constant Modulus Algorythm====&lt;br /&gt;
[http://ens.ewi.tudelft.nl/Education/courses/et4147/sheets/cma_leus.pdf Using the CMA on antenna arrays]&lt;br /&gt;
&lt;br /&gt;
===Course Pages===&lt;br /&gt;
[[2005-2006 Assignments]]&lt;br /&gt;
&lt;br /&gt;
[[2006-2007 Assignments]]&lt;br /&gt;
&lt;br /&gt;
[[2008-2009 Assignments]]&lt;br /&gt;
&lt;br /&gt;
[[2009-2010 Assignments]]&lt;br /&gt;
&lt;br /&gt;
[http://people.wallawalla.edu/~Rob.Frohne/ClassNotes/engr455index.htm Class notes for Signals &amp;amp; Systems]&lt;br /&gt;
&lt;br /&gt;
==Articles==&lt;br /&gt;
&lt;br /&gt;
===Octave Tutorials===&lt;br /&gt;
[[Installing Octave on a Mac]] (Chris Lau)&lt;br /&gt;
&lt;br /&gt;
[[Octave and Scilab on a Mac]] (Ben Henry)&lt;br /&gt;
&lt;br /&gt;
[[ASN2 - Octave Tutorial]] (Jodi S. Hodge)&lt;br /&gt;
&lt;br /&gt;
[[A u(t) function example]]&lt;br /&gt;
&lt;br /&gt;
[[FIR Filter Example Code for Octave]]&lt;br /&gt;
&lt;br /&gt;
[[Leakage Example Octave Script]]&lt;br /&gt;
&lt;br /&gt;
[[Interpolation using the DFT Example Script]]&lt;br /&gt;
&lt;br /&gt;
[[Tuner Upper Removal Demonstration]]&lt;br /&gt;
&lt;br /&gt;
[[Airplane Noise Removal Demonstration]]&lt;br /&gt;
&lt;br /&gt;
===Final Project (2011)===&lt;br /&gt;
[[Matlab/Octave deMorse.m]]&lt;br /&gt;
&lt;br /&gt;
[[morse.m  This is the one from mathworks]]&lt;br /&gt;
&lt;br /&gt;
===[[Table of Fourier Transform Properties]]===&lt;br /&gt;
&lt;br /&gt;
==Homework Assignments==&lt;br /&gt;
Please put your name next to the assignment, linking it to your submission&lt;br /&gt;
* HW #1 - Make a personal page on this wiki ([[Christopher Garrison Lau I|Chris Lau]])([[Jodi S. Hodge]])([[user:chris.wills|Chris Wills]])[[Shepherd,Victor|(Victor Shepherd)]]&lt;br /&gt;
* HW #2 - Write a tutorial about installing and/or using Octave ([[Installing Octave on a Mac|Chris Lau]])([[Jodi S. Hodge]])([[Octave|Victor Shepherd]])&lt;br /&gt;
* HW #3 - Show graphically that &amp;lt;math&amp;gt; \int_{-\infty}^{\infty} e^{j2\pi f(t-u)}\, df = \delta (t-u)&amp;lt;/math&amp;gt; ([[HW 3|Chris Lau]])([[Jodi S. Hodge]])([[user:chris.wills/HW3|Chris Wills]])([[Hw3|Victor Shepherd)]]&lt;br /&gt;
&lt;br /&gt;
* HW #4 - Given a linear time-invariant system where &amp;lt;math&amp;gt;\ u(t) &amp;lt;/math&amp;gt; produces an output &amp;lt;math&amp;gt;\ w(t) &amp;lt;/math&amp;gt;, find the output due to any function &amp;lt;math&amp;gt;\ x(t) &amp;lt;/math&amp;gt; ([[HW 4|Chris Lau]])&lt;br /&gt;
* HW #5: ([[HW 5|Chris Lau]])&lt;br /&gt;
** Part 1 -  Find &amp;lt;math&amp;gt; \mathcal{F}[e^{- \sigma t} x(t)u(t)] &amp;lt;/math&amp;gt; and relate it to the Laplace Transform. Derive the Inverse Laplace Transform of this from the inverse Fourier Transform.&lt;br /&gt;
** Part 2 - [[Image:20101006KeyDSCN3161.jpg|thumb|300px|center]]&lt;br /&gt;
&lt;br /&gt;
* HW #6 - Pick a property of the Fourier Transform &amp;amp; present it on the Wiki. Make a table with all your properties. Interpret your property. ([[HW 6|Ben Henry]])([[Table of Fourier Transform Properties|Chris Lau]])([[Table of Fourier Transform Properties|Victor Shepherd]])&lt;br /&gt;
* HW #7 - Finish the practice tests&lt;br /&gt;
* HW #8 - Make a page about interpolating FIR filters. Note how many multiply/add operations.([[Jodi S. Hodge]])([[Interpolating FIR filters|Chris Lau]])([[Hw8|Victor Shepherd]])&lt;br /&gt;
* HW #9 - Add to #8 writeup how to do a decimating filter and figure out how many multiply &amp;amp; adds are needed for a n/2 decimating low pass filter.([[Jodi S. Hodge]])([[Decimating FIR filters|Chris Lau]])([[Hw9|Victor Shepherd)]]&lt;br /&gt;
* HW #10 - Use Octave (or Mathlab or Silab) to plot the frequency response of low pass filters with cut off frequencies of 1/32T, 1/8T, and 1/4T and compare how many coeffficients are needed with an eye to answer the question &amp;quot;Is it less calculation to decimate and then filter, or better to put the filter in the pre-decimation filter?&amp;quot; ([[Jodi S. Hodge]])([[Hw10|Victor Shepherd)]]&lt;br /&gt;
* HW #11 - Is our method the same as Mark Fowler&#039;s? See &lt;br /&gt;
[http://www.ws.binghamton.edu/fowler/fowler%20personal%20page/EE521_files/IV-05%20Polyphase%20FIlters_2007.pdf Wiki]. Same # multiply and adds? See Notes 11/3/10. ([[Jodi S. Hodge]])([[Hw11|Victor Shepherd)]]&lt;br /&gt;
* HW #12 - Experiment with a variety of signals having a 3Khz bandwidth to determine the resolution you can get when doing a cross correlation &amp;lt;math&amp;gt; \ r(m) =&lt;br /&gt;
&lt;br /&gt;
\displaystyle\sum\limits_{n=0}^{N-1} x(n) x(n+m) &amp;lt;/math&amp;gt;. You can generate the signals randomly and filter them to obtain the band-limited signals.  ([[Jodi S. Hodge]])&lt;br /&gt;
* HW #13 - Derive the following realtions:&lt;br /&gt;
**a)      &amp;lt;math&amp;gt;DFT(x(k-l))\!&amp;lt;/math&amp;gt;&lt;br /&gt;
**b)      &amp;lt;math&amp;gt; DFT(e^{j2 \pi lk/N}x(k)\!&amp;lt;/math&amp;gt;&lt;br /&gt;
**c)      &amp;lt;math&amp;gt;\sum\limits_{k=0}^{N-1} x(k)y(k)^{*}=c\sum\limits_{k=0}^{N-1} X(n)Y(n)^{*}&amp;lt;/math&amp;gt;  ([[Hw13|Victor Shepherd)]]&lt;br /&gt;
&lt;br /&gt;
* HW #14 - Come up with a use for an adaptiveFIR filter and make an Octave script to demonstrate it.  ([[Jodi S. Hodge]])([[Hw14|Victor Shepherd)]]&lt;br /&gt;
* HW #15 - Do Practice Exam II ([[Hw15|Victor Shepherd)]]&lt;br /&gt;
* [[CW-Robot Octave Simulation]]&lt;br /&gt;
&lt;br /&gt;
==People Involved with this Wiki==&lt;br /&gt;
&lt;br /&gt;
===2012-2013 Contributors===&lt;br /&gt;
[[Brian Haddad]]&lt;br /&gt;
&lt;br /&gt;
[[Kurt Hildebrand]]&lt;br /&gt;
&lt;br /&gt;
[[Denver Lodge]]&lt;br /&gt;
&lt;br /&gt;
===2011-2012 Contributors===&lt;br /&gt;
[[Matthew Blaire]]&lt;br /&gt;
&lt;br /&gt;
[[Cody Lorenz]]&lt;br /&gt;
&lt;br /&gt;
===2010-2011 Contributors===&lt;br /&gt;
[[Ben Henry|Ben Henry]]&lt;br /&gt;
&lt;br /&gt;
[[Christopher Garrison Lau I]]&lt;br /&gt;
&lt;br /&gt;
[[user:chris.wills|Chris Wills]]&lt;br /&gt;
&lt;br /&gt;
[[Jodi S. Hodge]]&lt;br /&gt;
&lt;br /&gt;
[[Luke Chilson]]&lt;br /&gt;
&lt;br /&gt;
[[Shepherd,Victor|Victor Shepherd]]&lt;br /&gt;
&lt;br /&gt;
===2009-2010 Contributors===&lt;br /&gt;
[[Nick Christman]]&lt;br /&gt;
&lt;br /&gt;
[[Joshua Sarris]]&lt;br /&gt;
&lt;br /&gt;
[[Kevin Starkey]]&lt;br /&gt;
&lt;br /&gt;
[[Max Woesner]]&lt;br /&gt;
&lt;br /&gt;
[[Jodi Hodge]]&lt;br /&gt;
&lt;br /&gt;
[[Corneliu Turturica]]&lt;br /&gt;
&lt;br /&gt;
===2008-2009 Contributors===&lt;br /&gt;
[[User:eric.clay|Eric Clay]]&lt;br /&gt;
&lt;br /&gt;
[[User:tsung-lin.yang|Chuck Yang]]&lt;br /&gt;
&lt;br /&gt;
[[User:elton.zebron|Elton Zebron]]&lt;br /&gt;
&lt;br /&gt;
[[User:Luke.chilson|Luke Chilson]]&lt;br /&gt;
&lt;br /&gt;
[[User:Brandon.price|Brandon Price]]&lt;br /&gt;
&lt;br /&gt;
[[User:Fonggr|Greg Fong]]&lt;br /&gt;
&lt;br /&gt;
===2007-2008 contributors===&lt;br /&gt;
&lt;br /&gt;
[[User:baldwin.britton|Baldwin Britton]]&lt;br /&gt;
&lt;br /&gt;
[[User:Harrde|Denver Harris]]&lt;br /&gt;
&lt;br /&gt;
[[User:Pridma|Mark Priddy]]&lt;br /&gt;
&lt;br /&gt;
[[User:ChrisRas|Chris Rasmussen]]&lt;br /&gt;
&lt;br /&gt;
[[User:RothMi|Michael Roth]]&lt;br /&gt;
&lt;br /&gt;
[[User:Rothsa|Sally Roth]]&lt;br /&gt;
&lt;br /&gt;
===2006-2007 contributors===&lt;br /&gt;
&lt;br /&gt;
[[User:Smitry|Ryan J Smith]]&lt;br /&gt;
&lt;br /&gt;
[[User:Nathan|Nathan Ferch]]&lt;br /&gt;
&lt;br /&gt;
[[User:Andrew|Andrew Lopez]]&lt;br /&gt;
&lt;br /&gt;
[[User:Sherna|Nathan Sherman]]&lt;br /&gt;
&lt;br /&gt;
[[User:Adkich|Chris Adkins]]&lt;br /&gt;
&lt;br /&gt;
===2005-2006 contributors===&lt;br /&gt;
&lt;br /&gt;
[[User:GabrielaV|Gabriela Valdivia]]&lt;br /&gt;
&lt;br /&gt;
[[User:SDiver|Raymond Betz]]&lt;br /&gt;
&lt;br /&gt;
[[User:chrijen|Jenni Christensen]]&lt;br /&gt;
&lt;br /&gt;
[[User:wonoje|Jeffrey Wonoprabowo]]&lt;br /&gt;
&lt;br /&gt;
[[User:wilspa|Paul Wilson]]&lt;br /&gt;
&lt;br /&gt;
[[User:Frohro|Instructor: Rob Frohne]]&lt;br /&gt;
&lt;br /&gt;
===2004-2005 contributors===&lt;br /&gt;
&lt;br /&gt;
[[User:Barnsa|Sam Barnes]]&lt;br /&gt;
&lt;br /&gt;
[[User:Santsh|Shawn Santana]]&lt;br /&gt;
&lt;br /&gt;
[[User:Goeari|Aric Goe]]&lt;br /&gt;
&lt;br /&gt;
[[User:Caswto|Todd Caswell]]&lt;br /&gt;
&lt;br /&gt;
[[User:Andeda|David Anderson]]&lt;br /&gt;
&lt;br /&gt;
[[User:Guenan|Anthony Guenterberg]]&lt;/div&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=10002</id>
		<title>Kurt&#039;s Assignment</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=10002"/>
		<updated>2010-11-02T07:11:01Z</updated>

		<summary type="html">&lt;p&gt;Kurt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Common Synthesizer Waveforms=&lt;br /&gt;
Many synthesizers employ a variety of waveforms to produce varied sounds. The most common waveform is the sine wave. However, in additive synthesis, multiple waveforms can be added together to create a different waveform with different characteristics. The basis for this form of synthesis is the Fourier series:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        x(t) &amp;amp;= x(t+T) = a_0 + \sum_{n=1}^\infty a_n \cos(n\omega_0t) + b_n \sin(n\omega_0t)\\&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_0^T f(t)\, dt\\&lt;br /&gt;
        a_n &amp;amp;= \frac{2}{T}\int_0^T f(t)\cos(n\omega_0t)\, dt\\&lt;br /&gt;
        b_n &amp;amp;= \frac{2}{T}\int_0^T f(t)\sin(n\omega_0t)\, dt\\&lt;br /&gt;
      \end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The four basic waveforms are Sine Waves, Square Waves, Triangle Waves, and Sawtooth Waves.&lt;br /&gt;
&lt;br /&gt;
===Square Wave===&lt;br /&gt;
By inspection of the waveform, the DC component of the wave will be 0. Also, since the waveform is odd, a&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; will be 0. Here is the proof:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_0^{\frac{1}{2}T} H\, dt + \frac{1}{T}\int_{\frac{1}{2}T}^T -H\, dt\\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}\left[Ht\right]\bigg|_{t=0}^{\frac{1}{2}T} - \frac{1}{T}\left[Ht\right]\bigg|_{t={\frac{1}{2}T}}^T\\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}H\frac{1}{2}T-0 - \left[\frac{1}{T}HT - \frac{1}{T}H\frac{1}{2}T\right]\\&lt;br /&gt;
        &amp;amp;=\frac{H}{2} - \left[H-\frac{1}{2}H\right]\\&lt;br /&gt;
        &amp;amp;=\frac{H}{2}-\frac{H}{2}\\&lt;br /&gt;
        &amp;amp;=0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_n &amp;amp;= \frac{2}{T}\int_0^{\frac{1}{2}T} H\cos(n\omega_0t)\, dt + \frac{2}{T}\int_{\frac{1}{2}T}^T -H\cos(n\omega_0t)\, dt\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{H}{n\omega_0}\sin(n\omega_0t)\right]_0^{\frac{1}{2}T} + \frac{2}{T}\left[\frac{-H}{n\omega_0}\sin\left(n\omega_0t\right)\right]_{\frac{1}{2}T}^T\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{H}{n\frac{2\pi}{T}}\sin\left(n\frac{2\pi}{T}\frac{1}{2}T\right)-0\right] + \frac{2}{T}\left[-0+\frac{H}{n\frac{2\pi}{T}}\sin\left(n\frac{2pi}{T}\frac{1}{2}T\right)\right]\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\sin(n\pi)}_\text{0}\right] + \frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\sin(n\pi)}_\text{0}\right]\\&lt;br /&gt;
        &amp;amp;=0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This just leaves the sine component of the waveform found below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        b_n &amp;amp;= \frac{2}{T}\int_0^{\frac{1}{2}T} H\sin(n\omega_0t)\, dt + \frac{2}{T}\int_{\frac{1}{2}T}^T -H\sin(n\omega_0t)\, dt\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{-H}{n\omega_0}\cos(n\omega_0t)\right]_0^{\frac{1}{2}T} + \frac{2}{T}\left[\frac{H}{n\omega_0}\cos(n\omega_0t)\right]_{\frac{1}{2}T}^T\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[-\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}\frac{1}{2}T)+\frac{H}{n\frac{2\pi}{T}}\right] + \frac{2}{T}\left[\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}T)-\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}\frac{1}{2}T)\right]\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[-\frac{TH}{2\pi n}\cos(n\pi)+\frac{TH}{2\pi n}\right] + \frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\cos(2 \pi n)}_\text{1}-\frac{TH}{2\pi n}\cos(n\pi)\right]\\&lt;br /&gt;
        &amp;amp;=-\frac{H}{\pi n}\cos(n\pi)+\frac{H}{\pi n} + \frac{H}{\pi n}-\frac{H}{\pi n}\cos(n\pi)\\&lt;br /&gt;
        &amp;amp;=\frac{2H}{\pi n}-\frac{2H}{\pi n}\cos(n\pi)\\&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, resulting in the Fourier series for a Square Wave.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\text{Square Wave Fourier Series: }x(t) = x(t+T) = \sum_{n=1}^\infty \left(\frac{2H}{\pi n}-\frac{2H}{\pi n}\cos(n\pi)\right) \sin(n\omega_0t)  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Triangle Wave===&lt;br /&gt;
Like the Square wave, the DC component of the Triangle Wave is 0 by inspection. Also, since the triangle wave is odd, it is made up only by sine components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_{-\frac{1}{4}T}^{\frac{1}{4}T}\left(\frac{4H}{T}t \right)\,dt + \frac{1}{T}\int_{\frac{1}{4}T}^{\frac{3}{4}T}\left(-\frac{4H}{T}t+2H\right) \,dt\\&lt;br /&gt;
        &amp;amp;= \frac{1}{T}\left[\frac{1}{2}\frac{4H}{T}t^2\right]_{-\frac{1}{4}T}^{\frac{1}{4}T} + \frac{1}{T}\left[-\frac{1}{2}\frac{4H}{T}t^2+2Ht\right]_{\frac{1}{4}T}^{\frac{3}{4}T}\\&lt;br /&gt;
        &amp;amp;= \frac{1}{T}\left[\frac{2H}{T}\left(\frac{1}{4}T\right)^2-\frac{2H}{T}\left(-\frac{1}{4}T\right)^2\right] + \frac{1}{T}\left[-\frac{2H}{T}\left(\frac{3}{4}T\right)^2+2H\left(\frac{3}{4}T\right)-\left(-\frac{2H}{T}\left(\frac{1}{4}T\right)^2+2H\left(\frac{1}{4}T\right)\right)\right]\\&lt;br /&gt;
        &amp;amp;= \frac{1}{T}\left[\underbrace{\frac{2H}{T}\frac{1}{16}T^2-\frac{2H}{T}\frac{1}{16}T^2}_\text{0}\right] + \frac{1}{T}\left[-\frac{2H}{T}\frac{9}{16}T^2+\frac{3}{2}HT+\frac{2H}{T}\frac{1}{16}T^2-\frac{1}{2}HT\right]\\&lt;br /&gt;
        &amp;amp;= 0 + \frac{1}{T}\left[-\frac{18H}{16T}T^2+\frac{3}{2}HT+\frac{2H}{16T}T^2-\frac{1}{2}HT\right]\\&lt;br /&gt;
        &amp;amp;= \frac{1}{T}\left[\underbrace{-\frac{18}{16}HT+\frac{24}{16}HT+\frac{2}{16}HT-\frac{8}{16}HT}_\text{0}\right]\\&lt;br /&gt;
        &amp;amp;= 0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_n &amp;amp;= \frac{2}{T}\int_{-\frac{1}{4}T}^{\frac{1}{4}T}\left(\frac{4H}{T}t\right)\cos\left(n\omega_0t\right) \,dt + \frac{2}{T}\int_{\frac{1}{4}T}^{\frac{3}{4}T}\left(-\frac{4H}{T}t+2H\right)\cos\left(n\omega_0t\right)\,dt\\&lt;br /&gt;
        &amp;amp;= \frac{8H}{T^2}\int_{-\frac{1}{4}T}^{\frac{1}{4}T}t\,\cos\left(n\omega_0t\right) \,dt + \frac{4H}{T}\int_{\frac{1}{4}T}^{\frac{3}{4}T}\left(-\frac{2}{T}t+1\right)\cos\left(n\omega_0t\right)\,dt\\&lt;br /&gt;
        &amp;amp;= \frac{8H}{T^2}\left[\frac{t}{n\omega_0}\sin(n\omega_0 t)+\frac{1}{n^2\omega_0 ^2}\cos(n\omega_0 t)\right]_{-\frac{1}{4}T}^{\frac{1}{4}T} + \frac{4H}{T}\left[\frac{-\frac{2}{T}t+1}{n\omega_0} \sin(n\omega_0 t) - \frac{2}{Tn^2\omega_0^2} \cos(n\omega_0 t)\right]_{-\frac{1}{4}T}^{\frac{3}{4}T}\\&lt;br /&gt;
        &amp;amp;= \frac{8H}{T^2}\left[\left[\frac{\frac{1}{4}T}{n\frac{2\pi}{T}}\sin\left(n\frac{2\pi}{T}\frac{1}{4}T\right)+\frac{1}{n^2\frac{4\pi^2}{T^2}}\cos\left(n\frac{2\pi}{T}\frac{1}{4}T\right)\right] - \left[\frac{-\frac{1}{4}T}{n\frac{2\pi}{T}}\sin\left(n\frac{2\pi}{T}\left(-\frac{1}{4}T\right)\right)+\frac{1}{n^2\frac{4\pi^2}{T^2}}\cos\left(n\frac{2\pi}{T}\left(-\frac{1}{4}T\right)\right)\right]\right]    +    \frac{4H}{T}\left[\left[\frac{-\frac{2}{T}\left(\frac{3}{4}T\right)+1}{n\frac{2\pi}{T}} \sin\left(n\frac{2\pi}{T}\frac{3}{4}T\right) - \frac{2}{Tn^2\frac{4\pi^2}{T^2}}\cos\left(n\frac{2\pi}{T}\frac{3}{4}T\right)\right] - \left[\frac{-\frac{2}{T}\left(-\frac{1}{4}T\right)+1}{n\frac{2\pi}{T}} \sin\left(n\frac{2\pi}{T}\left(-\frac{1}{4}T\right)\right) - \frac{2}{Tn^2\frac{4\pi^2}{T^2}}\cos\left(n\frac{2\pi}{T}\left(-\frac{1}{4}T\right)\right)\right]\right]\\&lt;br /&gt;
        &amp;amp;= \frac{8H}{T^2}\left[\left[\frac{T^2}{8\pi n}\sin\left(\frac{1}{2}n\pi\right)+\frac{T^2}{n^2 4\pi^2}\cos\left(\frac{1}{2}n\pi\right)\right] - \left[-\frac{T^2}{8\pi n}\sin\left(-\frac{1}{2}n\pi\right)+\frac{T^2}{n^2 4 \pi^2}\cos\left(-\frac{1}{2}n\pi\right)\right]\right]    +   \frac{4H}{T} \left[\left[-\frac{T}{4\pi n}\sin\left(\frac{3}{2}n\pi\right)-\frac{T}{2\pi^2 n^2}\cos\left(\frac{3}{2}n\pi\right)\right] - \left[\frac{3T}{4\pi n}\sin\left(-\frac{1}{2}n \pi\right)-\frac{T}{2\pi^2 n^2}\cos\left(-\frac{1}{2}n\pi\right)\right]\right]\\&lt;br /&gt;
        &amp;amp;= \frac{8H}{T^2}\left[\frac{T^2}{8\pi n}\sin\left(\frac{1}{2}n\pi\right)-\frac{T^2}{8\pi n}\sin\left(-\frac{1}{2}n\pi\right)+\underbrace{\frac{T^2}{n^2 4\pi^2}\cos\left(\frac{1}{2}n\pi\right)-\frac{T^2}{n^2 4\pi^2}\cos\left(-\frac{1}{2}n\pi\right)}_\text{0}\right] + \frac{4H}{T}\left[-\frac{T}{4\pi n}\sin\left(\frac{3}{2}n\pi\right) - \frac{3T}{4\pi n}\sin\left(-\frac{1}{2}n\pi\right) - \underbrace{\frac{T}{2\pi^2 n^2} \cos\left(\frac{3}{2}n\pi\right) + \frac{T}{2\pi^2 n^2} \cos\left(-\frac{1}{2}n\pi\right)}_\text{0}\right]\\&lt;br /&gt;
        &amp;amp;= \frac{8H}{T^2}\left[\frac{2T^2}{8\pi n}\sin\left(\frac{1}{2}n\pi\right)\right] + \text{integrate other side}\\&lt;br /&gt;
        &amp;amp;= \frac{2H}{\pi n}\sin\left(\frac{1}{2}n\pi\right) + \text{integrate other side}&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
test function &amp;amp;=&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Sawtooth Wave===&lt;br /&gt;
&lt;br /&gt;
==OCTAVE Scripts to Plot Fourier Series==&lt;br /&gt;
====Square Wave====&lt;br /&gt;
 clf;            %Clear Figure&lt;br /&gt;
 t=0:.01:10;     %Limits of the graph&lt;br /&gt;
 T=2*pi          %Definition of the period&lt;br /&gt;
 M=100           %Number of iterations to undergo&lt;br /&gt;
 sum1=0;         %Initialize the sum to &amp;lt;br&amp;gt;&lt;br /&gt;
 %----------FOURIER SERIES----------%&lt;br /&gt;
 for m=1:1:M,    %For m=1, increment by 1 until you get to M&lt;br /&gt;
   if(m!=0)&lt;br /&gt;
     sum1 = sum1 + ((2/(pi*m))-(2/(pi*m))*cos(m*pi))*sin(m*2*pi/T*t);&lt;br /&gt;
   end&lt;br /&gt;
 end&amp;lt;br&amp;gt;&lt;br /&gt;
 %---------------PLOT---------------%&lt;br /&gt;
 plot(t,real(sum1),&#039;b-&#039;)&lt;br /&gt;
 title(&#039;Fourier Series Representation of a Wave&#039;)&lt;br /&gt;
 xlabel(&#039;time (seconds)&#039;)&lt;br /&gt;
 ylabel(&#039;Function&#039;)&lt;br /&gt;
 grid on;&amp;lt;br&amp;gt;&lt;br /&gt;
 legend(num2str(M) &#039; terms&#039;);&lt;br /&gt;
 print(&amp;quot;squarewave.png&amp;quot;,&amp;quot;-dpng&amp;quot;)  % Prints the plot to a png file called squarewave.png&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
TODO:&lt;br /&gt;
*finish the triangle wave derivation&lt;br /&gt;
*start sawtooth wave derivation&lt;br /&gt;
*put pictures in&lt;br /&gt;
*implement triangle wave Fourier Series in OCTAVE&lt;br /&gt;
*implement sawtooth wave Fourier Series in OCTAVE&lt;/div&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=10001</id>
		<title>Kurt&#039;s Assignment</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=10001"/>
		<updated>2010-11-02T07:08:41Z</updated>

		<summary type="html">&lt;p&gt;Kurt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Common Synthesizer Waveforms=&lt;br /&gt;
Many synthesizers employ a variety of waveforms to produce varied sounds. The most common waveform is the sine wave. However, in additive synthesis, multiple waveforms can be added together to create a different waveform with different characteristics. The basis for this form of synthesis is the Fourier series:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        x(t) &amp;amp;= x(t+T) = a_0 + \sum_{n=1}^\infty a_n \cos(n\omega_0t) + b_n \sin(n\omega_0t)\\&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_0^T f(t)\, dt\\&lt;br /&gt;
        a_n &amp;amp;= \frac{2}{T}\int_0^T f(t)\cos(n\omega_0t)\, dt\\&lt;br /&gt;
        b_n &amp;amp;= \frac{2}{T}\int_0^T f(t)\sin(n\omega_0t)\, dt\\&lt;br /&gt;
      \end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The four basic waveforms are Sine Waves, Square Waves, Triangle Waves, and Sawtooth Waves.&lt;br /&gt;
&lt;br /&gt;
===Square Wave===&lt;br /&gt;
By inspection of the waveform, the DC component of the wave will be 0. Also, since the waveform is odd, a&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; will be 0. Here is the proof:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_0^{\frac{1}{2}T} H\, dt + \frac{1}{T}\int_{\frac{1}{2}T}^T -H\, dt\\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}\left[Ht\right]\bigg|_{t=0}^{\frac{1}{2}T} - \frac{1}{T}\left[Ht\right]\bigg|_{t={\frac{1}{2}T}}^T\\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}H\frac{1}{2}T-0 - \left[\frac{1}{T}HT - \frac{1}{T}H\frac{1}{2}T\right]\\&lt;br /&gt;
        &amp;amp;=\frac{H}{2} - \left[H-\frac{1}{2}H\right]\\&lt;br /&gt;
        &amp;amp;=\frac{H}{2}-\frac{H}{2}\\&lt;br /&gt;
        &amp;amp;=0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_n &amp;amp;= \frac{2}{T}\int_0^{\frac{1}{2}T} H\cos(n\omega_0t)\, dt + \frac{2}{T}\int_{\frac{1}{2}T}^T -H\cos(n\omega_0t)\, dt\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{H}{n\omega_0}\sin(n\omega_0t)\right]_0^{\frac{1}{2}T} + \frac{2}{T}\left[\frac{-H}{n\omega_0}\sin\left(n\omega_0t\right)\right]_{\frac{1}{2}T}^T\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{H}{n\frac{2\pi}{T}}\sin\left(n\frac{2\pi}{T}\frac{1}{2}T\right)-0\right] + \frac{2}{T}\left[-0+\frac{H}{n\frac{2\pi}{T}}\sin\left(n\frac{2pi}{T}\frac{1}{2}T\right)\right]\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\sin(n\pi)}_\text{0}\right] + \frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\sin(n\pi)}_\text{0}\right]\\&lt;br /&gt;
        &amp;amp;=0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This just leaves the sine component of the waveform found below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        b_n &amp;amp;= \frac{2}{T}\int_0^{\frac{1}{2}T} H\sin(n\omega_0t)\, dt + \frac{2}{T}\int_{\frac{1}{2}T}^T -H\sin(n\omega_0t)\, dt\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{-H}{n\omega_0}\cos(n\omega_0t)\right]_0^{\frac{1}{2}T} + \frac{2}{T}\left[\frac{H}{n\omega_0}\cos(n\omega_0t)\right]_{\frac{1}{2}T}^T\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[-\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}\frac{1}{2}T)+\frac{H}{n\frac{2\pi}{T}}\right] + \frac{2}{T}\left[\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}T)-\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}\frac{1}{2}T)\right]\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[-\frac{TH}{2\pi n}\cos(n\pi)+\frac{TH}{2\pi n}\right] + \frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\cos(2 \pi n)}_\text{1}-\frac{TH}{2\pi n}\cos(n\pi)\right]\\&lt;br /&gt;
        &amp;amp;=-\frac{H}{\pi n}\cos(n\pi)+\frac{H}{\pi n} + \frac{H}{\pi n}-\frac{H}{\pi n}\cos(n\pi)\\&lt;br /&gt;
        &amp;amp;=\frac{2H}{\pi n}-\frac{2H}{\pi n}\cos(n\pi)\\&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, resulting in the Fourier series for a Square Wave.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\text{Square Wave Fourier Series: }x(t) = x(t+T) = \sum_{n=1}^\infty \left(\frac{2H}{\pi n}-\frac{2H}{\pi n}\cos(n\pi)\right) \sin(n\omega_0t)  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Triangle Wave===&lt;br /&gt;
Like the Square wave, the DC component of the Triangle Wave is 0 by inspection. Also, since the triangle wave is odd, it is made up only by sine components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_{-\frac{1}{4}T}^{\frac{1}{4}T}\left(\frac{4H}{T}t \right)\,dt + \frac{1}{T}\int_{\frac{1}{4}T}^{\frac{3}{4}T}\left(-\frac{4H}{T}t+2H\right) \,dt\\&lt;br /&gt;
        &amp;amp;= \frac{1}{T}\left[\frac{1}{2}\frac{4H}{T}t^2\right]_{-\frac{1}{4}T}^{\frac{1}{4}T} + \frac{1}{T}\left[-\frac{1}{2}\frac{4H}{T}t^2+2Ht\right]_{\frac{1}{4}T}^{\frac{3}{4}T}\\&lt;br /&gt;
        &amp;amp;= \frac{1}{T}\left[\frac{2H}{T}\left(\frac{1}{4}T\right)^2-\frac{2H}{T}\left(-\frac{1}{4}T\right)^2\right] + \frac{1}{T}\left[-\frac{2H}{T}\left(\frac{3}{4}T\right)^2+2H\left(\frac{3}{4}T\right)-\left(-\frac{2H}{T}\left(\frac{1}{4}T\right)^2+2H\left(\frac{1}{4}T\right)\right)\right]\\&lt;br /&gt;
        &amp;amp;= \frac{1}{T}\left[\underbrace{\frac{2H}{T}\frac{1}{16}T^2-\frac{2H}{T}\frac{1}{16}T^2}_\text{0}\right] + \frac{1}{T}\left[-\frac{2H}{T}\frac{9}{16}T^2+\frac{3}{2}HT+\frac{2H}{T}\frac{1}{16}T^2-\frac{1}{2}HT\right]\\&lt;br /&gt;
        &amp;amp;= 0 + \frac{1}{T}\left[-\frac{18H}{16T}T^2+\frac{3}{2}HT+\frac{2H}{16T}T^2-\frac{1}{2}HT\right]\\&lt;br /&gt;
        &amp;amp;= \frac{1}{T}\left[\underbrace{-\frac{18}{16}HT+\frac{24}{16}HT+\frac{2}{16}HT-\frac{8}{16}HT}_\text{0}\right]\\&lt;br /&gt;
        &amp;amp;= 0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_n &amp;amp;= \frac{2}{T}\int_{-\frac{1}{4}T}^{\frac{1}{4}T}\left(\frac{4H}{T}t\right)\cos\left(n\omega_0t\right) \,dt + \frac{2}{T}\int_{\frac{1}{4}T}^{\frac{3}{4}T}\left(-\frac{4H}{T}t+2H\right)\cos\left(n\omega_0t\right)\,dt\\&lt;br /&gt;
        &amp;amp;= \frac{8H}{T^2}\int_{-\frac{1}{4}T}^{\frac{1}{4}T}t\,\cos\left(n\omega_0t\right) \,dt + \frac{4H}{T}\int_{\frac{1}{4}T}^{\frac{3}{4}T}\left(-\frac{2}{T}t+1\right)\cos\left(n\omega_0t\right)\,dt\\&lt;br /&gt;
        &amp;amp;= \frac{8H}{T^2}\left[\frac{t}{n\omega_0}\sin(n\omega_0 t)+\frac{1}{n^2\omega_0 ^2}\cos(n\omega_0 t)\right]_{-\frac{1}{4}T}^{\frac{1}{4}T} + \frac{4H}{T}\left[\frac{-\frac{2}{T}t+1}{n\omega_0} \sin(n\omega_0 t) - \frac{2}{Tn^2\omega_0^2} \cos(n\omega_0 t)\right]_{-\frac{1}{4}T}^{\frac{3}{4}T}\\&lt;br /&gt;
        &amp;amp;= \frac{8H}{T^2}\left[\left[\frac{\frac{1}{4}T}{n\frac{2\pi}{T}}\sin\left(n\frac{2\pi}{T}\frac{1}{4}T\right)+\frac{1}{n^2\frac{4\pi^2}{T^2}}\cos\left(n\frac{2\pi}{T}\frac{1}{4}T\right)\right] - \left[\frac{-\frac{1}{4}T}{n\frac{2\pi}{T}}\sin\left(n\frac{2\pi}{T}\left(-\frac{1}{4}T\right)\right)+\frac{1}{n^2\frac{4\pi^2}{T^2}}\cos\left(n\frac{2\pi}{T}\left(-\frac{1}{4}T\right)\right)\right]\right]    +    \frac{4H}{T}\left[\left[\frac{-\frac{2}{T}\left(\frac{3}{4}T\right)+1}{n\frac{2\pi}{T}} \sin\left(n\frac{2\pi}{T}\frac{3}{4}T\right) - \frac{2}{Tn^2\frac{4\pi^2}{T^2}}\cos\left(n\frac{2\pi}{T}\frac{3}{4}T\right)\right] - \left[\frac{-\frac{2}{T}\left(-\frac{1}{4}T\right)+1}{n\frac{2\pi}{T}} \sin\left(n\frac{2\pi}{T}\left(-\frac{1}{4}T\right)\right) - \frac{2}{Tn^2\frac{4\pi^2}{T^2}}\cos\left(n\frac{2\pi}{T}\left(-\frac{1}{4}T\right)\right)\right]\right]\\&lt;br /&gt;
        &amp;amp;= \frac{8H}{T^2}\left[\left[\frac{T^2}{8\pi n}\sin\left(\frac{1}{2}n\pi\right)+\frac{T^2}{n^2 4\pi^2}\cos\left(\frac{1}{2}n\pi\right)\right] - \left[-\frac{T^2}{8\pi n}\sin\left(-\frac{1}{2}n\pi\right)+\frac{T^2}{n^2 4 \pi^2}\cos\left(-\frac{1}{2}n\pi\right)\right]\right]    +   \frac{4H}{T} \left[\left[-\frac{T}{4\pi n}\sin\left(\frac{3}{2}n\pi\right)-\frac{T}{2\pi^2 n^2}\cos\left(\frac{3}{2}n\pi\right)\right] - \left[\frac{3T}{4\pi n}\sin\left(-\frac{1}{2}n \pi\right)-\frac{T}{2\pi^2 n^2}\cos\left(-\frac{1}{2}n\pi\right)\right]\right]\\&lt;br /&gt;
        &amp;amp;= \frac{8H}{T^2}\left[\frac{T^2}{8\pi n}\sin\left(\frac{1}{2}n\pi\right)-\frac{T^2}{8\pi n}\sin\left(-\frac{1}{2}n\pi\right)+\underbrace{\frac{T^2}{n^2 4\pi^2}\cos\left(\frac{1}{2}n\pi\right)-\frac{T^2}{n^2 4\pi^2}\cos\left(-\frac{1}{2}n\pi\right)}_\text{0}\right] + \frac{4H}{T}\left[-\frac{T}{4\pi n}\sin\left(\frac{3}{2}n\pi\right) - \frac{3T}{4\pi n}\sin\left(-\frac{1}{2}n\pi\right) - \underbrace{\frac{T}{2\pi^2 n^2} \cos\left(\frac{3}{2}n\pi\right) + \frac{T}{2\pi^2 n^2} \cos\left(-\frac{1}{2}n\pi\right)}_\text{0}\right]\\&lt;br /&gt;
        &amp;amp;= \frac{8H}{T^2}\left[\frac{2T^2}{8\pi n}\sin\left(\frac{1}{2}n\pi\right)\right] + \text{integrate other side}\\&lt;br /&gt;
        &amp;amp;= \frac{2H}{\pi n}\sin\left(\frac{1}{2}n\pi\right) + \text{integrate other side}&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
test function &amp;amp;=&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Sawtooth Wave===&lt;br /&gt;
&lt;br /&gt;
==OCTAVE Scripts to Plot Fourier Series==&lt;br /&gt;
====Square Wave====&lt;br /&gt;
 clf;            %Clear Figure&lt;br /&gt;
 t=0:.01:10;     %Limits of the graph&lt;br /&gt;
 T=2*pi          %Definition of the period&lt;br /&gt;
 M=100           %Number of iterations to undergo&lt;br /&gt;
 sum1=0;         %Initialize the sum to &amp;lt;br&amp;gt;&lt;br /&gt;
 %----------FOURIER SERIES----------%&lt;br /&gt;
 for m=1:1:M,    %For m=1, increment by 1 until you get to M&lt;br /&gt;
   if(m!=0)&lt;br /&gt;
     sum1 = sum1 + ((2/(pi*m))-(2/(pi*m))*cos(m*pi))*sin(m*2*pi/T*t);&lt;br /&gt;
   end&lt;br /&gt;
 end&amp;lt;br&amp;gt;&lt;br /&gt;
 %---------------PLOT---------------%&lt;br /&gt;
 plot(t,real(sum1),&#039;b-&#039;)&lt;br /&gt;
 title(&#039;Fourier Series Representation of a Wave&#039;)&lt;br /&gt;
 xlabel(&#039;time (seconds)&#039;)&lt;br /&gt;
 ylabel(&#039;Function&#039;)&lt;br /&gt;
 grid on;&amp;lt;br&amp;gt;&lt;br /&gt;
 legend(num2str(M) &#039; terms&#039;);&lt;br /&gt;
 print(&amp;quot;squarewave.png&amp;quot;,&amp;quot;-dpng&amp;quot;)  % Prints the plot to a png file called squarewave.png&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
TODO:&lt;br /&gt;
*finish the triangle wave derivation&lt;br /&gt;
*start sawtooth wave derivation&lt;br /&gt;
*implement triangle wave Fourier Series in OCTAVE&lt;br /&gt;
*implement sawtooth wave Fourier Series in OCTAVE&lt;/div&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=10000</id>
		<title>Kurt&#039;s Assignment</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=10000"/>
		<updated>2010-11-02T07:06:21Z</updated>

		<summary type="html">&lt;p&gt;Kurt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Common Synthesizer Waveforms=&lt;br /&gt;
Many synthesizers employ a variety of waveforms to produce varied sounds. The most common waveform is the sine wave. However, in additive synthesis, multiple waveforms can be added together to create a different waveform with different characteristics. The basis for this form of synthesis is the Fourier series:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        x(t) &amp;amp;= x(t+T) = a_0 + \sum_{n=1}^\infty a_n \cos(n\omega_0t) + b_n \sin(n\omega_0t)\\&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_0^T f(t)\, dt\\&lt;br /&gt;
        a_n &amp;amp;= \frac{2}{T}\int_0^T f(t)\cos(n\omega_0t)\, dt\\&lt;br /&gt;
        b_n &amp;amp;= \frac{2}{T}\int_0^T f(t)\sin(n\omega_0t)\, dt\\&lt;br /&gt;
      \end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The four basic waveforms are Sine Waves, Square Waves, Triangle Waves, and Sawtooth Waves.&lt;br /&gt;
&lt;br /&gt;
===Square Wave===&lt;br /&gt;
By inspection of the waveform, the DC component of the wave will be 0. Also, since the waveform is odd, a&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; will be 0. Here is the proof:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_0^{\frac{1}{2}T} H\, dt + \frac{1}{T}\int_{\frac{1}{2}T}^T -H\, dt\\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}\left[Ht\right]\bigg|_{t=0}^{\frac{1}{2}T} - \frac{1}{T}\left[Ht\right]\bigg|_{t={\frac{1}{2}T}}^T\\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}H\frac{1}{2}T-0 - \left[\frac{1}{T}HT - \frac{1}{T}H\frac{1}{2}T\right]\\&lt;br /&gt;
        &amp;amp;=\frac{H}{2} - \left[H-\frac{1}{2}H\right]\\&lt;br /&gt;
        &amp;amp;=\frac{H}{2}-\frac{H}{2}\\&lt;br /&gt;
        &amp;amp;=0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_n &amp;amp;= \frac{2}{T}\int_0^{\frac{1}{2}T} H\cos(n\omega_0t)\, dt + \frac{2}{T}\int_{\frac{1}{2}T}^T -H\cos(n\omega_0t)\, dt\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{H}{n\omega_0}\sin(n\omega_0t)\right]_0^{\frac{1}{2}T} + \frac{2}{T}\left[\frac{-H}{n\omega_0}\sin\left(n\omega_0t\right)\right]_{\frac{1}{2}T}^T\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{H}{n\frac{2\pi}{T}}\sin\left(n\frac{2\pi}{T}\frac{1}{2}T\right)-0\right] + \frac{2}{T}\left[-0+\frac{H}{n\frac{2\pi}{T}}\sin\left(n\frac{2pi}{T}\frac{1}{2}T\right)\right]\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\sin(n\pi)}_\text{0}\right] + \frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\sin(n\pi)}_\text{0}\right]\\&lt;br /&gt;
        &amp;amp;=0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This just leaves the sine component of the waveform found below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        b_n &amp;amp;= \frac{2}{T}\int_0^{\frac{1}{2}T} H\sin(n\omega_0t)\, dt + \frac{2}{T}\int_{\frac{1}{2}T}^T -H\sin(n\omega_0t)\, dt\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{-H}{n\omega_0}\cos(n\omega_0t)\right]_0^{\frac{1}{2}T} + \frac{2}{T}\left[\frac{H}{n\omega_0}\cos(n\omega_0t)\right]_{\frac{1}{2}T}^T\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[-\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}\frac{1}{2}T)+\frac{H}{n\frac{2\pi}{T}}\right] + \frac{2}{T}\left[\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}T)-\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}\frac{1}{2}T)\right]\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[-\frac{TH}{2\pi n}\cos(n\pi)+\frac{TH}{2\pi n}\right] + \frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\cos(2 \pi n)}_\text{1}-\frac{TH}{2\pi n}\cos(n\pi)\right]\\&lt;br /&gt;
        &amp;amp;=-\frac{H}{\pi n}\cos(n\pi)+\frac{H}{\pi n} + \frac{H}{\pi n}-\frac{H}{\pi n}\cos(n\pi)\\&lt;br /&gt;
        &amp;amp;=\frac{2H}{\pi n}-\frac{2H}{\pi n}\cos(n\pi)\\&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, resulting in the Fourier series for a Square Wave.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\text{Square Wave Fourier Series: }x(t) = x(t+T) = \sum_{n=1}^\infty \left(\frac{2H}{\pi n}-\frac{2H}{\pi n}\cos(n\pi)\right) \sin(n\omega_0t)  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Triangle Wave===&lt;br /&gt;
Like the Square wave, the DC component of the Triangle Wave is 0 by inspection. Also, since the triangle wave is odd, it is made up only by sine components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_{-\frac{1}{4}T}^{\frac{1}{4}T}\left(\frac{4H}{T}t \right)\,dt + \frac{1}{T}\int_{\frac{1}{4}T}^{\frac{3}{4}T}\left(-\frac{4H}{T}t+2H\right) \,dt\\&lt;br /&gt;
        &amp;amp;= \frac{1}{T}\left[\frac{1}{2}\frac{4H}{T}t^2\right]_{-\frac{1}{4}T}^{\frac{1}{4}T} + \frac{1}{T}\left[-\frac{1}{2}\frac{4H}{T}t^2+2Ht\right]_{\frac{1}{4}T}^{\frac{3}{4}T}\\&lt;br /&gt;
        &amp;amp;= \frac{1}{T}\left[\frac{2H}{T}\left(\frac{1}{4}T\right)^2-\frac{2H}{T}\left(-\frac{1}{4}T\right)^2\right] + \frac{1}{T}\left[-\frac{2H}{T}\left(\frac{3}{4}T\right)^2+2H\left(\frac{3}{4}T\right)-\left(-\frac{2H}{T}\left(\frac{1}{4}T\right)^2+2H\left(\frac{1}{4}T\right)\right)\right]\\&lt;br /&gt;
        &amp;amp;= \frac{1}{T}\left[\underbrace{\frac{2H}{T}\frac{1}{16}T^2-\frac{2H}{T}\frac{1}{16}T^2}_\text{0}\right] + \frac{1}{T}\left[-\frac{2H}{T}\frac{9}{16}T^2+\frac{3}{2}HT+\frac{2H}{T}\frac{1}{16}T^2-\frac{1}{2}HT\right]\\&lt;br /&gt;
        &amp;amp;= 0 + \frac{1}{T}\left[-\frac{18H}{16T}T^2+\frac{3}{2}HT+\frac{2H}{16T}T^2-\frac{1}{2}HT\right]\\&lt;br /&gt;
        &amp;amp;= \frac{1}{T}\left[\underbrace{-\frac{18}{16}HT+\frac{24}{16}HT+\frac{2}{16}HT-\frac{8}{16}HT}_\text{0}\right]\\&lt;br /&gt;
        &amp;amp;= 0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_n &amp;amp;= \frac{2}{T}\int_{-\frac{1}{4}T}^{\frac{1}{4}T}\left(\frac{4H}{T}t\right)\cos\left(n\omega_0t\right) \,dt + \frac{2}{T}\int_{\frac{1}{4}T}^{\frac{3}{4}T}\left(-\frac{4H}{T}t+2H\right)\cos\left(n\omega_0t\right)\,dt\\&lt;br /&gt;
        &amp;amp;= \frac{8H}{T^2}\int_{-\frac{1}{4}T}^{\frac{1}{4}T}t\,\cos\left(n\omega_0t\right) \,dt + \frac{4H}{T}\int_{\frac{1}{4}T}^{\frac{3}{4}T}\left(-\frac{2}{T}t+1\right)\cos\left(n\omega_0t\right)\,dt\\&lt;br /&gt;
        &amp;amp;= \frac{8H}{T^2}\left[\frac{t}{n\omega_0}\sin(n\omega_0 t)+\frac{1}{n^2\omega_0 ^2}\cos(n\omega_0 t)\right]_{-\frac{1}{4}T}^{\frac{1}{4}T} + \frac{4H}{T}\left[\frac{-\frac{2}{T}t+1}{n\omega_0} \sin(n\omega_0 t) - \frac{2}{Tn^2\omega_0^2} \cos(n\omega_0 t)\right]_{-\frac{1}{4}T}^{\frac{3}{4}T}\\&lt;br /&gt;
        &amp;amp;= \frac{8H}{T^2}\left[\left[\frac{\frac{1}{4}T}{n\frac{2\pi}{T}}\sin\left(n\frac{2\pi}{T}\frac{1}{4}T\right)+\frac{1}{n^2\frac{4\pi^2}{T^2}}\cos\left(n\frac{2\pi}{T}\frac{1}{4}T\right)\right] - \left[\frac{-\frac{1}{4}T}{n\frac{2\pi}{T}}\sin\left(n\frac{2\pi}{T}-\frac{1}{4}T\right)+\frac{1}{n^2\frac{4\pi^2}{T^2}}\cos\left(n\frac{2\pi}{T}-\frac{1}{4}T\right)\right]\right]    +    \frac{4H}{T}\left[\left[\frac{-\frac{2}{T}\left(\frac{3}{4}T\right)+1}{n\frac{2\pi}{T}} \sin\left(n\frac{2\pi}{T}\frac{3}{4}T\right) - \frac{2}{Tn^2\frac{4\pi^2}{T^2}}\cos\left(n\frac{2\pi}{T}\frac{3}{4}T\right)\right] - \left[\frac{-\frac{2}{T}\left(-\frac{1}{4}T\right)+1}{n\frac{2\pi}{T}} \sin\left(n\frac{2\pi}{T}\left(-\frac{1}{4}T\right)\right) - \frac{2}{Tn^2\frac{4\pi^2}{T^2}}\cos\left(n\frac{2\pi}{T}\left(-\frac{1}{4}T\right)\right)\right]\right]\\&lt;br /&gt;
        &amp;amp;= \frac{8H}{T^2}\left[\left[\frac{T^2}{8\pi n}\sin\left(\frac{1}{2}n\pi\right)+\frac{T^2}{n^2 4\pi^2}\cos\left(\frac{1}{2}n\pi\right)\right] - \left[-\frac{T^2}{8\pi n}\sin\left(-\frac{1}{2}n\pi\right)+\frac{T^2}{n^2 4 \pi^2}\cos\left(-\frac{1}{2}n\pi\right)\right]\right]    +   \frac{4H}{T} \left[\left[-\frac{T}{4\pi n}\sin\left(\frac{3}{2}n\pi\right)-\frac{T}{2\pi^2 n^2}\cos\left(\frac{3}{2}n\pi\right)\right] - \left[\frac{3T}{4\pi n}\sin\left(-\frac{1}{2}n \pi\right)-\frac{T}{2\pi^2 n^2}\cos\left(-\frac{1}{2}n\pi\right)\right]\right]\\&lt;br /&gt;
        &amp;amp;= \frac{8H}{T^2}\left[\frac{T^2}{8\pi n}\sin\left(\frac{1}{2}n\pi\right)-\frac{T^2}{8\pi n}\sin\left(-\frac{1}{2}n\pi\right)+\underbrace{\frac{T^2}{n^2 4\pi^2}\cos\left(\frac{1}{2}n\pi\right)-\frac{T^2}{n^2 4\pi^2}\cos\left(-\frac{1}{2}n\pi\right)}_\text{0}\right] + \frac{4H}{T}\left[-\frac{T}{4\pi n}\sin\left(\frac{3}{2}n\pi\right) - \frac{3T}{4\pi n}\sin\left(-\frac{1}{2}n\pi\right) - \underbrace{\frac{T}{2\pi^2 n^2} \cos\left(\frac{3}{2}n\pi\right) + \frac{T}{2\pi^2 n^2} \cos\left(-\frac{1}{2}n\pi\right)}_\text{0}\right]\\&lt;br /&gt;
        &amp;amp;= \frac{8H}{T^2}\left[\frac{2T^2}{8\pi n}\sin\left(\frac{1}{2}n\pi\right)\right] + \text{integrate other side}\\&lt;br /&gt;
        &amp;amp;= \frac{2H}{\pi n}\sin\left(\frac{1}{2}n\pi\right) + \text{integrate other side}&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
test function &amp;amp;=&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Sawtooth Wave===&lt;br /&gt;
&lt;br /&gt;
==OCTAVE Scripts to Plot Fourier Series==&lt;br /&gt;
====Square Wave====&lt;br /&gt;
 clf;            %Clear Figure&lt;br /&gt;
 t=0:.01:10;     %Limits of the graph&lt;br /&gt;
 T=2*pi          %Definition of the period&lt;br /&gt;
 M=100           %Number of iterations to undergo&lt;br /&gt;
 sum1=0;         %Initialize the sum to &amp;lt;br&amp;gt;&lt;br /&gt;
 %----------FOURIER SERIES----------%&lt;br /&gt;
 for m=1:1:M,    %For m=1, increment by 1 until you get to M&lt;br /&gt;
   if(m!=0)&lt;br /&gt;
     sum1 = sum1 + ((2/(pi*m))-(2/(pi*m))*cos(m*pi))*sin(m*2*pi/T*t);&lt;br /&gt;
   end&lt;br /&gt;
 end&amp;lt;br&amp;gt;&lt;br /&gt;
 %---------------PLOT---------------%&lt;br /&gt;
 plot(t,real(sum1),&#039;b-&#039;)&lt;br /&gt;
 title(&#039;Fourier Series Representation of a Wave&#039;)&lt;br /&gt;
 xlabel(&#039;time (seconds)&#039;)&lt;br /&gt;
 ylabel(&#039;Function&#039;)&lt;br /&gt;
 grid on;&amp;lt;br&amp;gt;&lt;br /&gt;
 legend(num2str(M) &#039; terms&#039;);&lt;br /&gt;
 print(&amp;quot;squarewave.png&amp;quot;,&amp;quot;-dpng&amp;quot;)  % Prints the plot to a png file called squarewave.png&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
TODO:&lt;br /&gt;
*finish the triangle wave derivation&lt;br /&gt;
*start sawtooth wave derivation&lt;br /&gt;
*implement triangle wave Fourier Series in OCTAVE&lt;br /&gt;
*implement sawtooth wave Fourier Series in OCTAVE&lt;/div&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=9999</id>
		<title>Kurt&#039;s Assignment</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=9999"/>
		<updated>2010-11-02T06:53:24Z</updated>

		<summary type="html">&lt;p&gt;Kurt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Common Synthesizer Waveforms=&lt;br /&gt;
Many synthesizers employ a variety of waveforms to produce varied sounds. The most common waveform is the sine wave. However, in additive synthesis, multiple waveforms can be added together to create a different waveform with different characteristics. The basis for this form of synthesis is the Fourier series:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        x(t) &amp;amp;= x(t+T) = a_0 + \sum_{n=1}^\infty a_n \cos(n\omega_0t) + b_n \sin(n\omega_0t)\\&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_0^T f(t)\, dt\\&lt;br /&gt;
        a_n &amp;amp;= \frac{2}{T}\int_0^T f(t)\cos(n\omega_0t)\, dt\\&lt;br /&gt;
        b_n &amp;amp;= \frac{2}{T}\int_0^T f(t)\sin(n\omega_0t)\, dt\\&lt;br /&gt;
      \end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The four basic waveforms are Sine Waves, Square Waves, Triangle Waves, and Sawtooth Waves.&lt;br /&gt;
&lt;br /&gt;
===Square Wave===&lt;br /&gt;
By inspection of the waveform, the DC component of the wave will be 0. Also, since the waveform is odd, a&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; will be 0. Here is the proof:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_0^{\frac{1}{2}T} H\, dt + \frac{1}{T}\int_{\frac{1}{2}T}^T -H\, dt\\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}\left[Ht\right]\bigg|_{t=0}^{\frac{1}{2}T} - \frac{1}{T}\left[Ht\right]\bigg|_{t={\frac{1}{2}T}}^T\\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}H\frac{1}{2}T-0 - \left[\frac{1}{T}HT - \frac{1}{T}H\frac{1}{2}T\right]\\&lt;br /&gt;
        &amp;amp;=\frac{H}{2} - \left[H-\frac{1}{2}H\right]\\&lt;br /&gt;
        &amp;amp;=\frac{H}{2}-\frac{H}{2}\\&lt;br /&gt;
        &amp;amp;=0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_n &amp;amp;= \frac{2}{T}\int_0^{\frac{1}{2}T} H\cos(n\omega_0t)\, dt + \frac{2}{T}\int_{\frac{1}{2}T}^T -H\cos(n\omega_0t)\, dt\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{H}{n\omega_0}\sin(n\omega_0t)\right]_0^{\frac{1}{2}T} + \frac{2}{T}\left[\frac{-H}{n\omega_0}\sin\left(n\omega_0t\right)\right]_{\frac{1}{2}T}^T\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{H}{n\frac{2\pi}{T}}\sin\left(n\frac{2\pi}{T}\frac{1}{2}T\right)-0\right] + \frac{2}{T}\left[-0+\frac{H}{n\frac{2\pi}{T}}\sin\left(n\frac{2pi}{T}\frac{1}{2}T\right)\right]\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\sin(n\pi)}_\text{0}\right] + \frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\sin(n\pi)}_\text{0}\right]\\&lt;br /&gt;
        &amp;amp;=0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This just leaves the sine component of the waveform found below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        b_n &amp;amp;= \frac{2}{T}\int_0^{\frac{1}{2}T} H\sin(n\omega_0t)\, dt + \frac{2}{T}\int_{\frac{1}{2}T}^T -H\sin(n\omega_0t)\, dt\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{-H}{n\omega_0}\cos(n\omega_0t)\right]_0^{\frac{1}{2}T} + \frac{2}{T}\left[\frac{H}{n\omega_0}\cos(n\omega_0t)\right]_{\frac{1}{2}T}^T\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[-\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}\frac{1}{2}T)+\frac{H}{n\frac{2\pi}{T}}\right] + \frac{2}{T}\left[\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}T)-\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}\frac{1}{2}T)\right]\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[-\frac{TH}{2\pi n}\cos(n\pi)+\frac{TH}{2\pi n}\right] + \frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\cos(2 \pi n)}_\text{1}-\frac{TH}{2\pi n}\cos(n\pi)\right]\\&lt;br /&gt;
        &amp;amp;=-\frac{H}{\pi n}\cos(n\pi)+\frac{H}{\pi n} + \frac{H}{\pi n}-\frac{H}{\pi n}\cos(n\pi)\\&lt;br /&gt;
        &amp;amp;=\frac{2H}{\pi n}-\frac{2H}{\pi n}\cos(n\pi)\\&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, resulting in the Fourier series for a Square Wave.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\text{Square Wave Fourier Series: }x(t) = x(t+T) = \sum_{n=1}^\infty \left(\frac{2H}{\pi n}-\frac{2H}{\pi n}\cos(n\pi)\right) \sin(n\omega_0t)  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Triangle Wave===&lt;br /&gt;
Like the Square wave, the DC component of the Triangle Wave is 0 by inspection. Also, since the triangle wave is odd, it is made up only by sine components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_{-\frac{1}{4}T}^{\frac{1}{4}T}\left(\frac{4H}{T}t \right)\,dt + \frac{1}{T}\int_{\frac{1}{4}T}^{\frac{3}{4}T}\left(-\frac{4H}{T}t+2H\right) \,dt\\&lt;br /&gt;
        &amp;amp;= \frac{1}{T}\left[\frac{1}{2}\frac{4H}{T}t^2\right]_{-\frac{1}{4}T}^{\frac{1}{4}T} + \frac{1}{T}\left[-\frac{1}{2}\frac{4H}{T}t^2+2Ht\right]_{\frac{1}{4}T}^{\frac{3}{4}T}\\&lt;br /&gt;
        &amp;amp;= \frac{1}{T}\left[\frac{2H}{T}\left(\frac{1}{4}T\right)^2-\frac{2H}{T}\left(-\frac{1}{4}T\right)^2\right] + \frac{1}{T}\left[-\frac{2H}{T}\left(\frac{3}{4}T\right)^2+2H\left(\frac{3}{4}T\right)-\left(-\frac{2H}{T}\left(\frac{1}{4}T\right)^2+2H\left(\frac{1}{4}T\right)\right)\right]\\&lt;br /&gt;
        &amp;amp;= \frac{1}{T}\left[\underbrace{\frac{2H}{T}\frac{1}{16}T^2-\frac{2H}{T}\frac{1}{16}T^2}_\text{0}\right] + \frac{1}{T}\left[-\frac{2H}{T}\frac{9}{16}T^2+\frac{3}{2}HT+\frac{2H}{T}\frac{1}{16}T^2-\frac{1}{2}HT\right]\\&lt;br /&gt;
        &amp;amp;= 0 + \frac{1}{T}\left[-\frac{18H}{16T}T^2+\frac{3}{2}HT+\frac{2H}{16T}T^2-\frac{1}{2}HT\right]\\&lt;br /&gt;
        &amp;amp;= \frac{1}{T}\left[\underbrace{-\frac{18}{16}HT+\frac{24}{16}HT+\frac{2}{16}HT-\frac{8}{16}HT}_\text{0}\right]\\&lt;br /&gt;
        &amp;amp;= 0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_n &amp;amp;= \frac{2}{T}\int_{-\frac{1}{4}T}^{\frac{1}{4}T}\left(\frac{4H}{T}t\right)\cos\left(n\omega_0t\right) \,dt + \frac{2}{T}\int_{\frac{1}{4}T}^{\frac{3}{4}T}\left(-\frac{4H}{T}t+2H\right)\cos\left(n\omega_0t\right)\,dt\\&lt;br /&gt;
        &amp;amp;= \frac{8H}{T^2}\int_{-\frac{1}{4}T}^{\frac{1}{4}T}t\,\cos\left(n\omega_0t\right) \,dt + \frac{4H}{T}\int_{\frac{1}{4}T}^{\frac{3}{4}T}\left(-\frac{2}{T}t+1\right)\cos\left(n\omega_0t\right)\,dt\\&lt;br /&gt;
        &amp;amp;= \frac{8H}{T^2}\left[\frac{t}{n\omega_0}\sin(n\omega_0 t)+\frac{1}{n^2\omega_0 ^2}\cos(n\omega_0 t)\right]_{-\frac{1}{4}T}^{\frac{1}{4}T} + \frac{4H}{T}\left[\frac{-\frac{2}{T}t+1}{n\omega_0} \sin(n\omega_0 t) - \frac{2}{Tn^2\omega_0^2} \cos(n\omega_0 t)\right]_{-\frac{1}{4}T}^{\frac{3}{4}T}\\&lt;br /&gt;
        &amp;amp;= \frac{8H}{T^2}\left[\left[\frac{\frac{1}{4}T}{n\frac{2\pi}{T}}\sin\left(n\frac{2\pi}{T}\frac{1}{4}T\right)+\frac{1}{n^2\frac{4\pi^2}{T^2}}\cos\left(n\frac{2\pi}{T}\frac{1}{4}T\right)\right] - \left[\frac{-\frac{1}{4}T}{n\frac{2\pi}{T}}\sin\left(n\frac{2\pi}{T}-\frac{1}{4}T\right)+\frac{1}{n^2\frac{4\pi^2}{T^2}}\cos\left(n\frac{2\pi}{T}-\frac{1}{4}T\right)\right]\right]    +    \frac{4H}{T}\left[\left[\frac{-\frac{2}{T}\left(\frac{3}{4}T\right)+1}{n\frac{2\pi}{T}} \sin\left(n\frac{2\pi}{T}\frac{3}{4}T\right) - \frac{2}{Tn^2\frac{4\pi^2}{T^2}}\cos\left(n\frac{2\pi}{T}\frac{3}{4}T\right)\right] - \left[\frac{-\frac{2}{T}\left(-\frac{1}{4}T\right)+1}{n\frac{2\pi}{T}} \sin\left(n\frac{2\pi}{T}\left(-\frac{1}{4}T\right)\right) - \frac{2}{Tn^2\frac{4\pi^2}{T^2}}\cos\left(n\frac{2\pi}{T}\left(-\frac{1}{4}T\right)\right)\right]\right]\\&lt;br /&gt;
        &amp;amp;= \frac{8H}{T^2}\left[\left[\frac{T^2}{8\pi n}\sin\left(\frac{1}{2}n\pi\right)+\frac{T^2}{n^2 4\pi^2}\cos\left(\frac{1}{2}n\pi\right)\right] - \left[\frac{T^2}{8\pi n}\sin\left(-\frac{1}{2}n\pi\right)+\frac{T^2}{n^2 4 \pi^2}\cos\left(-\frac{1}{2}n\pi\right)\right]\right]    +   \frac{4H}{T} \left[\left[-\frac{T}{4\pi n}\sin\left(\frac{3}{2}n\pi\right)-\frac{T}{2\pi^2 n^2}\cos\left(\frac{3}{2}n\pi\right)\right] - \left[\frac{3T}{4\pi n}\sin\left(-\frac{1}{2}n \pi\right)-\frac{T}{2\pi^2 n^2}\cos\left(-\frac{1}{2}n\pi\right)\right]\right]\\&lt;br /&gt;
        &amp;amp;= \frac{8H}{T^2}\left[\frac{T^2}{8\pi n}\sin\left(\frac{1}{2}n\pi\right)-\frac{T^2}{8\pi n}\sin\left(-\frac{1}{2}n\pi\right)+\underbrace{\frac{T^2}{n^2 4\pi^2}\cos\left(\frac{1}{2}n\pi\right)-\frac{T^2}{n^2 4\pi^2}\cos\left(-\frac{1}{2}n\pi\right)}_\text{0}\right] + \frac{4H}{T}\left[-\frac{T}{4\pi n}\sin\left(\frac{3}{2}n\pi\right) - \frac{3T}{4\pi n}\sin\left(-\frac{1}{2}n\pi\right) - \underbrace{\frac{T}{2\pi^2 n^2} \cos\left(\frac{3}{2}n\pi\right) + \frac{T}{2\pi^2 n^2} \cos\left(-\frac{1}{2}n\pi\right)}_\text{0}\right]\\&lt;br /&gt;
        &amp;amp;= \frac{8H}{T^2}\left[\frac{2T^2}{8\pi n}\sin\left(\frac{1}{2}n\pi\right)\right] + \text{integrate other side}\\&lt;br /&gt;
        &amp;amp;= \frac{2H}{\pi n}\sin\left(\frac{1}{2}n\pi\right) + \text{integrate other side}&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
test function &amp;amp;=&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Sawtooth Wave===&lt;br /&gt;
&lt;br /&gt;
==OCTAVE Scripts to Plot Fourier Series==&lt;br /&gt;
====Square Wave====&lt;br /&gt;
 clf;            %Clear Figure&lt;br /&gt;
 t=0:.01:10;     %Limits of the graph&lt;br /&gt;
 T=2*pi          %Definition of the period&lt;br /&gt;
 M=100           %Number of iterations to undergo&lt;br /&gt;
 sum1=0;         %Initialize the sum to &amp;lt;br&amp;gt;&lt;br /&gt;
 %----------FOURIER SERIES----------%&lt;br /&gt;
 for m=1:1:M,    %For m=1, increment by 1 until you get to M&lt;br /&gt;
   if(m!=0)&lt;br /&gt;
     sum1 = sum1 + ((2/(pi*m))-(2/(pi*m))*cos(m*pi))*sin(m*2*pi/T*t);&lt;br /&gt;
   end&lt;br /&gt;
 end&amp;lt;br&amp;gt;&lt;br /&gt;
 %---------------PLOT---------------%&lt;br /&gt;
 plot(t,real(sum1),&#039;b-&#039;)&lt;br /&gt;
 title(&#039;Fourier Series Representation of a Wave&#039;)&lt;br /&gt;
 xlabel(&#039;time (seconds)&#039;)&lt;br /&gt;
 ylabel(&#039;Function&#039;)&lt;br /&gt;
 grid on;&amp;lt;br&amp;gt;&lt;br /&gt;
 legend(num2str(M) &#039; terms&#039;);&lt;br /&gt;
 print(&amp;quot;squarewave.png&amp;quot;,&amp;quot;-dpng&amp;quot;)  % Prints the plot to a png file called squarewave.png&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
TODO:&lt;br /&gt;
*finish the triangle wave derivation&lt;br /&gt;
*start sawtooth wave derivation&lt;br /&gt;
*implement triangle wave Fourier Series in OCTAVE&lt;br /&gt;
*implement sawtooth wave Fourier Series in OCTAVE&lt;/div&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=9998</id>
		<title>Kurt&#039;s Assignment</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=9998"/>
		<updated>2010-11-02T06:50:43Z</updated>

		<summary type="html">&lt;p&gt;Kurt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Common Synthesizer Waveforms=&lt;br /&gt;
Many synthesizers employ a variety of waveforms to produce varied sounds. The most common waveform is the sine wave. However, in additive synthesis, multiple waveforms can be added together to create a different waveform with different characteristics. The basis for this form of synthesis is the Fourier series:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        x(t) &amp;amp;= x(t+T) = a_0 + \sum_{n=1}^\infty a_n \cos(n\omega_0t) + b_n \sin(n\omega_0t)\\&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_0^T f(t)\, dt\\&lt;br /&gt;
        a_n &amp;amp;= \frac{2}{T}\int_0^T f(t)\cos(n\omega_0t)\, dt\\&lt;br /&gt;
        b_n &amp;amp;= \frac{2}{T}\int_0^T f(t)\sin(n\omega_0t)\, dt\\&lt;br /&gt;
      \end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The four basic waveforms are Sine Waves, Square Waves, Triangle Waves, and Sawtooth Waves.&lt;br /&gt;
&lt;br /&gt;
===Square Wave===&lt;br /&gt;
By inspection of the waveform, the DC component of the wave will be 0. Also, since the waveform is odd, a&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; will be 0. Here is the proof:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_0^{\frac{1}{2}T} H\, dt + \frac{1}{T}\int_{\frac{1}{2}T}^T -H\, dt\\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}\left[Ht\right]\bigg|_{t=0}^{\frac{1}{2}T} - \frac{1}{T}\left[Ht\right]\bigg|_{t={\frac{1}{2}T}}^T\\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}H\frac{1}{2}T-0 - \left[\frac{1}{T}HT - \frac{1}{T}H\frac{1}{2}T\right]\\&lt;br /&gt;
        &amp;amp;=\frac{H}{2} - \left[H-\frac{1}{2}H\right]\\&lt;br /&gt;
        &amp;amp;=\frac{H}{2}-\frac{H}{2}\\&lt;br /&gt;
        &amp;amp;=0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_n &amp;amp;= \frac{2}{T}\int_0^{\frac{1}{2}T} H\cos(n\omega_0t)\, dt + \frac{2}{T}\int_{\frac{1}{2}T}^T -H\cos(n\omega_0t)\, dt\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{H}{n\omega_0}\sin(n\omega_0t)\right]_0^{\frac{1}{2}T} + \frac{2}{T}\left[\frac{-H}{n\omega_0}\sin\left(n\omega_0t\right)\right]_{\frac{1}{2}T}^T\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{H}{n\frac{2\pi}{T}}\sin\left(n\frac{2\pi}{T}\frac{1}{2}T\right)-0\right] + \frac{2}{T}\left[-0+\frac{H}{n\frac{2\pi}{T}}\sin\left(n\frac{2pi}{T}\frac{1}{2}T\right)\right]\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\sin(n\pi)}_\text{0}\right] + \frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\sin(n\pi)}_\text{0}\right]\\&lt;br /&gt;
        &amp;amp;=0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This just leaves the sine component of the waveform found below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        b_n &amp;amp;= \frac{2}{T}\int_0^{\frac{1}{2}T} H\sin(n\omega_0t)\, dt + \frac{2}{T}\int_{\frac{1}{2}T}^T -H\sin(n\omega_0t)\, dt\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{-H}{n\omega_0}\cos(n\omega_0t)\right]_0^{\frac{1}{2}T} + \frac{2}{T}\left[\frac{H}{n\omega_0}\cos(n\omega_0t)\right]_{\frac{1}{2}T}^T\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[-\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}\frac{1}{2}T)+\frac{H}{n\frac{2\pi}{T}}\right] + \frac{2}{T}\left[\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}T)-\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}\frac{1}{2}T)\right]\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[-\frac{TH}{2\pi n}\cos(n\pi)+\frac{TH}{2\pi n}\right] + \frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\cos(2 \pi n)}_\text{1}-\frac{TH}{2\pi n}\cos(n\pi)\right]\\&lt;br /&gt;
        &amp;amp;=-\frac{H}{\pi n}\cos(n\pi)+\frac{H}{\pi n} + \frac{H}{\pi n}-\frac{H}{\pi n}\cos(n\pi)\\&lt;br /&gt;
        &amp;amp;=\frac{2H}{\pi n}-\frac{2H}{\pi n}\cos(n\pi)\\&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, resulting in the Fourier series for a Square Wave.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\text{Square Wave Fourier Series: }x(t) = x(t+T) = \sum_{n=1}^\infty \left(\frac{2H}{\pi n}-\frac{2H}{\pi n}\cos(n\pi)\right) \sin(n\omega_0t)  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Triangle Wave===&lt;br /&gt;
Like the Square wave, the DC component of the Triangle Wave is 0 by inspection. Also, since the triangle wave is odd, it is made up only by sine components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_{-\frac{1}{4}T}^{\frac{1}{4}T}\left(\frac{4H}{T}t \right)\,dt + \frac{1}{T}\int_{\frac{1}{4}T}^{\frac{3}{4}T}\left(-\frac{4H}{T}t+2H\right) \,dt\\&lt;br /&gt;
        &amp;amp;= \frac{1}{T}\left[\frac{1}{2}\frac{4H}{T}t^2\right]_{-\frac{1}{4}T}^{\frac{1}{4}T} + \frac{1}{T}\left[-\frac{1}{2}\frac{4H}{T}t^2+2Ht\right]_{\frac{1}{4}T}^{\frac{3}{4}T}\\&lt;br /&gt;
        &amp;amp;= \frac{1}{T}\left[\frac{2H}{T}\left(\frac{1}{4}T\right)^2-\frac{2H}{T}\left(-\frac{1}{4}T\right)^2\right] + \frac{1}{T}\left[-\frac{2H}{T}\left(\frac{3}{4}T\right)^2+2H\left(\frac{3}{4}T\right)-\left(-\frac{2H}{T}\left(\frac{1}{4}T\right)^2+2H\left(\frac{1}{4}T\right)\right)\right]\\&lt;br /&gt;
        &amp;amp;= \frac{1}{T}\left[\underbrace{\frac{2H}{T}\frac{1}{16}T^2-\frac{2H}{T}\frac{1}{16}T^2}_\text{0}\right] + \frac{1}{T}\left[-\frac{2H}{T}\frac{9}{16}T^2+\frac{3}{2}HT+\frac{2H}{T}\frac{1}{16}T^2-\frac{1}{2}HT\right]\\&lt;br /&gt;
        &amp;amp;= 0 + \frac{1}{T}\left[-\frac{18H}{16T}T^2+\frac{3}{2}HT+\frac{2H}{16T}T^2-\frac{1}{2}HT\right]\\&lt;br /&gt;
        &amp;amp;= \frac{1}{T}\left[\underbrace{-\frac{18}{16}HT+\frac{24}{16}HT+\frac{2}{16}HT-\frac{8}{16}HT}_\text{0}\right]\\&lt;br /&gt;
        &amp;amp;= 0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_n &amp;amp;= \frac{2}{T}\int_{-\frac{1}{4}T}^{\frac{1}{4}T}\left(\frac{4H}{T}t\right)\cos\left(n\omega_0t\right) \,dt + \frac{2}{T}\int_{\frac{1}{4}T}^{\frac{3}{4}T}\left(-\frac{4H}{T}t+2H\right)\cos\left(n\omega_0t\right)\,dt\\&lt;br /&gt;
        &amp;amp;= \frac{8H}{T^2}\int_{-\frac{1}{4}T}^{\frac{1}{4}T}t\,\cos\left(n\omega_0t\right) \,dt + \frac{4H}{T}\int_{\frac{1}{4}T}^{\frac{3}{4}T}\left(-\frac{2}{T}t+1\right)\cos\left(n\omega_0t\right)\,dt\\&lt;br /&gt;
        &amp;amp;= \frac{8H}{T^2}\left[\frac{t}{n\omega_0}\sin(n\omega_0 t)+\frac{1}{n^2\omega_0 ^2}\cos(n\omega_0 t)\right]_{-\frac{1}{4}T}^{\frac{1}{4}T} + \frac{4H}{T}\left[\frac{-\frac{2}{T}t+1}{n\omega_0} \sin(n\omega_0 t) - \frac{2}{Tn^2\omega_0^2} \cos(n\omega_0 t)\right]_{-\frac{1}{4}T}^{\frac{3}{4}T}\\&lt;br /&gt;
        &amp;amp;= \frac{8H}{T^2}\left[\left[\frac{\frac{1}{4}T}{n\frac{2\pi}{T}}\sin\left(n\frac{2\pi}{T}\frac{1}{4}T\right)+\frac{1}{n^2\frac{4\pi^2}{T^2}}\cos\left(n\frac{2\pi}{T}\frac{1}{4}T\right)\right] - \left[\frac{-\frac{1}{4}T}{n\frac{2\pi}{T}}\sin\left(n\frac{2\pi}{T}-\frac{1}{4}T\right)+\frac{1}{n^2\frac{4\pi^2}{T^2}}\cos\left(n\frac{2\pi}{T}-\frac{1}{4}T\right)\right]\right]    +    \frac{4H}{T}\left[\left[\frac{-\frac{2}{T}\left(\frac{3}{4}T\right)+1}{n\frac{2\pi}{T}} \sin\left(n\frac{2\pi}{T}\frac{3}{4}T\right) - \frac{2}{Tn^2\frac{4\pi^2}{T^2}}\cos\left(n\frac{2\pi}{T}\frac{3}{4}T\right)\right] - \left[\frac{-\frac{2}{T}\left(-\frac{1}{4}T\right)+1}{n\frac{2\pi}{T}} \sin\left(n\frac{2\pi}{T}\left(-\frac{1}{4}T\right)\right) - \frac{2}{Tn^2\frac{4\pi^2}{T^2}}\cos\left(n\frac{2\pi}{T}\left(-\frac{1}{4}T\right)\right)\right]\right]\\&lt;br /&gt;
        &amp;amp;= \frac{8H}{T^2}\left[\left[\frac{T^2}{8\pi n}\sin\left(\frac{1}{2}n\pi\right)+\frac{T^2}{n^2 4\pi^2}\cos\left(\frac{1}{2}n\pi\right)\right] - \left[\frac{T^2}{8\pi n}\sin\left(-\frac{1}{2}n\pi\right)+\frac{T^2}{n^2 4 \pi^2}\cos\left(-\frac{1}{2}n\pi\right)\right]\right]    +   \frac{4H}{T} \left[\left[-\frac{T}{4\pi n}\sin\left(\frac{3}{2}n\pi\right)-\frac{T}{2\pi^2 n^2}\cos\left(\frac{3}{2}n\pi\right)\right] - \left[\frac{3T}{4\pi n}\sin\left(-\frac{1}{2}n \pi\right)-\frac{T}{2\pi^2 n^2}\cos\left(-\frac{1}{2}n\pi\right)\right]\right]\\&lt;br /&gt;
        &amp;amp;= \frac{8H}{T^2}\left[\frac{T^2}{8\pi n}\sin\left(\frac{1}{2}n\pi\right)-\frac{T^2}{8\pi n}\sin\left(-\frac{1}{2}n\pi\right)+\underbrace{\frac{T^2}{n^2 4\pi^2}\cos\left(\frac{1}{2}n\pi\right)-\frac{T^2}{n^2 4\pi^2}\cos\left(-\frac{1}{2}n\pi\right)}_\text{0}\right] + \frac{4H}{T}\left[-\frac{T}{4\pi n}\sin\left(\frac{3}{2}n\pi\right) - \frac{3T}{4\pi n}\sin\left(-\frac{1}{2}n\pi\right) - \underbrace{\frac{T}{2\pi^2 n^2} \cos\left(\frac{3}{2}n\pi\right) + \frac{T}{2\pi^2 n^2} \cos\left(-\frac{1}{2}n\pi\right)}_\text{0}\right]\\&lt;br /&gt;
        &amp;amp;= \frac{8H}{T^2}\left[\frac{2T^2}{8\pi n}\sin\left(\frac{1}{2}n\pi\right)\right] + \text{integrate other side}\\&lt;br /&gt;
        &amp;amp;= \frac{2H}{\pi n}\sin\left(\frac{1}{2}n\pi\right) + \text{integrate other side}&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
test function &amp;amp;=&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Sawtooth Wave===&lt;br /&gt;
&lt;br /&gt;
==OCTAVE Scripts to Plot Fourier Series==&lt;br /&gt;
====Square Wave====&lt;br /&gt;
 clf;            %Clear Figure&lt;br /&gt;
 t=0:.01:10;     %Limits of the graph&lt;br /&gt;
 T=2*pi          %Definition of the period&lt;br /&gt;
 M=100           %Number of iterations to undergo&lt;br /&gt;
 sum1=0;         %Initialize the sum to &amp;lt;br&amp;gt;&lt;br /&gt;
 %----------FOURIER SERIES----------%&lt;br /&gt;
 for m=1:1:M,    %For m=1, increment by 1 until you get to M&lt;br /&gt;
   if(m!=0)&lt;br /&gt;
     sum1 = sum1 + ((2/(pi*m))-(2/(pi*m))*cos(m*pi))*sin(m*2*pi/T*t);&lt;br /&gt;
   end&lt;br /&gt;
 end&amp;lt;br&amp;gt;&lt;br /&gt;
 %---------------PLOT---------------%&lt;br /&gt;
 plot(t,real(sum1),&#039;b-&#039;)&lt;br /&gt;
 title(&#039;Fourier Series Representation of a Wave&#039;)&lt;br /&gt;
 xlabel(&#039;time (seconds)&#039;)&lt;br /&gt;
 ylabel(&#039;Function&#039;)&lt;br /&gt;
 grid on;&amp;lt;br&amp;gt;&lt;br /&gt;
 legend(num2str(M) &#039; terms&#039;);&lt;br /&gt;
 print(&amp;quot;squarewave.png&amp;quot;,&amp;quot;-dpng&amp;quot;)  % Prints the plot to a png file called squarewave.png&lt;/div&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=9974</id>
		<title>Kurt&#039;s Assignment</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=9974"/>
		<updated>2010-11-02T01:59:17Z</updated>

		<summary type="html">&lt;p&gt;Kurt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Common Synthesizer Waveforms=&lt;br /&gt;
Many synthesizers employ a variety of waveforms to produce varied sounds. The most common waveform is the sine wave. However, in additive synthesis, multiple waveforms can be added together to create a different waveform with different characteristics. The basis for this form of synthesis is the Fourier series:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        x(t) &amp;amp;= x(t+T) = a_0 + \sum_{n=1}^\infty a_n \cos(n\omega_0t) + b_n \sin(n\omega_0t)\\&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_0^T f(t)\, dt\\&lt;br /&gt;
        a_n &amp;amp;= \frac{2}{T}\int_0^T f(t)\cos(n\omega_0t)\, dt\\&lt;br /&gt;
        b_n &amp;amp;= \frac{2}{T}\int_0^T f(t)\sin(n\omega_0t)\, dt\\&lt;br /&gt;
      \end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The four basic waveforms are Sine Waves, Square Waves, Triangle Waves, and Sawtooth Waves.&lt;br /&gt;
&lt;br /&gt;
===Square Wave===&lt;br /&gt;
By inspection of the waveform, the DC component of the wave will be 0. Also, since the waveform is odd, a&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; will be 0. Here is the proof:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_0^{\frac{1}{2}T} H\, dt + \frac{1}{T}\int_{\frac{1}{2}T}^T -H\, dt\\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}\left[Ht\right]\bigg|_{t=0}^{\frac{1}{2}T} - \frac{1}{T}\left[Ht\right]\bigg|_{t={\frac{1}{2}T}}^T\\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}H\frac{1}{2}T-0 - \left[\frac{1}{T}HT - \frac{1}{T}H\frac{1}{2}T\right]\\&lt;br /&gt;
        &amp;amp;=\frac{H}{2} - \left[H-\frac{1}{2}H\right]\\&lt;br /&gt;
        &amp;amp;=\frac{H}{2}-\frac{H}{2}\\&lt;br /&gt;
        &amp;amp;=0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_n &amp;amp;= \frac{2}{T}\int_0^{\frac{1}{2}T} H\cos(n\omega_0t)\, dt + \frac{2}{T}\int_{\frac{1}{2}T}^T -H\cos(n\omega_0t)\, dt\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{H}{n\omega_0}\sin(n\omega_0t)\right]_0^{\frac{1}{2}T} + \frac{2}{T}\left[\frac{-H}{n\omega_0}\sin\left(n\omega_0t\right)\right]_{\frac{1}{2}T}^T\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{H}{n\frac{2\pi}{T}}\sin\left(n\frac{2\pi}{T}\frac{1}{2}T\right)-0\right] + \frac{2}{T}\left[-0+\frac{H}{n\frac{2\pi}{T}}\sin\left(n\frac{2pi}{T}\frac{1}{2}T\right)\right]\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\sin(n\pi)}_\text{0}\right] + \frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\sin(n\pi)}_\text{0}\right]\\&lt;br /&gt;
        &amp;amp;=0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This just leaves the sine component of the waveform found below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        b_n &amp;amp;= \frac{2}{T}\int_0^{\frac{1}{2}T} H\sin(n\omega_0t)\, dt + \frac{2}{T}\int_{\frac{1}{2}T}^T -H\sin(n\omega_0t)\, dt\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{-H}{n\omega_0}\cos(n\omega_0t)\right]_0^{\frac{1}{2}T} + \frac{2}{T}\left[\frac{H}{n\omega_0}\cos(n\omega_0t)\right]_{\frac{1}{2}T}^T\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[-\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}\frac{1}{2}T)+\frac{H}{n\frac{2\pi}{T}}\right] + \frac{2}{T}\left[\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}T)-\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}\frac{1}{2}T)\right]\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[-\frac{TH}{2\pi n}\cos(n\pi)+\frac{TH}{2\pi n}\right] + \frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\cos(2 \pi n)}_\text{1}-\frac{TH}{2\pi n}\cos(n\pi)\right]\\&lt;br /&gt;
        &amp;amp;=-\frac{H}{\pi n}\cos(n\pi)+\frac{H}{\pi n} + \frac{H}{\pi n}-\frac{H}{\pi n}\cos(n\pi)\\&lt;br /&gt;
        &amp;amp;=\frac{2H}{\pi n}-\frac{2H}{\pi n}\cos(n\pi)\\&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, resulting in the Fourier series for a Square Wave.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\text{Square Wave Fourier Series: }x(t) = x(t+T) = \sum_{n=1}^\infty \left(\frac{2H}{\pi n}-\frac{2H}{\pi n}\cos(n\pi)\right) \sin(n\omega_0t)  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Triangle Wave===&lt;br /&gt;
Like the Square wave, the DC component of the Triangle Wave is 0 by inspection. Also, since the triangle wave is odd, it is made up only by sine components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_{-\frac{1}{4}T}^{\frac{1}{4}T}\left(\frac{4H}{T}t \right)\,dt + \frac{1}{T}\int_{\frac{1}{4}T}^{\frac{3}{4}T}\left(-\frac{4H}{T}t+2H\right) \,dt\\&lt;br /&gt;
        &amp;amp;= \frac{1}{T}\left[\frac{1}{2}\frac{4H}{T}t^2\right]_{-\frac{1}{4}T}^{\frac{1}{4}T} + \frac{1}{T}\left[-\frac{1}{2}\frac{4H}{T}t^2+2Ht\right]_{\frac{1}{4}T}^{\frac{3}{4}T}\\&lt;br /&gt;
        &amp;amp;= \frac{1}{T}\left[\frac{2H}{T}\left(\frac{1}{4}T\right)^2-\frac{2H}{T}\left(-\frac{1}{4}T\right)^2\right] + \frac{1}{T}\left[-\frac{2H}{T}\left(\frac{3}{4}T\right)^2+2H\left(\frac{3}{4}T\right)-\left(-\frac{2H}{T}\left(\frac{1}{4}T\right)^2+2H\left(\frac{1}{4}T\right)\right)\right]\\&lt;br /&gt;
        &amp;amp;= \frac{1}{T}\left[\underbrace{\frac{2H}{T}\frac{1}{16}T^2-\frac{2H}{T}\frac{1}{16}T^2}_\text{0}\right] + \frac{1}{T}\left[-\frac{2H}{T}\frac{9}{16}T^2+\frac{3}{2}HT+\frac{2H}{T}\frac{1}{16}T^2-\frac{1}{2}HT\right]\\&lt;br /&gt;
        &amp;amp;= 0 + \frac{1}{T}\left[-\frac{18H}{16T}T^2+\frac{3}{2}HT+\frac{2H}{16T}T^2-\frac{1}{2}HT\right]\\&lt;br /&gt;
        &amp;amp;= \frac{1}{T}\left[\underbrace{-\frac{18}{16}HT+\frac{24}{16}HT+\frac{2}{16}HT-\frac{8}{16}HT}_\text{0}\right]\\&lt;br /&gt;
        &amp;amp;= 0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_n &amp;amp;= \frac{2}{T}\int_{-\frac{1}{4}T}^{\frac{1}{4}T}\left(\frac{4H}{T}t\right)\cos\left(n\omega_0t\right) \,dt + \frac{2}{T}\int_{\frac{1}{4}T}^{\frac{3}{4}T}\left(-\frac{4H}{T}t+2H\right)\cos\left(n\omega_0t\right)\,dt\\&lt;br /&gt;
        &amp;amp;= \frac{8H}{T^2}\int_{-\frac{1}{4}T}^{\frac{1}{4}T}t\,\cos\left(n\omega_0t\right) \,dt + \frac{4H}{T}\int_{\frac{1}{4}T}^{\frac{3}{4}T}\left(-\frac{2}{T}t+1\right)\cos\left(n\omega_0t\right)\,dt\\&lt;br /&gt;
        &amp;amp;= \frac{8H}{T^2}\left[\frac{t}{n\omega_0}\sin(n\omega_0 t)+\frac{1}{n^2\omega_0 ^2}\cos(n\omega_0 t)\right]_{-\frac{1}{4}T}^{\frac{1}{4}T} + \text{integrate other side}\\&lt;br /&gt;
        &amp;amp;= \frac{8H}{T^2}\left[\left[\frac{\frac{1}{4}T}{n\frac{2\pi}{T}}\sin\left(n\frac{2\pi}{T}\frac{1}{4}T\right)+\frac{1}{n^2\frac{4\pi^2}{T^2}}\cos\left(n\frac{2\pi}{T}\frac{1}{4}T\right)\right] - \left[\frac{-\frac{1}{4}T}{n\frac{2\pi}{T}}\sin\left(n\frac{2\pi}{T}-\frac{1}{4}T\right)+\frac{1}{n^2\frac{4\pi^2}{T^2}}\cos\left(n\frac{2\pi}{T}-\frac{1}{4}T\right)\right]\right]&lt;br /&gt;
        &amp;amp;=&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Sawtooth Wave===&lt;br /&gt;
&lt;br /&gt;
==OCTAVE Scripts to Plot Fourier Series==&lt;br /&gt;
====Square Wave====&lt;br /&gt;
 clf;            %Clear Figure&lt;br /&gt;
 t=0:.01:10;     %Limits of the graph&lt;br /&gt;
 T=2*pi          %Definition of the period&lt;br /&gt;
 M=100           %Number of iterations to undergo&lt;br /&gt;
 sum1=0;         %Initialize the sum to &amp;lt;br&amp;gt;&lt;br /&gt;
 %----------FOURIER SERIES----------%&lt;br /&gt;
 for m=1:1:M,    %For m=1, increment by 1 until you get to M&lt;br /&gt;
   if(m!=0)&lt;br /&gt;
     sum1 = sum1 + ((2/(pi*m))-(2/(pi*m))*cos(m*pi))*sin(m*2*pi/T*t);&lt;br /&gt;
   end&lt;br /&gt;
 end&amp;lt;br&amp;gt;&lt;br /&gt;
 %---------------PLOT---------------%&lt;br /&gt;
 plot(t,real(sum1),&#039;b-&#039;)&lt;br /&gt;
 title(&#039;Fourier Series Representation of a Wave&#039;)&lt;br /&gt;
 xlabel(&#039;time (seconds)&#039;)&lt;br /&gt;
 ylabel(&#039;Function&#039;)&lt;br /&gt;
 grid on;&amp;lt;br&amp;gt;&lt;br /&gt;
 legend(num2str(M) &#039; terms&#039;);&lt;br /&gt;
 print(&amp;quot;squarewave.png&amp;quot;,&amp;quot;-dpng&amp;quot;)  % Prints the plot to a png file called squarewave.png&lt;/div&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=9972</id>
		<title>Kurt&#039;s Assignment</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=9972"/>
		<updated>2010-11-02T01:29:18Z</updated>

		<summary type="html">&lt;p&gt;Kurt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Common Synthesizer Waveforms=&lt;br /&gt;
Many synthesizers employ a variety of waveforms to produce varied sounds. The most common waveform is the sine wave. However, in additive synthesis, multiple waveforms can be added together to create a different waveform with different characteristics. The basis for this form of synthesis is the Fourier series:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        x(t) &amp;amp;= x(t+T) = a_0 + \sum_{n=1}^\infty a_n \cos(n\omega_0t) + b_n \sin(n\omega_0t)\\&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_0^T f(t)\, dt\\&lt;br /&gt;
        a_n &amp;amp;= \frac{2}{T}\int_0^T f(t)\cos(n\omega_0t)\, dt\\&lt;br /&gt;
        b_n &amp;amp;= \frac{2}{T}\int_0^T f(t)\sin(n\omega_0t)\, dt\\&lt;br /&gt;
      \end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The four basic waveforms are Sine Waves, Square Waves, Triangle Waves, and Sawtooth Waves.&lt;br /&gt;
&lt;br /&gt;
===Square Wave===&lt;br /&gt;
By inspection of the waveform, the DC component of the wave will be 0. Also, since the waveform is odd, a&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; will be 0. Here is the proof:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_0^{\frac{1}{2}T} H\, dt + \frac{1}{T}\int_{\frac{1}{2}T}^T -H\, dt\\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}\left[Ht\right]\bigg|_{t=0}^{\frac{1}{2}T} - \frac{1}{T}\left[Ht\right]\bigg|_{t={\frac{1}{2}T}}^T\\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}H\frac{1}{2}T-0 - \left[\frac{1}{T}HT - \frac{1}{T}H\frac{1}{2}T\right]\\&lt;br /&gt;
        &amp;amp;=\frac{H}{2} - \left[H-\frac{1}{2}H\right]\\&lt;br /&gt;
        &amp;amp;=\frac{H}{2}-\frac{H}{2}\\&lt;br /&gt;
        &amp;amp;=0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_n &amp;amp;= \frac{2}{T}\int_0^{\frac{1}{2}T} H\cos(n\omega_0t)\, dt + \frac{2}{T}\int_{\frac{1}{2}T}^T -H\cos(n\omega_0t)\, dt\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{H}{n\omega_0}\sin(n\omega_0t)\right]_0^{\frac{1}{2}T} + \frac{2}{T}\left[\frac{-H}{n\omega_0}\sin\left(n\omega_0t\right)\right]_{\frac{1}{2}T}^T\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{H}{n\frac{2\pi}{T}}\sin\left(n\frac{2\pi}{T}\frac{1}{2}T\right)-0\right] + \frac{2}{T}\left[-0+\frac{H}{n\frac{2\pi}{T}}\sin\left(n\frac{2pi}{T}\frac{1}{2}T\right)\right]\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\sin(n\pi)}_\text{0}\right] + \frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\sin(n\pi)}_\text{0}\right]\\&lt;br /&gt;
        &amp;amp;=0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This just leaves the sine component of the waveform found below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        b_n &amp;amp;= \frac{2}{T}\int_0^{\frac{1}{2}T} H\sin(n\omega_0t)\, dt + \frac{2}{T}\int_{\frac{1}{2}T}^T -H\sin(n\omega_0t)\, dt\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{-H}{n\omega_0}\cos(n\omega_0t)\right]_0^{\frac{1}{2}T} + \frac{2}{T}\left[\frac{H}{n\omega_0}\cos(n\omega_0t)\right]_{\frac{1}{2}T}^T\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[-\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}\frac{1}{2}T)+\frac{H}{n\frac{2\pi}{T}}\right] + \frac{2}{T}\left[\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}T)-\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}\frac{1}{2}T)\right]\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[-\frac{TH}{2\pi n}\cos(n\pi)+\frac{TH}{2\pi n}\right] + \frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\cos(2 \pi n)}_\text{1}-\frac{TH}{2\pi n}\cos(n\pi)\right]\\&lt;br /&gt;
        &amp;amp;=-\frac{H}{\pi n}\cos(n\pi)+\frac{H}{\pi n} + \frac{H}{\pi n}-\frac{H}{\pi n}\cos(n\pi)\\&lt;br /&gt;
        &amp;amp;=\frac{2H}{\pi n}-\frac{2H}{\pi n}\cos(n\pi)\\&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, resulting in the Fourier series for a Square Wave.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\text{Square Wave Fourier Series: }x(t) = x(t+T) = \sum_{n=1}^\infty \left(\frac{2H}{\pi n}-\frac{2H}{\pi n}\cos(n\pi)\right) \sin(n\omega_0t)  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Triangle Wave===&lt;br /&gt;
Like the Square wave, the DC component of the Triangle Wave is 0 by inspection. Also, since the triangle wave is odd, it is made up only by sine components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_{-\frac{1}{4}T}^{\frac{1}{4}T}\left(\frac{4H}{T}t \right)\,dt + \frac{1}{T}\int_{\frac{1}{4}T}^{\frac{3}{4}T}\left(-\frac{4H}{T}t+2H\right) \,dt\\&lt;br /&gt;
        &amp;amp;= \frac{1}{T}\left[\frac{1}{2}\frac{4H}{T}t^2\right]_{-\frac{1}{4}T}^{\frac{1}{4}T} + \frac{1}{T}\left[-\frac{1}{2}\frac{4H}{T}t^2+2Ht\right]_{\frac{1}{4}T}^{\frac{3}{4}T}\\&lt;br /&gt;
        &amp;amp;= \frac{1}{T}\left[\frac{2H}{T}\left(\frac{1}{4}T\right)^2-\frac{2H}{T}\left(-\frac{1}{4}T\right)^2\right] + \frac{1}{T}\left[-\frac{2H}{T}\left(\frac{3}{4}T\right)^2+2H\left(\frac{3}{4}T\right)-\left(-\frac{2H}{T}\left(\frac{1}{4}T\right)^2+2H\left(\frac{1}{4}T\right)\right)\right]\\&lt;br /&gt;
        &amp;amp;= \frac{1}{T}\left[\underbrace{\frac{2H}{T}\frac{1}{16}T^2-\frac{2H}{T}\frac{1}{16}T^2}_\text{0}\right] + \frac{1}{T}\left[-\frac{2H}{T}\frac{9}{16}T^2+\frac{3}{2}HT+\frac{2H}{T}\frac{1}{16}T^2-\frac{1}{2}HT\right]\\&lt;br /&gt;
        &amp;amp;= 0 + \frac{1}{T}\left[-\frac{18H}{16T}T^2+\frac{3}{2}HT+\frac{2H}{16T}T^2-\frac{1}{2}HT\right]\\&lt;br /&gt;
        &amp;amp;= \frac{1}{T}\left[\underbrace{-\frac{18}{16}HT+\frac{24}{16}HT+\frac{2}{16}HT-\frac{8}{16}HT}_\text{0}\right]\\&lt;br /&gt;
        &amp;amp;= 0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_n &amp;amp;= \frac{1}{T}\int_{-\frac{1}{4}T}^{\frac{1}{4}T}\left(\frac{4H}{T}t \right)\,dt + \frac{1}{T}\int_{\frac{1}{4}T}^{\frac{3}{4}T}\left(-\frac{4H}{T}t+2H\right) \,dt\\&lt;br /&gt;
&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Sawtooth Wave===&lt;br /&gt;
&lt;br /&gt;
==OCTAVE Scripts to Plot Fourier Series==&lt;br /&gt;
====Square Wave====&lt;br /&gt;
 clf;            %Clear Figure&lt;br /&gt;
 t=0:.01:10;     %Limits of the graph&lt;br /&gt;
 T=2*pi          %Definition of the period&lt;br /&gt;
 M=100           %Number of iterations to undergo&lt;br /&gt;
 sum1=0;         %Initialize the sum to &amp;lt;br&amp;gt;&lt;br /&gt;
 %----------FOURIER SERIES----------%&lt;br /&gt;
 for m=1:1:M,        %For m=1, increment by 1 until you get to M&lt;br /&gt;
        if(m!=0)&lt;br /&gt;
                sum1 = sum1 + ((2/(pi*m))-(2/(pi*m))*cos(m*pi))*sin(m*2*pi/T*t);&lt;br /&gt;
        end&lt;br /&gt;
 end&amp;lt;br&amp;gt;&lt;br /&gt;
 %---------------PLOT---------------%&lt;br /&gt;
 plot(t,real(sum1),&#039;b-&#039;)&lt;br /&gt;
 title(&#039;Fourier Series Representation of a Wave&#039;)&lt;br /&gt;
 xlabel(&#039;time (seconds)&#039;)&lt;br /&gt;
 ylabel(&#039;Function&#039;)&lt;br /&gt;
 grid on;&amp;lt;br&amp;gt;&lt;br /&gt;
 legend(num2str(M) &#039; terms&#039;);&lt;br /&gt;
 print(&amp;quot;squarewave.png&amp;quot;,&amp;quot;-dpng&amp;quot;)  % Prints the plot to a png file called squarewave.png&lt;/div&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=9969</id>
		<title>Kurt&#039;s Assignment</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=9969"/>
		<updated>2010-11-02T00:54:12Z</updated>

		<summary type="html">&lt;p&gt;Kurt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Common Synthesizer Waveforms=&lt;br /&gt;
Many synthesizers employ a variety of waveforms to produce varied sounds. The most common waveform is the sine wave. However, in additive synthesis, multiple waveforms can be added together to create a different waveform with different characteristics. The basis for this form of synthesis is the Fourier series:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        x(t) &amp;amp;= x(t+T) = a_0 + \sum_{n=1}^\infty a_n \cos(n\omega_0t) + b_n \sin(n\omega_0t)\\&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_0^T f(t)\, dt\\&lt;br /&gt;
        a_n &amp;amp;= \frac{2}{T}\int_0^T f(t)\cos(n\omega_0t)\, dt\\&lt;br /&gt;
        b_n &amp;amp;= \frac{2}{T}\int_0^T f(t)\sin(n\omega_0t)\, dt\\&lt;br /&gt;
      \end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The four basic waveforms are Sine Waves, Square Waves, Triangle Waves, and Sawtooth Waves.&lt;br /&gt;
&lt;br /&gt;
===Square Wave===&lt;br /&gt;
By inspection of the waveform, the DC component of the wave will be 0. Also, since the waveform is odd, a&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; will be 0. Here is the proof:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_0^{\frac{1}{2}T} H\, dt + \frac{1}{T}\int_{\frac{1}{2}T}^T -H\, dt\\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}\left[Ht\right]\bigg|_{t=0}^{\frac{1}{2}T} - \frac{1}{T}\left[Ht\right]\bigg|_{t={\frac{1}{2}T}}^T\\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}H\frac{1}{2}T-0 - \left[\frac{1}{T}HT - \frac{1}{T}H\frac{1}{2}T\right]\\&lt;br /&gt;
        &amp;amp;=\frac{H}{2} - \left[H-\frac{1}{2}H\right]\\&lt;br /&gt;
        &amp;amp;=\frac{H}{2}-\frac{H}{2}\\&lt;br /&gt;
        &amp;amp;=0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_n &amp;amp;= \frac{2}{T}\int_0^{\frac{1}{2}T} H\cos(n\omega_0t)\, dt + \frac{2}{T}\int_{\frac{1}{2}T}^T -H\cos(n\omega_0t)\, dt\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{H}{n\omega_0}\sin(n\omega_0t)\right]_0^{\frac{1}{2}T} + \frac{2}{T}\left[\frac{-H}{n\omega_0}\sin\left(n\omega_0t\right)\right]_{\frac{1}{2}T}^T\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{H}{n\frac{2\pi}{T}}\sin\left(n\frac{2\pi}{T}\frac{1}{2}T\right)-0\right] + \frac{2}{T}\left[-0+\frac{H}{n\frac{2\pi}{T}}\sin\left(n\frac{2pi}{T}\frac{1}{2}T\right)\right]\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\sin(n\pi)}_\text{0}\right] + \frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\sin(n\pi)}_\text{0}\right]\\&lt;br /&gt;
        &amp;amp;=0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This just leaves the sine component of the waveform found below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        b_n &amp;amp;= \frac{2}{T}\int_0^{\frac{1}{2}T} H\sin(n\omega_0t)\, dt + \frac{2}{T}\int_{\frac{1}{2}T}^T -H\sin(n\omega_0t)\, dt\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{-H}{n\omega_0}\cos(n\omega_0t)\right]_0^{\frac{1}{2}T} + \frac{2}{T}\left[\frac{H}{n\omega_0}\cos(n\omega_0t)\right]_{\frac{1}{2}T}^T\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[-\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}\frac{1}{2}T)+\frac{H}{n\frac{2\pi}{T}}\right] + \frac{2}{T}\left[\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}T)-\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}\frac{1}{2}T)\right]\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[-\frac{TH}{2\pi n}\cos(n\pi)+\frac{TH}{2\pi n}\right] + \frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\cos(2 \pi n)}_\text{1}-\frac{TH}{2\pi n}\cos(n\pi)\right]\\&lt;br /&gt;
        &amp;amp;=-\frac{H}{\pi n}\cos(n\pi)+\frac{H}{\pi n} + \frac{H}{\pi n}-\frac{H}{\pi n}\cos(n\pi)\\&lt;br /&gt;
        &amp;amp;=\frac{2H}{\pi n}-\frac{2H}{\pi n}\cos(n\pi)\\&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, resulting in the Fourier series for a Square Wave.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\text{Square Wave Fourier Series: }x(t) = x(t+T) = \sum_{n=1}^\infty \left(\frac{2H}{\pi n}-\frac{2H}{\pi n}\cos(n\pi)\right) \sin(n\omega_0t)  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Triangle Wave===&lt;br /&gt;
Like the Square wave, the DC component of the Triangle Wave is 0 by inspection. Also, since the triangle wave is odd, it is made up only by sine components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_{-\frac{1}{4}T}^{\frac{1}{4}T}\frac{4H}{T}t \,dt +&lt;br /&gt;
&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Sawtooth Wave===&lt;br /&gt;
&lt;br /&gt;
==OCTAVE Scripts to Plot Fourier Series==&lt;br /&gt;
====Square Wave====&lt;br /&gt;
 clf;            %Clear Figure&lt;br /&gt;
 t=0:.01:10;     %Limits of the graph&lt;br /&gt;
 T=2*pi          %Definition of the period&lt;br /&gt;
 M=100           %Number of iterations to undergo&lt;br /&gt;
 sum1=0;         %Initialize the sum to &amp;lt;br&amp;gt;&lt;br /&gt;
 %----------FOURIER SERIES----------%&lt;br /&gt;
 for m=1:1:M,        %For m=1, increment by 1 until you get to M&lt;br /&gt;
        if(m!=0)&lt;br /&gt;
                sum1 = sum1 + ((2/(pi*m))-(2/(pi*m))*cos(m*pi))*sin(m*2*pi/T*t);&lt;br /&gt;
        end&lt;br /&gt;
 end&amp;lt;br&amp;gt;&lt;br /&gt;
 %---------------PLOT---------------%&lt;br /&gt;
 plot(t,real(sum1),&#039;b-&#039;)&lt;br /&gt;
 title(&#039;Fourier Series Representation of a Wave&#039;)&lt;br /&gt;
 xlabel(&#039;time (seconds)&#039;)&lt;br /&gt;
 ylabel(&#039;Function&#039;)&lt;br /&gt;
 grid on;&amp;lt;br&amp;gt;&lt;br /&gt;
 legend(num2str(M) &#039; terms&#039;);&lt;br /&gt;
 print(&amp;quot;squarewave.png&amp;quot;,&amp;quot;-dpng&amp;quot;)  % Prints the plot to a png file called squarewave.png&lt;/div&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=9963</id>
		<title>Kurt&#039;s Assignment</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=9963"/>
		<updated>2010-11-01T23:54:27Z</updated>

		<summary type="html">&lt;p&gt;Kurt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Common Synthesizer Waveforms=&lt;br /&gt;
Many synthesizers employ a variety of waveforms to produce varied sounds. The most common waveform is the sine wave. However, in additive synthesis, multiple waveforms can be added together to create a different waveform with different characteristics. The basis for this form of synthesis is the Fourier series:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        x(t) &amp;amp;= x(t+T) = a_0 + \sum_{n=1}^\infty a_n \cos(n\omega_0t) + b_n \sin(n\omega_0t)\\&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_0^T f(t) dt\\&lt;br /&gt;
        a_n &amp;amp;= \frac{2}{T}\int_0^T f(t)\cos(n\omega_0t) dt\\&lt;br /&gt;
        b_n &amp;amp;= \frac{2}{T}\int_0^T f(t)\sin(n\omega_0t) dt\\&lt;br /&gt;
      \end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The four basic waveforms are Sine Waves, Square Waves, Triangle Waves, and Sawtooth Waves.&lt;br /&gt;
&lt;br /&gt;
===Square Wave===&lt;br /&gt;
By inspection of the waveform, the DC component of the wave will be 0. Also, since the waveform is odd, a&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; will be 0. Here is the proof:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_0^{\frac{1}{2}T} H dt + \frac{1}{T}\int_{\frac{1}{2}T}^T -H dt\\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}\left[Ht\right]\bigg|_{t=0}^{\frac{1}{2}T} - \frac{1}{T}\left[Ht\right]\bigg|_{t={\frac{1}{2}T}}^T\\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}H\frac{1}{2}T-0 - \left[\frac{1}{T}HT - \frac{1}{T}H\frac{1}{2}T\right]\\&lt;br /&gt;
        &amp;amp;=\frac{H}{2} - \left[H-\frac{1}{2}H\right]\\&lt;br /&gt;
        &amp;amp;=\frac{H}{2}-\frac{H}{2}\\&lt;br /&gt;
        &amp;amp;=0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_n &amp;amp;= \frac{2}{T}\int_0^{\frac{1}{2}T} H\cos(n\omega_0t) dt + \frac{2}{T}\int_{\frac{1}{2}T}^T -H\cos(n\omega_0t) dt\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{H}{n\omega_0}\sin(n\omega_0t)\right]_0^{\frac{1}{2}T} + \frac{2}{T}\left[\frac{-H}{n\omega_0}\sin\left(n\omega_0t\right)\right]_{\frac{1}{2}T}^T\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{H}{n\frac{2\pi}{T}}\sin\left(n\frac{2\pi}{T}\frac{1}{2}T\right)-0\right] + \frac{2}{T}\left[-0+\frac{H}{n\frac{2\pi}{T}}\sin\left(n\frac{2pi}{T}\frac{1}{2}T\right)\right]\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\sin(n\pi)}_\text{0}\right] + \frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\sin(n\pi)}_\text{0}\right]\\&lt;br /&gt;
        &amp;amp;=0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This just leaves the sine component of the waveform found below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        b_n &amp;amp;= \frac{2}{T}\int_0^{\frac{1}{2}T} H\sin(n\omega_0t) dt + \frac{2}{T}\int_{\frac{1}{2}T}^T -H\sin(n\omega_0t) dt\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{-H}{n\omega_0}\cos(n\omega_0t)\right]_0^{\frac{1}{2}T} + \frac{2}{T}\left[\frac{H}{n\omega_0}\cos(n\omega_0t)\right]_{\frac{1}{2}T}^T\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[-\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}\frac{1}{2}T)+\frac{H}{n\frac{2\pi}{T}}\right] + \frac{2}{T}\left[\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}T)-\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}\frac{1}{2}T)\right]\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[-\frac{TH}{2\pi n}\cos(n\pi)+\frac{TH}{2\pi n}\right] + \frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\cos(2 \pi n)}_\text{1}-\frac{TH}{2\pi n}\cos(n\pi)\right]\\&lt;br /&gt;
        &amp;amp;=-\frac{H}{\pi n}\cos(n\pi)+\frac{H}{\pi n} + \frac{H}{\pi n}-\frac{H}{\pi n}\cos(n\pi)\\&lt;br /&gt;
        &amp;amp;=\frac{2H}{\pi n}-\frac{2H}{\pi n}\cos(n\pi)\\&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, resulting in the Fourier series for a Square Wave.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\text{Square Wave Fourier Series: }x(t) = x(t+T) = \sum_{n=1}^\infty \left(\frac{2H}{\pi n}-\frac{2H}{\pi n}\cos(n\pi)\right) \sin(n\omega_0t)  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Triangle Wave===&lt;br /&gt;
Like the Square wave, the DC component of the Triangle Wave is 0 by inspection. Also, since the triangle wave is odd, it is made up only by sine components.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Sawtooth Wave===&lt;br /&gt;
&lt;br /&gt;
==OCTAVE Scripts to Plot Fourier Series==&lt;br /&gt;
====Square Wave====&lt;br /&gt;
 clf;            %Clear Figure&lt;br /&gt;
 t=0:.01:10;        %Limits of the graph&lt;br /&gt;
 T=2*pi            %Definition of the period&lt;br /&gt;
 M=100            %Number of iterations to undergo&lt;br /&gt;
 sum1=0;            %Initialize the sum to &amp;lt;br&amp;gt;&lt;br /&gt;
 %----------FOURIER SERIES----------%&lt;br /&gt;
 for m=1:1:M,        %For m=1, increment by 1 until you get to M&lt;br /&gt;
        if(m!=0)&lt;br /&gt;
                sum1 = sum1 + ((2/(pi*m))-(2/(pi*m))*cos(m*pi))*sin(m*2*pi/T*t);&lt;br /&gt;
        end&lt;br /&gt;
 end&amp;lt;br&amp;gt;&lt;br /&gt;
 %---------------PLOT---------------%&lt;br /&gt;
 plot(t,real(sum1),&#039;b-&#039;)&lt;br /&gt;
 title(&#039;Fourier Series Representation of a Wave&#039;)&lt;br /&gt;
 xlabel(&#039;time (seconds)&#039;)&lt;br /&gt;
 ylabel(&#039;Function&#039;)&lt;br /&gt;
 grid on;&amp;lt;br&amp;gt;&lt;br /&gt;
 legend(num2str(M) &#039; terms&#039;);&lt;br /&gt;
 print(&amp;quot;squarewave.png&amp;quot;,&amp;quot;-dpng&amp;quot;)  % Prints the plot to a png file called squarewave.png&lt;/div&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=9962</id>
		<title>Kurt&#039;s Assignment</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=9962"/>
		<updated>2010-11-01T23:53:41Z</updated>

		<summary type="html">&lt;p&gt;Kurt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Common Synthesizer Waveforms=&lt;br /&gt;
Many synthesizers employ a variety of waveforms to produce varied sounds. The most common waveform is the sine wave. However, in additive synthesis, multiple waveforms can be added together to create a different waveform with different characteristics. The basis for this form of synthesis is the Fourier series:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        x(t) &amp;amp;= x(t+T) = a_0 + \sum_{n=1}^\infty a_n \cos(n\omega_0t) + b_n \sin(n\omega_0t)\\&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_0^T f(t) dt\\&lt;br /&gt;
        a_n &amp;amp;= \frac{2}{T}\int_0^T f(t)\cos(n\omega_0t) dt\\&lt;br /&gt;
        b_n &amp;amp;= \frac{2}{T}\int_0^T f(t)\sin(n\omega_0t) dt\\&lt;br /&gt;
      \end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The four basic waveforms are Sine Waves, Square Waves, Triangle Waves, and Sawtooth Waves.&lt;br /&gt;
&lt;br /&gt;
===Square Wave===&lt;br /&gt;
By inspection of the waveform, the DC component of the wave will be 0. Also, since the waveform is odd, a&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; will be 0. Here is the proof:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_0^{\frac{1}{2}T} H dt + \frac{1}{T}\int_{\frac{1}{2}T}^T -H dt\\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}\left[Ht\right]\bigg|_{t=0}^{\frac{1}{2}T} - \frac{1}{T}\left[Ht\right]\bigg|_{t={\frac{1}{2}T}}^T\\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}H\frac{1}{2}T-0 - \left[\frac{1}{T}HT - \frac{1}{T}H\frac{1}{2}T\right]\\&lt;br /&gt;
        &amp;amp;=\frac{H}{2} - \left[H-\frac{1}{2}H\right]\\&lt;br /&gt;
        &amp;amp;=\frac{H}{2}-\frac{H}{2}\\&lt;br /&gt;
        &amp;amp;=0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_n &amp;amp;= \frac{2}{T}\int_0^{\frac{1}{2}T} H\cos(n\omega_0t) dt + \frac{2}{T}\int_{\frac{1}{2}T}^T -H\cos(n\omega_0t) dt\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{H}{n\omega_0}\sin(n\omega_0t)\right]_0^{\frac{1}{2}T} + \frac{2}{T}\left[\frac{-H}{n\omega_0}\sin\left(n\omega_0t\right)\right]_{\frac{1}{2}T}^T\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{H}{n\frac{2\pi}{T}}\sin\left(n\frac{2\pi}{T}\frac{1}{2}T\right)-0\right] + \frac{2}{T}\left[-0+\frac{H}{n\frac{2\pi}{T}}\sin\left(n\frac{2pi}{T}\frac{1}{2}T\right)\right]\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\sin(n\pi)}_\text{0}\right] + \frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\sin(n\pi)}_\text{0}\right]\\&lt;br /&gt;
        &amp;amp;=0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This just leaves the sine component of the waveform found below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        b_n &amp;amp;= \frac{2}{T}\int_0^{\frac{1}{2}T} H\sin(n\omega_0t) dt + \frac{2}{T}\int_{\frac{1}{2}T}^T -H\sin(n\omega_0t) dt\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{-H}{n\omega_0}\cos(n\omega_0t)\right]_0^{\frac{1}{2}T} + \frac{2}{T}\left[\frac{H}{n\omega_0}\cos(n\omega_0t)\right]_{\frac{1}{2}T}^T\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[-\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}\frac{1}{2}T)+\frac{H}{n\frac{2\pi}{T}}\right] + \frac{2}{T}\left[\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}T)-\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}\frac{1}{2}T)\right]\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[-\frac{TH}{2\pi n}\cos(n\pi)+\frac{TH}{2\pi n}\right] + \frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\cos(2 \pi n)}_\text{1}-\frac{TH}{2\pi n}\cos(n\pi)\right]\\&lt;br /&gt;
        &amp;amp;=-\frac{H}{\pi n}\cos(n\pi)+\frac{H}{\pi n} + \frac{H}{\pi n}-\frac{H}{\pi n}\cos(n\pi)\\&lt;br /&gt;
        &amp;amp;=\frac{2H}{\pi n}-\frac{2H}{\pi n}\cos(n\pi)\\&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, resulting in the Fourier series for a Square Wave.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\text{Square Wave Fourier Series: }x(t) = x(t+T) = \sum_{n=1}^\infty \left(\frac{2H}{\pi n}-\frac{2H}{\pi n}\cos(n\pi)\right) \sin(n\omega_0t)  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Triangle Wave===&lt;br /&gt;
Like the Square wave, the DC component of the Triangle Wave is 0 by inspection. Also, since the triangle wave is odd, it is made up only by sine components.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Sawtooth Wave===&lt;br /&gt;
&lt;br /&gt;
==OCTAVE Scripts==&lt;br /&gt;
====Square Wave====&lt;br /&gt;
 clf;            %Clear Figure&lt;br /&gt;
 t=0:.01:10;        %Limits of the graph&lt;br /&gt;
 T=2*pi            %Definition of the period&lt;br /&gt;
 M=100            %Number of iterations to undergo&lt;br /&gt;
 sum1=0;            %Initialize the sum to &amp;lt;br&amp;gt;&lt;br /&gt;
 %----------FOURIER SERIES----------%&lt;br /&gt;
 for m=1:1:M,        %For m=1, increment by 1 until you get to M&lt;br /&gt;
        if(m!=0)&lt;br /&gt;
                sum1 = sum1 + ((2/(pi*m))-(2/(pi*m))*cos(m*pi))*sin(m*2*pi/T*t);&lt;br /&gt;
        end&lt;br /&gt;
 end&amp;lt;br&amp;gt;&lt;br /&gt;
 %---------------PLOT---------------%&lt;br /&gt;
 plot(t,real(sum1),&#039;b-&#039;)&lt;br /&gt;
 title(&#039;Fourier Series Representation of a Wave&#039;)&lt;br /&gt;
 xlabel(&#039;time (seconds)&#039;)&lt;br /&gt;
 ylabel(&#039;Function&#039;)&lt;br /&gt;
 grid on;&amp;lt;br&amp;gt;&lt;br /&gt;
 legend(num2str(M) &#039; terms&#039;);&lt;br /&gt;
 print(&amp;quot;squarewave.png&amp;quot;,&amp;quot;-dpng&amp;quot;)  % Prints the plot to a png file called squarewave.png&lt;/div&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=9958</id>
		<title>Kurt&#039;s Assignment</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=9958"/>
		<updated>2010-11-01T23:48:18Z</updated>

		<summary type="html">&lt;p&gt;Kurt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Common Synthesizer Waveforms=&lt;br /&gt;
Many synthesizers employ a variety of waveforms to produce varied sounds. The most common waveform is the sine wave. However, in additive synthesis, multiple waveforms can be added together to create a different waveform with different characteristics. The basis for this form of synthesis is the Fourier series:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        x(t) &amp;amp;= x(t+T) = a_0 + \sum_{n=1}^\infty a_n \cos(n\omega_0t) + b_n \sin(n\omega_0t)\\&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_0^T f(t) dt\\&lt;br /&gt;
        a_n &amp;amp;= \frac{2}{T}\int_0^T f(t)\cos(n\omega_0t) dt\\&lt;br /&gt;
        b_n &amp;amp;= \frac{2}{T}\int_0^T f(t)\sin(n\omega_0t) dt\\&lt;br /&gt;
      \end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The four basic waveforms are Sine Waves, Square Waves, Triangle Waves, and Sawtooth Waves.&lt;br /&gt;
&lt;br /&gt;
==Square Wave==&lt;br /&gt;
By inspection of the waveform, the DC component of the wave will be 0. Also, since the waveform is odd, a&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; will be 0. Here is the proof:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_0^{\frac{1}{2}T} H dt + \frac{1}{T}\int_{\frac{1}{2}T}^T -H dt\\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}\left[Ht\right]\bigg|_{t=0}^{\frac{1}{2}T} - \frac{1}{T}\left[Ht\right]\bigg|_{t={\frac{1}{2}T}}^T\\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}H\frac{1}{2}T-0 - \left[\frac{1}{T}HT - \frac{1}{T}H\frac{1}{2}T\right]\\&lt;br /&gt;
        &amp;amp;=\frac{H}{2} - \left[H-\frac{1}{2}H\right]\\&lt;br /&gt;
        &amp;amp;=\frac{H}{2}-\frac{H}{2}\\&lt;br /&gt;
        &amp;amp;=0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_n &amp;amp;= \frac{2}{T}\int_0^{\frac{1}{2}T} H\cos(n\omega_0t) dt + \frac{2}{T}\int_{\frac{1}{2}T}^T -H\cos(n\omega_0t) dt\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{H}{n\omega_0}\sin(n\omega_0t)\right]_0^{\frac{1}{2}T} + \frac{2}{T}\left[\frac{-H}{n\omega_0}\sin(n\omega_0t)\right]_{\frac{1}{2}T}^T\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{H}{n\frac{2\pi}{T}}\sin(n\frac{2\pi}{T}\frac{1}{2}T)-0\right] + \frac{2}{T}\left[-0+\frac{H}{n\frac{2\pi}{T}}\sin(n\frac{2pi}{T}\frac{1}{2}T)\right]\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\sin(n\pi)}_\text{0}\right] + \frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\sin(n\pi)}_\text{0}\right]\\&lt;br /&gt;
        &amp;amp;=0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This just leaves the sine component of the waveform found below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        b_n &amp;amp;= \frac{2}{T}\int_0^{\frac{1}{2}T} H\sin(n\omega_0t) dt + \frac{2}{T}\int_{\frac{1}{2}T}^T -H\sin(n\omega_0t) dt\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{-H}{n\omega_0}\cos(n\omega_0t)\right]_0^{\frac{1}{2}T} + \frac{2}{T}\left[\frac{H}{n\omega_0}\cos(n\omega_0t)\right]_{\frac{1}{2}T}^T\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[-\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}\frac{1}{2}T)+\frac{H}{n\frac{2\pi}{T}}\right] + \frac{2}{T}\left[\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}T)-\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}\frac{1}{2}T)\right]\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[-\frac{TH}{2\pi n}\cos(n\pi)+\frac{TH}{2\pi n}\right] + \frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\cos(2 \pi n)}_\text{1}-\frac{TH}{2\pi n}\cos(n\pi)\right]\\&lt;br /&gt;
        &amp;amp;=-\frac{H}{\pi n}\cos(n\pi)+\frac{H}{\pi n} + \frac{H}{\pi n}-\frac{H}{\pi n}\cos(n\pi)\\&lt;br /&gt;
        &amp;amp;=\frac{2H}{\pi n}-\frac{2H}{\pi n}\cos(n\pi)\\&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, resulting in the Fourier series for a Square Wave.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\text{Square Wave Fourier Series: }x(t) = x(t+T) = \sum_{n=1}^\infty \left(\frac{2H}{\pi n}-\frac{2H}{\pi n}\cos(n\pi)\right) \sin(n\omega_0t)  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Triangle Wave==&lt;br /&gt;
Like the Square wave, the DC component of the Triangle Wave is 0 by inspection. Also, since the triangle wave is odd, it is made up only by sine components.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sawtooth Wave==&lt;/div&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Octave_Assignment&amp;diff=9950</id>
		<title>Kurt&#039;s Octave Assignment</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Octave_Assignment&amp;diff=9950"/>
		<updated>2010-11-01T23:04:41Z</updated>

		<summary type="html">&lt;p&gt;Kurt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Useful Octave Templates=&lt;br /&gt;
&lt;br /&gt;
=====Fourier Series=====&lt;br /&gt;
 clf;            %Clear Figure&lt;br /&gt;
 t=0:.01:10;     %Limits of the graph&lt;br /&gt;
 T=2*pi          %Definition of the period&lt;br /&gt;
 M=1000          %Number of iterations to undergo&lt;br /&gt;
 sum1=0;         %Initialize the sum to 0&amp;lt;br&amp;gt;&lt;br /&gt;
 %----------FOURIER SERIES----------%&lt;br /&gt;
 for m=1:1:M,        %For m=1, increment by 1 until you get to M&lt;br /&gt;
        if(m!=0)&lt;br /&gt;
                sum1 = sum1 + ((2/(pi*m))-(2/(pi*m))*cos(m*pi))*sin(m*2*pi/T*t);&lt;br /&gt;
        end&lt;br /&gt;
 end&amp;lt;br&amp;gt;&lt;br /&gt;
 %---------------PLOT---------------%&lt;br /&gt;
 plot(t,real(sum1),&#039;b-&#039;)&lt;br /&gt;
 title(&#039;Fourier Series Representation of a Wave&#039;)&lt;br /&gt;
 xlabel(&#039;time (seconds)&#039;)&lt;br /&gt;
 ylabel(&#039;Function&#039;)&lt;br /&gt;
 grid on;&amp;lt;br&amp;gt;&lt;br /&gt;
 legend(num2str(M) &#039; terms &#039;)&lt;br /&gt;
 print(&amp;quot;squarewave.png&amp;quot;,&amp;quot;-dpng&amp;quot;)  % Prints the plot to a png file called squarewave.png&lt;/div&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Octave_Assignment&amp;diff=9949</id>
		<title>Kurt&#039;s Octave Assignment</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Octave_Assignment&amp;diff=9949"/>
		<updated>2010-11-01T22:50:43Z</updated>

		<summary type="html">&lt;p&gt;Kurt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Useful Octave Templates=&lt;br /&gt;
&lt;br /&gt;
A Fourier series example:&lt;/div&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=9948</id>
		<title>Kurt&#039;s Assignment</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=9948"/>
		<updated>2010-11-01T22:49:25Z</updated>

		<summary type="html">&lt;p&gt;Kurt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Common Synthesizer Waveforms=&lt;br /&gt;
Many synthesizers employ a variety of waveforms to produce varied sounds. The most common waveform is the sine wave. However, in additive synthesis, multiple waveforms can be added together to create a different waveform with different characteristics. The basis for this form of synthesis is the Fourier series:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        x(t) &amp;amp;= x(t+T) = a_0 + \sum_{n=1}^\infty a_n \cos(n\omega_0t) + b_n \sin(n\omega_0t)\\&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_0^T f(t) dt\\&lt;br /&gt;
        a_n &amp;amp;= \frac{2}{T}\int_0^T f(t)\cos(n\omega_0t) dt\\&lt;br /&gt;
        b_n &amp;amp;= \frac{2}{T}\int_0^T f(t)\sin(n\omega_0t) dt\\&lt;br /&gt;
      \end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The four basic waveforms are Sine Waves, Square Waves, Triangle Waves, and Sawtooth Waves.&lt;br /&gt;
&lt;br /&gt;
==Square Wave==&lt;br /&gt;
By inspection of the waveform, the DC component of the wave will be 0. Also, since the waveform is odd, a&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; will be 0. Here is the proof:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_0^{\frac{1}{2}T} H dt + \frac{1}{T}\int_{\frac{1}{2}T}^T -H dt\\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}\left[Ht\right]\bigg|_{t=0}^{\frac{1}{2}T} - \frac{1}{T}\left[Ht\right]\bigg|_{t={\frac{1}{2}T}}^T\\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}H\frac{1}{2}T-0 - \left[\frac{1}{T}HT - \frac{1}{T}H\frac{1}{2}T\right]\\&lt;br /&gt;
        &amp;amp;=\frac{H}{2} - \left[H-\frac{1}{2}H\right]\\&lt;br /&gt;
        &amp;amp;=\frac{H}{2}-\frac{H}{2}\\&lt;br /&gt;
        &amp;amp;=0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_n &amp;amp;= \frac{2}{T}\int_0^{\frac{1}{2}T} H\cos(n\omega_0t) dt + \frac{2}{T}\int_{\frac{1}{2}T}^T -H\cos(n\omega_0t) dt\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{H}{n\omega_0}\sin(n\omega_0t)\right]_0^{\frac{1}{2}T} + \frac{2}{T}\left[\frac{-H}{n\omega_0}\sin(n\omega_0t)\right]_{\frac{1}{2}T}^T\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{H}{n\frac{2\pi}{T}}\sin(n\frac{2\pi}{T}\frac{1}{2}T)-0\right] + \frac{2}{T}\left[-0+\frac{H}{n\frac{2\pi}{T}}\sin(n\frac{2pi}{T}\frac{1}{2}T)\right]\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\sin(n\pi)}_\text{0}\right] + \frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\sin(n\pi)}_\text{0}\right]\\&lt;br /&gt;
        &amp;amp;=0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This just leaves the sin component of the waveform found below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        b_n &amp;amp;= \frac{2}{T}\int_0^{\frac{1}{2}T} H\sin(n\omega_0t) dt + \frac{2}{T}\int_{\frac{1}{2}T}^T -H\sin(n\omega_0t) dt\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{-H}{n\omega_0}\cos(n\omega_0t)\right]_0^{\frac{1}{2}T} + \frac{2}{T}\left[\frac{H}{n\omega_0}\cos(n\omega_0t)\right]_{\frac{1}{2}T}^T\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[-\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}\frac{1}{2}T)+\frac{H}{n\frac{2\pi}{T}}\right] + \frac{2}{T}\left[\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}T)-\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}\frac{1}{2}T)\right]\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[-\frac{TH}{2\pi n}\cos(n\pi)+\frac{TH}{2\pi n}\right] + \frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\cos(2 \pi n)}_\text{1}-\frac{TH}{2\pi n}\cos(n\pi)\right]\\&lt;br /&gt;
        &amp;amp;=-\frac{H}{\pi n}\cos(n\pi)+\frac{H}{\pi n} + \frac{H}{\pi n}-\frac{H}{\pi n}\cos(n\pi)\\&lt;br /&gt;
        &amp;amp;=\frac{2H}{\pi n}-\frac{2H}{\pi n}\cos(n\pi)\\&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, resulting in the Fourier series for a Square Wave.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\text{Square Wave Fourier Series: }x(t) = x(t+T) = \sum_{n=1}^\infty \left(\frac{2H}{\pi n}-\frac{2H}{\pi n}\cos(n\pi)\right) \sin(n\omega_0t)  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Triangle Wave==&lt;br /&gt;
Like the Square wave, the DC component of the Triangle Wave is 0 by inspection. Also, since the triangle wave is odd, it is made up only by sine components.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sawtooth Wave==&lt;/div&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=9947</id>
		<title>Kurt&#039;s Assignment</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=9947"/>
		<updated>2010-11-01T22:29:33Z</updated>

		<summary type="html">&lt;p&gt;Kurt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Common Synthesizer Waveforms=&lt;br /&gt;
Many synthesizers employ a variety of waveforms to produce varied sounds. The most common waveform is the sine wave. However, in additive synthesis, multiple waveforms can be added together to create a different waveform with different characteristics. The basis for this form of synthesis is the Fourier series:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        x(t) &amp;amp;= x(t+T) = a_0 + \sum_{n=1}^\infty a_n \cos(n\omega_0t) + b_n \sin(n\omega_0t)\\&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_0^T f(t) dt\\&lt;br /&gt;
        a_n &amp;amp;= \frac{2}{T}\int_0^T f(t)\cos(n\omega_0t) dt\\&lt;br /&gt;
        b_n &amp;amp;= \frac{2}{T}\int_0^T f(t)\sin(n\omega_0t) dt\\&lt;br /&gt;
      \end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The four basic waveforms are Sine Waves, Square Waves, Triangle Waves, and Sawtooth Waves.&lt;br /&gt;
==Square Wave==&lt;br /&gt;
By inspection of the waveform, the DC component of the wave will be 0. Also, since the waveform is odd, a&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; will be 0. Here is the proof:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_0^{\frac{1}{2}T} H dt + \frac{1}{T}\int_{\frac{1}{2}T}^T -H dt\\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}\left[Ht\right]\bigg|_{t=0}^{\frac{1}{2}T} - \frac{1}{T}\left[Ht\right]\bigg|_{t={\frac{1}{2}T}}^T\\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}H\frac{1}{2}T-0 - \left[\frac{1}{T}HT - \frac{1}{T}H\frac{1}{2}T\right]\\&lt;br /&gt;
        &amp;amp;=\frac{H}{2} - \left[H-\frac{1}{2}H\right]\\&lt;br /&gt;
        &amp;amp;=\frac{H}{2}-\frac{H}{2}\\&lt;br /&gt;
        &amp;amp;=0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_n &amp;amp;= \frac{2}{T}\int_0^{\frac{1}{2}T} H\cos(n\omega_0t) dt + \frac{2}{T}\int_{\frac{1}{2}T}^T -H\cos(n\omega_0t) dt\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{H}{n\omega_0}\sin(n\omega_0t)\right]_0^{\frac{1}{2}T} + \frac{2}{T}\left[\frac{-H}{n\omega_0}\sin(n\omega_0t)\right]_{\frac{1}{2}T}^T\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{H}{n\frac{2\pi}{T}}\sin(n\frac{2\pi}{T}\frac{1}{2}T)-0\right] + \frac{2}{T}\left[-0+\frac{H}{n\frac{2\pi}{T}}\sin(n\frac{2pi}{T}\frac{1}{2}T)\right]\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\sin(n\pi)}_\text{0}\right] + \frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\sin(n\pi)}_\text{0}\right]\\&lt;br /&gt;
        &amp;amp;=0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This just leaves the sin component of the waveform found below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        b_n &amp;amp;= \frac{2}{T}\int_0^{\frac{1}{2}T} H\sin(n\omega_0t) dt + \frac{2}{T}\int_{\frac{1}{2}T}^T -H\sin(n\omega_0t) dt\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{-H}{n\omega_0}\cos(n\omega_0t)\right]_0^{\frac{1}{2}T} + \frac{2}{T}\left[\frac{H}{n\omega_0}\cos(n\omega_0t)\right]_{\frac{1}{2}T}^T\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[-\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}\frac{1}{2}T)+\frac{H}{n\frac{2\pi}{T}}\right] + \frac{2}{T}\left[\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}T)-\frac{H}{n\frac{2\pi}{T}}\cos(n\frac{2\pi}{T}\frac{1}{2}T)\right]\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[-\frac{TH}{2\pi n}\cos(n\pi)+\frac{TH}{2\pi n}\right] + \frac{2}{T}\left[\frac{TH}{2\pi n}\underbrace{\cos(2 \pi n)}_\text{1}-\frac{TH}{2\pi n}\cos(n\pi)\right]\\&lt;br /&gt;
        &amp;amp;=-\frac{H}{\pi n}\cos(n\pi)+\frac{H}{\pi n} + \frac{H}{\pi n}-\frac{H}{\pi n}\cos(n\pi)\\&lt;br /&gt;
        &amp;amp;=\frac{2H}{\pi n}-\frac{2H}{\pi n}\cos(n\pi)\\&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, resulting in the Fourier series for a Square Wave.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\text{Square Wave Fourier Series: }x(t) = x(t+T) = \sum_{n=1}^\infty \left(\frac{2H}{\pi n}-\frac{2H}{\pi n}\cos(n\pi)\right) \sin(n\omega_0t)  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Triangle Wave==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sawtooth Wave==&lt;/div&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=9945</id>
		<title>Kurt&#039;s Assignment</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=9945"/>
		<updated>2010-11-01T21:44:20Z</updated>

		<summary type="html">&lt;p&gt;Kurt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Common Synthesizer Waveforms=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        x(t) &amp;amp;= x(t+T) = a_0 + \sum_{n=1}^\infty a_n \cos(n\omega_0t) + b_n \sin(n\omega_0t)\\&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_0^T f(t) dt\\&lt;br /&gt;
        a_n &amp;amp;= \frac{2}{T}\int_0^T f(t)\cos(n\omega_0t) dt\\&lt;br /&gt;
        b_n &amp;amp;= \frac{2}{T}\int_0^T f(t)\sin(n\omega_0t) dt\\&lt;br /&gt;
      \end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Square Wave==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_0^{\frac{1}{2}T} H dt + \frac{1}{T}\int_{\frac{1}{2}T}^T -H dt\\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}\left[Ht\right]\bigg|_{t=0}^{\frac{1}{2}T} - \frac{1}{T}\left[Ht\right]\bigg|_{t={\frac{1}{2}T}}^T\\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}H\frac{1}{2}T-0 - \left[\frac{1}{T}HT - \frac{1}{T}H\frac{1}{2}T\right]\\&lt;br /&gt;
        &amp;amp;=\frac{H}{2} - \left[H-\frac{1}{2}H\right]\\&lt;br /&gt;
        &amp;amp;=\frac{H}{2}-\frac{H}{2}\\&lt;br /&gt;
        &amp;amp;=0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_n &amp;amp;= \frac{2}{T}\int_0^{\frac{1}{2}T} H\cos(n\omega_0t) dt + \frac{2}{T}\int_{\frac{1}{2}T}^T -H\cos(n\omega_0t) dt\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{H}{n\omega_0}\sin(n\omega_0t)\right]_0^{\frac{1}{2}T} + \frac{2}{T}\left[\frac{-H}{n\omega_0}\sin(n\omega_0t)\right]_{\frac{1}{2}T}^T\\&lt;br /&gt;
        &amp;amp;=\frac{2}{T}\left[\frac{H}{n\frac{2\pi}{T}}\sin(n\pi)\right]&lt;br /&gt;
        &lt;br /&gt;
        &amp;amp;=0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
TODO: finish&lt;/div&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=9943</id>
		<title>Kurt&#039;s Assignment</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=9943"/>
		<updated>2010-11-01T21:32:49Z</updated>

		<summary type="html">&lt;p&gt;Kurt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Common Synthesizer Waveforms=&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        x(t) &amp;amp;= x(t+T) = a_0 + \sum_{n=1}^\infty a_n \cos(n\omega_0t) + b_n \sin(n\omega_0t)\\&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_0^T f(t) dt\\&lt;br /&gt;
        a_n &amp;amp;= \frac{2}{T}\int_0^T f(t)\cos(n\omega_0t) dt\\&lt;br /&gt;
        b_n &amp;amp;= \frac{2}{T}\int_0^T f(t)\sin(n\omega_0t) dt\\&lt;br /&gt;
      \end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Square Wave==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_0^{\frac{1}{2}T} H dt + \frac{1}{T}\int_{\frac{1}{2}T}^T -H dt\\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}\left[Ht\right]\bigg|_{t=0}^{\frac{1}{2}T} - \frac{1}{T}\left[Ht\right]\bigg|_{t={\frac{1}{2}T}}^T\\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}H\frac{1}{2}T-0 - \left[\frac{1}{T}HT - \frac{1}{T}H\frac{1}{2}T\right]\\&lt;br /&gt;
        &amp;amp;=\frac{H}{2} - \left[H-\frac{1}{2}H\right]\\&lt;br /&gt;
        &amp;amp;=\frac{H}{2}-\frac{H}{2}\\&lt;br /&gt;
        &amp;amp;=0&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
TODO: finish&lt;/div&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=9934</id>
		<title>Kurt&#039;s Assignment</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=9934"/>
		<updated>2010-11-01T17:46:00Z</updated>

		<summary type="html">&lt;p&gt;Kurt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Common Synthesizer Waveforms=&lt;br /&gt;
&lt;br /&gt;
==Square Wave==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;x(t) = x(t+T) = a_0 + \sum_{n=1}^\infty a_n \cos(n\omega_0t) + b_n \sin(n\omega_0t)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_0^T f(t) dt\\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}\int_0^{\frac{1}{2}T}H dt + \frac{1}{T}\int_{\frac{1}{2}T}^T 0 dt \\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}[Ht]&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
TODO: finish&lt;/div&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Fall_2010&amp;diff=9932</id>
		<title>Fall 2010</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Fall_2010&amp;diff=9932"/>
		<updated>2010-11-01T17:42:41Z</updated>

		<summary type="html">&lt;p&gt;Kurt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Put links for your reports here.&lt;br /&gt;
&lt;br /&gt;
Links to the posted reports are found under the publishing author&#039;s name.&lt;br /&gt;
&lt;br /&gt;
Please number and sort Authors alphabetically.&lt;br /&gt;
&lt;br /&gt;
# [[Banton, Alex]]&lt;br /&gt;
#*[[Alex&#039;s Octave Assignment]]&lt;br /&gt;
#*[[Alex&#039;s Assignment #8]]&lt;br /&gt;
# [[Bidwell, Kelvin]]&lt;br /&gt;
#*[[Kelvin&#039;s Octave Assignment]]&lt;br /&gt;
# [[Blaire, Matthew]]&lt;br /&gt;
#*[[Matthew&#039;s Octave Assignment]]&lt;br /&gt;
#*[[Matthew&#039;s Asgn #8]]&lt;br /&gt;
# [[Boyd, Aaron]]&lt;br /&gt;
#*[[ Aaron&#039;s Octave Assignment]]&lt;br /&gt;
#*[[Aaron Boyd&#039;s Assignment 8]]&lt;br /&gt;
# [[Bryson, David]]&lt;br /&gt;
#*[[David&#039;s Octave Assignment]]&lt;br /&gt;
# [[Colls, David]]&lt;br /&gt;
#*[[Colls Octave Assignment]]&lt;br /&gt;
#*[[Fourier Series Assignment]]&lt;br /&gt;
# [[Fullerton, Colby]]&lt;br /&gt;
#*[[Colby&#039;s Octave Assignment]]&lt;br /&gt;
# [[Hildebrand, Kurt]]&lt;br /&gt;
#*[[Kurt&#039;s Octave Assignment]]&lt;br /&gt;
#*[[Kurt&#039;s Assignment #8]]&lt;br /&gt;
# [[Martinez, Jonathan]]&lt;br /&gt;
#*[[Martinez&#039;s Octave Assignment]]&lt;br /&gt;
#*[[Martinez&#039;s Fourier Assignment]]&lt;br /&gt;
# [[Morgan, David]]&lt;br /&gt;
#*[[David Morgan&#039;s Octave Assignment]]&lt;br /&gt;
#*[[David Morgan&#039;s Fourier Series assignment]]&lt;br /&gt;
# [[Roth, Andrew]]&lt;br /&gt;
#*[[Andrew Roth&#039;s Fourier Series/Laplace Transform Project]]&lt;br /&gt;
#*[[Andrew&#039;s Octave Assignment]]&lt;br /&gt;
#*[[Example: LaTex format]]&lt;br /&gt;
#*[[Chapter 22--Fourier Series: Fundamental Period, Frequency, and Angular Frequency]]&lt;br /&gt;
# [[Stirn, Jed]]&lt;br /&gt;
#*[[Jed&#039;s Octave Assignment]]&lt;br /&gt;
#*[[HW#8:Laplace Transforms/Fourier Series]]&lt;br /&gt;
# [[Stringer, Robert]]&lt;br /&gt;
#*[[Robert&#039;s Octave Assignment]]&lt;br /&gt;
#*[[Robert&#039;s HW #8]]&lt;br /&gt;
# [[Wooley, Andy]]&lt;br /&gt;
#*[[Andy&#039;s Octave Assignment]]&lt;br /&gt;
#*[[Andy&#039;s Fourier Series Project]]&lt;br /&gt;
# [[Zimmerly, Brian]]&lt;br /&gt;
#*[[Brian&#039;s Octave Assignment]]&lt;/div&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Hildebrand,_Kurt&amp;diff=9931</id>
		<title>Hildebrand, Kurt</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Hildebrand,_Kurt&amp;diff=9931"/>
		<updated>2010-11-01T17:40:28Z</updated>

		<summary type="html">&lt;p&gt;Kurt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Contact Information ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Phone:&#039;&#039;&#039; (909)528-3558&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Prefered E-mail:&#039;&#039;&#039; kurthildebrand@gmail.com&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;School E-mail:&#039;&#039;&#039; kurt.hildebrand@wallawalla.edu&lt;br /&gt;
&lt;br /&gt;
== Latex Information ==&lt;br /&gt;
&lt;br /&gt;
Wikibooks - LaTeX[[http://en.wikibooks.org/wiki/LaTeX]]&lt;/div&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt_Hildebrand&amp;diff=9930</id>
		<title>Kurt Hildebrand</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt_Hildebrand&amp;diff=9930"/>
		<updated>2010-11-01T17:37:07Z</updated>

		<summary type="html">&lt;p&gt;Kurt: moved Kurt Hildebrand to Hildebrand, Kurt&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Hildebrand, Kurt]]&lt;/div&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Hildebrand,_Kurt&amp;diff=9929</id>
		<title>Hildebrand, Kurt</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Hildebrand,_Kurt&amp;diff=9929"/>
		<updated>2010-11-01T17:37:07Z</updated>

		<summary type="html">&lt;p&gt;Kurt: moved Kurt Hildebrand to Hildebrand, Kurt&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Contact Information ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Phone:&#039;&#039;&#039; (909)528-3558&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Prefered E-mail:&#039;&#039;&#039; kurthildebrand@gmail.com&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;School E-mail:&#039;&#039;&#039; kurt.hildebrand@wallawalla.edu&lt;br /&gt;
&lt;br /&gt;
== Useful Octave Templates ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Plotting a function:&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Octave_Assignment&amp;diff=9928</id>
		<title>Kurt&#039;s Octave Assignment</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Octave_Assignment&amp;diff=9928"/>
		<updated>2010-11-01T17:36:41Z</updated>

		<summary type="html">&lt;p&gt;Kurt: Created page with &amp;#039;Useful Octave Templates  TODO: finish&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Useful Octave Templates&lt;br /&gt;
&lt;br /&gt;
TODO: finish&lt;/div&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=9927</id>
		<title>Kurt&#039;s Assignment</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=9927"/>
		<updated>2010-11-01T17:36:03Z</updated>

		<summary type="html">&lt;p&gt;Kurt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Common Synthesizer Waveforms&lt;br /&gt;
&lt;br /&gt;
Square Wave&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;x(t) = x(t+T) = a_0 + \sum_{n=1}^\infty a_n \cos(n\omega_0t) + b_n \sin(n\omega_0t)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_0^T f(t) dt\\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}\int_0^{\frac{1}{2}T}H dt + \frac{1}{T}\int_{\frac{1}{2}T}^T 0 dt \\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}[Ht]&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
TODO: finish&lt;/div&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=9926</id>
		<title>Kurt&#039;s Assignment</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Kurt%27s_Assignment&amp;diff=9926"/>
		<updated>2010-11-01T17:35:47Z</updated>

		<summary type="html">&lt;p&gt;Kurt: Created page with &amp;#039;Common Synthesizer Waveforms  Square Wave  &amp;lt;math&amp;gt;x(t) = x(t+T) = a_0 + \sum_{n=1}^\infty a_n \cos(n\omega_0t) + b_n \sin(n\omega_0t)&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;\begin{align}         a_0 &amp;amp;= \f…&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Common Synthesizer Waveforms&lt;br /&gt;
&lt;br /&gt;
Square Wave&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;x(t) = x(t+T) = a_0 + \sum_{n=1}^\infty a_n \cos(n\omega_0t) + b_n \sin(n\omega_0t)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
        a_0 &amp;amp;= \frac{1}{T}\int_0^T f(t) dt\\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}\int_0^{\frac{1}{2}T}H dt + \frac{1}{T}\int_{\frac{1}{2}T}^T 0 dt \\&lt;br /&gt;
        &amp;amp;=\frac{1}{T}[Ht]&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Fall_2010&amp;diff=9922</id>
		<title>Fall 2010</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Fall_2010&amp;diff=9922"/>
		<updated>2010-11-01T17:04:12Z</updated>

		<summary type="html">&lt;p&gt;Kurt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Put links for your reports here.&lt;br /&gt;
&lt;br /&gt;
Links to the posted reports are found under the publishing author&#039;s name.&lt;br /&gt;
&lt;br /&gt;
Please number and sort Authors alphabetically.&lt;br /&gt;
&lt;br /&gt;
0. [[Banton, Alex]]&lt;br /&gt;
*[[Alex&#039;s Octave Assignment]]&lt;br /&gt;
*[[Alex&#039;s Assignment #8]]&lt;br /&gt;
&lt;br /&gt;
1. [[Bidwell, Kelvin]]&lt;br /&gt;
*[[Kelvin&#039;s Octave Assignment]]&lt;br /&gt;
&lt;br /&gt;
2. [[Blaire, Matthew]]&lt;br /&gt;
*[[Matthew&#039;s Octave Assignment]]&lt;br /&gt;
*[[Matthew&#039;s Asgn #8]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. [[Boyd, Aaron]]&lt;br /&gt;
*[[ Aaron&#039;s Octave Assignment]]&lt;br /&gt;
&lt;br /&gt;
4. [[Bryson, David]]&lt;br /&gt;
*[[David&#039;s Octave Assignment]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. [[Colls, David]]&lt;br /&gt;
*[[Colls Octave Assignment]]&lt;br /&gt;
*[[Fourier Series Assignment]]&lt;br /&gt;
&lt;br /&gt;
6. [[Fullerton, Colby]]&lt;br /&gt;
*[[Colby&#039;s Octave Assignment]]&lt;br /&gt;
&lt;br /&gt;
7. [[Hildebrand, Kurt]]&lt;br /&gt;
*[[Kurt&#039;s Octave Assignment]]&lt;br /&gt;
*[[Kurt&#039;s Assignment #8]]&lt;br /&gt;
&lt;br /&gt;
8. [[Martinez, Jonathan]]&lt;br /&gt;
*[[Martinez&#039;s Octave Assignment]]&lt;br /&gt;
*[[Martinez&#039;s Fourier Assignment]]&lt;br /&gt;
&lt;br /&gt;
9. [[Morgan, David]]&lt;br /&gt;
*[[David Morgan&#039;s Octave Assignment]]&lt;br /&gt;
*[[David Morgan&#039;s Fourier Series assignment]]&lt;br /&gt;
&lt;br /&gt;
10. [[Roth, Andrew]]&lt;br /&gt;
*[[Andrew Roth&#039;s Fourier Series/Laplace Transform Project]]&lt;br /&gt;
*[[Andrew&#039;s Octave Assignment]]&lt;br /&gt;
*[[Example: LaTex format]]&lt;br /&gt;
*[[Chapter 22--Fourier Series: Fundamental Period, Frequency, and Angular Frequency]]&lt;br /&gt;
&lt;br /&gt;
11. [[Stirn, Jed]]&lt;br /&gt;
*[[Jed&#039;s Octave Assignment]]&lt;br /&gt;
*[[HW#8:Laplace Transforms/Fourier Series]]&lt;br /&gt;
&lt;br /&gt;
12. [[Stringer, Robert]]&lt;br /&gt;
*[[Robert&#039;s Octave Assignment]]&lt;br /&gt;
&lt;br /&gt;
13. [[Wooley, Andy]]&lt;br /&gt;
*[[Andy&#039;s Octave Assignment]]&lt;br /&gt;
*[[Andy&#039;s Fourier Series Project]]&lt;br /&gt;
&lt;br /&gt;
14. [[Zimmerly, Brian]]&lt;br /&gt;
*[[Brian&#039;s Octave Assignment]]&lt;/div&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Hildebrand,_Kurt&amp;diff=9755</id>
		<title>Hildebrand, Kurt</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Hildebrand,_Kurt&amp;diff=9755"/>
		<updated>2010-10-04T17:34:05Z</updated>

		<summary type="html">&lt;p&gt;Kurt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Contact Information ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Phone:&#039;&#039;&#039; (909)528-3558&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Prefered E-mail:&#039;&#039;&#039; kurthildebrand@gmail.com&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;School E-mail:&#039;&#039;&#039; kurt.hildebrand@wallawalla.edu&lt;br /&gt;
&lt;br /&gt;
== Useful Octave Templates ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Plotting a function:&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Hildebrand,_Kurt&amp;diff=9708</id>
		<title>Hildebrand, Kurt</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Hildebrand,_Kurt&amp;diff=9708"/>
		<updated>2010-10-01T17:28:55Z</updated>

		<summary type="html">&lt;p&gt;Kurt: Created page with &amp;#039;== Contact Information ==  &amp;#039;&amp;#039;&amp;#039;Phone:&amp;#039;&amp;#039;&amp;#039; (909)528-3558  &amp;#039;&amp;#039;&amp;#039;Prefered E-mail:&amp;#039;&amp;#039;&amp;#039; kurthildebrand@gmail.com  &amp;#039;&amp;#039;&amp;#039;School E-mail:&amp;#039;&amp;#039;&amp;#039; kurt.hildebrand@wallawalla.edu&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Contact Information ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Phone:&#039;&#039;&#039; (909)528-3558&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Prefered E-mail:&#039;&#039;&#039; kurthildebrand@gmail.com&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;School E-mail:&#039;&#039;&#039; kurt.hildebrand@wallawalla.edu&lt;/div&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
</feed>