02-23-2014, 04:45 PM

If language is set to german and I enter the following:

$$ \int_0^2 \left( \begin{cases}-2-x & -2 \leq x < -1\\ \sin\left(\frac{\pi}{2} x\right) & -1 \leq x < 1 \\ 2-x & 1 \leq x < 2 \end{cases} \right) \cdot \sin\left(n \pi x \right) \rm{d}x$$

I get the error message in french: "Aucun cas ne s'applique". (English version is: "No case applies")

Btw: I entered the big piecewiese expression first in the plot mode (with capital X). I then copied it to the CAS where I had to replace every capital X with a lowercase x. I tried to do this with "subst()", but this fails because X is intialised to zero. Is there a better way than replacing every X manually to do this?

@HP: Please get rid of this capital/non capital variable crazyness.

$$ \int_0^2 \left( \begin{cases}-2-x & -2 \leq x < -1\\ \sin\left(\frac{\pi}{2} x\right) & -1 \leq x < 1 \\ 2-x & 1 \leq x < 2 \end{cases} \right) \cdot \sin\left(n \pi x \right) \rm{d}x$$

I get the error message in french: "Aucun cas ne s'applique". (English version is: "No case applies")

Btw: I entered the big piecewiese expression first in the plot mode (with capital X). I then copied it to the CAS where I had to replace every capital X with a lowercase x. I tried to do this with "subst()", but this fails because X is intialised to zero. Is there a better way than replacing every X manually to do this?

@HP: Please get rid of this capital/non capital variable crazyness.