Average of 2 functions

  • #1
194
0

Homework Statement


My question pertains to taking the average over a particular period that is composed of 2 functions. For example, from [0, 5ms] the function is defined by 1-e^(-t/1ms)and then by e^(-t/1ms) from [5ms, 10ms].

Will the average from 0-->10 simply be the following:
[tex]\bar{f}=\frac{1}{5}\int^{5 ms}_{0}{1-e^{-t/1 ms}}+\frac{1}{5}\int ^{5}_{0}{e^{-t/1 ms}}[/tex]
 
  • #2
If you look at the bottom graph that is orange, it gives visual representation as to what I am trying to take the average of. One period, two functions. One function for half the period, another function for the last half.
1873_8RC%20Input%20Waveform.JPG
 
  • #3
Nvm, pretty sure it is as follows:
[tex]\bar{f}=\frac{1}{10}\int^{5 ms}_{0}{1-e^{-t/1 ms}}+\frac{1}{10}\int ^{5}_{0}{e^{-t/1 ms}}[/tex]
Since the entire period is 10, then both contributions from each function needs to be divided by this number. If I hadn't done this, I would not be considering the other half where each function is zero.
 

Suggested for: Average of 2 functions

Replies
1
Views
540
Replies
5
Views
760
Replies
16
Views
1K
Replies
2
Views
614
Replies
58
Views
2K
Replies
4
Views
1K
Back
Top