(adsbygoogle = window.adsbygoogle || []).push({}); 1. The problem statement, all variables and given/known data

Use FEM to solve this problem. The difficulty lies in the fact that the exact solution has a discontinuity in it. From x=[0,0.6) the exact solution u is x^{5}/20 - x/20 and from x =(0.6,1] u is sin(x). The problem I'm having is I'm not sure what to do at the jump in my code. I have already set up my matrices Au = f, and it solves it fine given no discontinuity.

u_{xx}= f

2. Relevant equations

u(0) = u_{0}

u(1) = u_{1}

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

Dismiss Notice

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: FEM with discontinuity

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