Hi from a newbie.(adsbygoogle = window.adsbygoogle || []).push({});

I have an apparently simple problem, but could use some guidance on how to do it.

I have the following function:

[tex]F(x)=\int^{x}_{0}f(t)dt,\ 0\leq x\leq3[/tex]

where [tex]f(x)=\left\{\begin{array}{lll}1,&\mbox{ if }0\leq x<1\\2-x,&\mbox{ if }1\leq x<2\\0,&\mbox{ if }2\leq x\leq 3\end{array}\right[/tex]

Is it as simple as:

[tex]F(x)=\left\{\begin{array}{lll}x,&\mbox{ if }0\leq x<1\\2x-\frac{x^2}{2},&\mbox{ if }1\leq x<2\\0,&\mbox{ if }2\leq x\leq 3\end{array}\right[/tex]

A plot of F(x) for the interval would show discontinuities at x=1 and x=2.

Thanks for your help.

Bailey

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Homework Help: Piecewsie Integral

**Physics Forums | Science Articles, Homework Help, Discussion**