```python
import numpy as np
import math
import matplotlib.pyplot as plt
import warnings
warnings.filterwarnings("ignore")
import sympy as sp
```


```python
x, x_m, h, s=sp.symbols('x x_m h s')
sp.integrate(h*(1-s)*(s),(s,0,1))
```




    h/6




```python
sp.integrate(h*(1-s)*(1-s),(s,0,1))
```




    h/3




```python
x=x_m+h/2*X
b_0=sp.integrate()
```


```python
sp.integrate(h/2*(1+X)*(1-X),(X,0,1))
```




    h/3




```python
sp.integrate(h/8*(1-X)**2,(X,-1,1))
```

3cea04fa6856e61d8c1d35464caeb9589fbcf3dc
ipynb
Jupyter Notebook
Chapter 11 - Finite Element Method/.ipynb_checkpoints/Matrix-checkpoint.ipynb
jjcrofts77/Numerical-Analysis-Python
97e4b9274397f969810581ff95f4026f361a56a2
MIT
2019-09-05T21:39:12.000Z
2022-03-26T14:00:25.000Z
Chapter 11 - Finite Element Method/.ipynb_checkpoints/Matrix-checkpoint.ipynb
jjcrofts77/Numerical-Analysis-Python
97e4b9274397f969810581ff95f4026f361a56a2
MIT
Chapter 11 - Finite Element Method/.ipynb_checkpoints/Matrix-checkpoint.ipynb
jjcrofts77/Numerical-Analysis-Python
97e4b9274397f969810581ff95f4026f361a56a2
MIT
2021-06-17T15:34:04.000Z
2022-01-14T14:53:43.000Z
Qwen/Qwen-72B
1. YES
2. YES