Solving problems using the Average Value function

Click For Summary
SUMMARY

The discussion focuses on calculating the average value of the function $mpg(t) = 30 + 10\sin(t)$ over the interval $0 \leq t \leq \pi$. The correct formula for the average value is established as $\frac{1}{\pi} \int_0^\pi (30 + 10\sin(t)) \, dt$, leading to the result $\frac{30\pi + 20}{\pi}$. A minor correction is noted regarding a typo in the integration process, where an 'x' was mistakenly used instead of 't'. Additionally, participants discuss best practices for formatting LaTeX in forum posts, emphasizing the use of the Sigma button for better visual output.

PREREQUISITES
  • Understanding of calculus, specifically integration techniques.
  • Familiarity with trigonometric functions and their properties.
  • Basic knowledge of LaTeX for mathematical formatting.
  • Experience with forum posting and formatting tools.
NEXT STEPS
  • Learn advanced integration techniques in calculus.
  • Explore the properties of trigonometric functions in calculus.
  • Study best practices for using LaTeX in online forums.
  • Investigate the average value theorem in calculus for further applications.
USEFUL FOR

Students studying calculus, educators teaching mathematical concepts, and forum users looking to improve their LaTeX formatting skills.

shamieh
Messages
538
Reaction score
0
The miles per gallon of my car on a recent trip at time t was given by $mpg(t) = 30 + 10sin(t)$ where $0 <= t <= \pi$. Find the average value of $mpg(t)$ over this time interval.

So I'm kind of confused on how to do this. Here is what I have set up, let me know if I'm on the wrong track or not. Thanks in advance.

$\frac{1}{\pi} \int^\pi_0 (30 + 10sin(t)) \, dt$

$\frac{1}{\pi} [30x - 10cos(t)]$ $|^\pi_0$

$\frac{1}{\pi} ( [30\pi + 10] + [+10])$

$\frac{1}{\pi} [30\pi + 20]$

= $\frac{30\pi}{\pi} + \frac{20}{\pi} = \frac{30\pi + 20}{\pi}$

By the way I just completely guessed on how to do this, so this attempt may look idiotic lol. Thanks again.
 
Physics news on Phys.org
This is correct.
 
I only have one very minor quibble...in your second line of work, you have an $x$ in your antiderivative when you have integrated with respect to $t$, but I highly suspect this is just a typo.

In your $\LaTeX$ coding, you may precede trigonometric (and other pre-defined) functions with a backslash so that they are not italicized and will not look like a string of variables. For example:

tan(\theta) gives $$tan(\theta)$$

whereas:

\tan(\theta) gives $$\tan(\theta)$$

Also, I highly recommend using the $$\Sigma$$ button on our toolbar to generate MATH tags rather than using the dollar sign tags. The button automatically generates the command \displaystyle which makes certain commands large and look better. Compare the difference:

\$\frac{1}{\pi} \int^\pi_0 (30 + 10\sin(t)) \, dt\$ gives $\frac{1}{\pi} \int^\pi_0 (30 + 10\sin(t)) \, dt$

whereas:

$$\frac{1}{\pi} \int^\pi_0 (30 + 10\sin(t)) \, dt$$ gives $$\frac{1}{\pi} \int^\pi_0 (30 + 10\sin(t)) \, dt$$
 
Ahh thank you Mark, I will definitely absorb that advice.
 
Hey Mark, sorry to double post. The reason I have been using the $ for LaTEx is because it is so convenient to just type rather than using the Sigma button to highlight and then click and then highlight and click... I was wondering is there a ctrl key or some shortcut I can do to just implement latex with that button WITHOUT typing [math every time? Was just curious.
 
shamieh said:
Hey Mark, sorry to double post. The reason I have been using the $ for LaTEx is because it is so convenient to just type rather than using the Sigma button to highlight and then click and then highlight and click... I was wondering is there a ctrl key or some shortcut I can do to just implement latex with that button WITHOUT typing [math every time? Was just curious.

What I do is click the button first, and then enter the code (you will find your cursor is conveniently placed at the proper place to begin entering your code). Doing it this way is a bit quicker than typing out the dollar sign tags, and the result is much better looking output that results from the BBCode associated with the MATH tags, i.e., the inclusion of the \displaystyle command. :D
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 8 ·
Replies
8
Views
9K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K