Finding Fourier coefficients for square wave

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 พ.ย. 2024

ความคิดเห็น • 73

  • @Integrelle
    @Integrelle 5 ปีที่แล้ว +86

    Im in 3rd year electrical engineering and my class has been shafted by a brand new prof who got his PhD last year, and speaks VERY broken english. Lectures are hopeless, but this series is actually helping a lot!
    Thanks Sal

  • @danielbrantley6158
    @danielbrantley6158 หลายเดือนก่อน

    Thank you for this video. We just started our Fourier series and transforms chapter in Math 346 and our hw was a single problem! Thank you for showing a clear example!

  • @davefrost5955
    @davefrost5955 4 ปีที่แล้ว +27

    2nd year mech eng here who has a final exam tomorrow.. wish the lecturer showed us this instead of his slides

    • @davefrost5955
      @davefrost5955 ปีที่แล้ว +4

      @JayJay Patrick Yes I have brother. Got a first class hons BEng degree and now I'm in a full time job as a design engineer! :)))

  • @DANCEVIC90
    @DANCEVIC90 8 ปีที่แล้ว +6

    Love your videos, thanks for all the detailed explanation. Great job

  • @vwcanter
    @vwcanter 11 หลายเดือนก่อน +1

    The expression for a-nought is derived in the preceding video. But the expressions for a-sub-n are not derived, just presented as a formula.

  • @ammelodiana5664
    @ammelodiana5664 5 ปีที่แล้ว +4

    everything has just clicked. thanks so much

  • @EngineeringEducation
    @EngineeringEducation 6 ปีที่แล้ว +2

    Excellent video!

  • @Rbenjamim
    @Rbenjamim 8 ปีที่แล้ว

    keep the series coming Sal,thanks

  • @joshuasusanto4258
    @joshuasusanto4258 3 ปีที่แล้ว +1

    Ahhh yesss.... It's all coming together now

  • @jojofatjojojojojo1588
    @jojofatjojojojojo1588 8 ปีที่แล้ว +3

    not bad. needed help with this. thanks salmon

  • @Liamv4696
    @Liamv4696 6 ปีที่แล้ว +2

    using the 2pi period to simplify this has actually made it harder to understand.. because i have no idea how to setup the equation for other periods. idk where the periods go.. or where there are supposed to be pi's. Eg my current assignment has a 15V pk-pk, 8000Hz, 50% duty cycle square wave. And I have to calculate the first 3 non zero fourier coefficients. No idea.

  • @digitallyaligned
    @digitallyaligned 9 หลายเดือนก่อน +1

    from zero to dubaï

  • @sella-san6663
    @sella-san6663 8 ปีที่แล้ว +12

    why did you use 1/Π on bn and an instead of 1/2Π as used in a0? I'm sorry, this part confused me. 😕

    • @AdityaSingh-in9lr
      @AdityaSingh-in9lr 7 ปีที่แล้ว +1

      you got the answer??, it confused me too

    • @JohnSmith-dd1hf
      @JohnSmith-dd1hf 7 ปีที่แล้ว +2

      watch videos 6 and 7 to find the answer

    • @honest_review2492
      @honest_review2492 7 ปีที่แล้ว

      lhiera westmont this is a basic formula to find the cofficents of bn and an .a0 is on dc line so its formula is changed .i just google it

    • @meghnasoni
      @meghnasoni 7 ปีที่แล้ว +4

      The numerator on an is 2, and the period of this square wave is 2π, so the twos will cancel out and you will have 1/π . Hope that helps 😊

    • @udaykumarpokala8653
      @udaykumarpokala8653 6 ปีที่แล้ว

      an-2/T 2/2*3.14 1/3.14

  • @capoman1
    @capoman1 8 ปีที่แล้ว +6

    8:40 Couldn't you use (-1)^n to represent the even odd nature of cos(npi)?

    • @punchtheface
      @punchtheface 8 ปีที่แล้ว

      thats what I did in my work

    • @samb443
      @samb443 7 ปีที่แล้ว +3

      (-1)^n goes into the complex domain inbetween the integers, but its real part is equal to cos( n pi ). so yeah, for more basic questions it works

    • @Ghillieye
      @Ghillieye 7 ปีที่แล้ว +3

      n in this case is only integers anyways, so you wouldn't worry about the complex domain.

  • @MyFavClassroom
    @MyFavClassroom 7 ปีที่แล้ว +1

    very good explained

  • @JosephZuluaga
    @JosephZuluaga 6 ปีที่แล้ว +1

    You are just awesome. Life saver.

  • @hamsandwichlover3075
    @hamsandwichlover3075 ปีที่แล้ว

    If im successful in life im donating all my money to khan academy 😭

  • @yash1152
    @yash1152 ปีที่แล้ว

    link to the fourier series playlist?

  • @anuarakhynov9733
    @anuarakhynov9733 8 ปีที่แล้ว +1

    when calculating b you took its integral from 0 to pi whereas your period at the beginning of the problem was 2pi.

    • @history_facts_w
      @history_facts_w 5 ปีที่แล้ว

      from pi to 2 pi, function is equal to zero, so value of bn for that region is also zero. He did the same in calculating an too.

  • @klipk7296
    @klipk7296 3 ปีที่แล้ว +2

    3:49
    Was finally starting to understand until he started getting all fancy here

    • @joetursi4089
      @joetursi4089 3 ปีที่แล้ว

      Fancy where? It's a fine tutorial.

  • @buraksimsek2167
    @buraksimsek2167 7 ปีที่แล้ว

    Teşekkürler (Thanks) Khan Academy

  • @tsehayenegash8394
    @tsehayenegash8394 ปีที่แล้ว

    I have 15 years temperature data. I want to remove seasonality variation from the time series data, so how can I get the constan term ao, the amplitude and the phase change by using these given temperature data? thank you

  • @antonfelix1
    @antonfelix1 7 ปีที่แล้ว

    can (an) and/or (bn) be negative to allow any degree of phase shift? (For another waveform)

  • @samafaris4941
    @samafaris4941 4 ปีที่แล้ว

    I have a problem getting how when n is even you get zero. When n=2 , cos 2 (Pi) is not 1, it is -1 so it doesnt add up to zero! Please explain?
    Thanks

    • @TheHisisi
      @TheHisisi 4 ปีที่แล้ว

      cos(0) = 1 so, 1 - 1 = 0
      cos(2pi) = 1 so, 1 - 1 = 0
      cos(4pi) = 1 so, 1 - 1 = 0
      cos(2*n*pi) = 1 so for all even pi, the value of the term will be 0.
      Vice versa for the odd values, the term will always come out to pi, which is -1 making the inner term -2. So you will have (6/n*pi) where n is always some odd number.

  • @TamPham-ph6dz
    @TamPham-ph6dz 6 ปีที่แล้ว

    Is this function odd, even or neither?

  • @SteveDave227
    @SteveDave227 5 ปีที่แล้ว +2

    I'm really hopeful that someone can point me toward the video previous to this one, which I am assuming comes between intro to fourier series and this video. I'm having a very difficult time navigating these fourier videos as they have no listed order and seem to jump around from topic to topic. I'm going to look them up by date I guess..

    • @Oockeshoek
      @Oockeshoek 4 ปีที่แล้ว

      th-cam.com/play/PLT5_DQAJJLh-ogHjHcLtFYMQy7SkZ7-3i.html

  • @nevermindshort3
    @nevermindshort3 7 ปีที่แล้ว +2

    I don't understand how the n just disapears when you integrate at 6:16

  • @Clouds095
    @Clouds095 8 ปีที่แล้ว +2

    I haven't done maths in a while but why is the first integral multiplied by 1/2pi?

    • @mathematiknet
      @mathematiknet 7 ปีที่แล้ว

      Because the formula says so.

    • @rafaelsanzio8734
      @rafaelsanzio8734 6 ปีที่แล้ว

      Watch the sixth video on Fourier Series Playlist from Khanacademy to find the reason why.

    • @philandros3195
      @philandros3195 6 ปีที่แล้ว +1

      f(t) is some function, that we assume can be written as a series of sin and cos, like:
      f(t) = a_0 + a_1 cos(t) + b_1 sin(t) + a_2 cos(2t) + b_2 sin(2t) + ....
      So the first term in f(t) is just some constant a_0. If you wanna find a_0, you simply integrate f(t) over the whole period, like:
      int_0^2pi f(t) dt = int_0^2pi (a_0 + a_1 cos(t) + b_1 sin(t) + ...) dt = int_0^2pi a_0 dt = 2pi a_0 => a_0 = 1/2pi int_0^2pi f(t) dt
      all terms like cos(nt) or sin(nt) is zero when you integrate over the full period. So what's left is just you integrating some constant from 0 to 2pi, and that's where the 2pi comes from.

  • @augustyntchorzewski7615
    @augustyntchorzewski7615 3 ปีที่แล้ว

    Tryna learn Fourier series the day before the exam gang wya?

  • @karanarora2490
    @karanarora2490 4 ปีที่แล้ว

    "We definitely need a drum roll" - Sal

  • @sanjubaba3996
    @sanjubaba3996 8 ปีที่แล้ว

    why are'nt we using the term b-sub-0 as the first term of the coefficients of sin(mt)?????

    • @zaifanadi67
      @zaifanadi67 8 ปีที่แล้ว

      ss g it can be anything ... use a zebra if u like

    • @KCIsMe
      @KCIsMe 8 ปีที่แล้ว

      He's doing it that way because you can think of the first b_sub_n*sin(nt) term as b_sub_0*sin(0*t) = 0. It equals zero, which is why he doesn't bother writing it down.

    • @sanjubaba3996
      @sanjubaba3996 8 ปีที่แล้ว

      stop it guys....
      i got it.....
      thanx....

  • @gryranfelt5473
    @gryranfelt5473 6 ปีที่แล้ว

    I still don't quite get what n is?

  • @ekoi1995
    @ekoi1995 7 ปีที่แล้ว +1

    does n have to be integers XD
    i get weird answers when n is not an integer XD also is 0 included?

  • @zayedtalukdar31
    @zayedtalukdar31 7 ปีที่แล้ว +1

    where did the 3 come from

    • @nevermindshort3
      @nevermindshort3 7 ปีที่แล้ว +3

      it was the chosen value of the step function. It was 3 from 0 to pi and 0 from pi to 2pi.

  • @cw9249
    @cw9249 ปีที่แล้ว

    this is black magic

  • @ugonna1
    @ugonna1 5 ปีที่แล้ว

    please I don't understand where n came in from and why

    • @FRACT10N19
      @FRACT10N19 5 ปีที่แล้ว

      n is just a number from 1 up until infinity. so when n = 3, that is talking about the third component or third harmonic.

  • @amizadeesimpatia8989
    @amizadeesimpatia8989 7 ปีที่แล้ว

    "weighted cosines and sines" means we have a term Ax multiplying cosine or sine. Sure?

    • @rafaelsanzio8734
      @rafaelsanzio8734 6 ปีที่แล้ว +1

      Yes...It means that the sines or cosines functions have diferent amplitudes.

  • @taraspokalchuk7256
    @taraspokalchuk7256 8 ปีที่แล้ว

    where is this from on khan academy?

    • @harryew
      @harryew 8 ปีที่แล้ว +1

      Electrical engineering series

  • @ThePositiev3x
    @ThePositiev3x 4 ปีที่แล้ว

    Everything clicks when your period is in terms of pi. What if it is not? Whole video becomes useless sadly.

  • @nberz692
    @nberz692 3 ปีที่แล้ว

    I was here

  • @joetursi4089
    @joetursi4089 3 ปีที่แล้ว

    Profs with heavy accents make life horrible for science students. My dad , a very bright man, flunked Calc. for this reason. For todays tuition we deserve better.

  • @bf3brian
    @bf3brian 8 ปีที่แล้ว +2

    Holy hell 😳😲

  • @vwcanter
    @vwcanter 11 หลายเดือนก่อน

    The expression for a-nought is derived in the preceding video. But the expressions for a-sub-n are not derived, just presented as a formula.

  • @vwcanter
    @vwcanter 11 หลายเดือนก่อน

    The expression for a-nought is derived in the preceding video. But the expressions for a-sub-n are not derived, just presented as a formula.