Is there a way to write down the following in Wolframalpha?
$$f(x)=\begin{cases}1-x,& 0\leqslant x\leqslant 1\\ 0,&1\lt x\leqslant2\end{cases}.$$
Is there a way to write down the following in Wolframalpha?
$$f(x)=\begin{cases}1-x,& 0\leqslant x\leqslant 1\\ 0,&1\lt x\leqslant2\end{cases}.$$
On
you're Probably looking for:
ExptoTrig[FourierSeries[Piecewise[{{1-x/Pi,0<x<Pi},{0,-Pi<x<0}}],x,5]]
Sure: