# Need a Sample Code

**URL:** <https://community.freefem.org/t/need-a-sample-code/3695>\
**Category:** Feature Request\
**Created:** [January 18, 2025, 9:24am UTC](https://community.freefem.org/t/need-a-sample-code/3695 "2025-01-18T09:24:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Monirul25](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/monirul25/32/3287_2.png) [@Monirul25](https://community.freefem.org/u/Monirul25)\
**Post date:** [January 18, 2025, 9:24am UTC](https://community.freefem.org/t/need-a-sample-code/3695/1 "2025-01-18T09:24:46Z")

</div>

Hello, all experts,  
**Is there any demo code to write integral term of the following type of equation in FF++??.**

 ![eqn_one](https://canada1.discourse-cdn.com/flex030/uploads/freefem/original/2X/0/07f54af3eb4e1afb190abff82a03adfe229465f7.png)  
For integral term i have to used the following quadrature formula:  
 ![eqn_two](https://canada1.discourse-cdn.com/flex030/uploads/freefem/original/2X/9/9a1fe4fd9b3f0c1157d6e68596adcc10a29ae13f.png)

**I am facing problem to write the integral term in the above equation( i.e first picture).**  **I need to write the integral term by using the given quadrature formula. Thanks in advance.**

---

<div class="post-metadata">

**Author:** ![lassounon](https://avatars.discourse-cdn.com/v4/letter/l/bbe5ce/32.png) [@lassounon](https://community.freefem.org/u/lassounon)\
**Post date:** [April 19, 2025, 8:56pm UTC](https://community.freefem.org/t/need-a-sample-code/3695/2 "2025-04-19T20:56:54Z")

</div>

Hello,  
I believe an example is provided here.

> [@Getting not optimal results in parabolic integro-differential equation](https://community.freefem.org/t/getting-not-optimal-results-in-parabolic-integro-differential-equation/3771/2):
>
> many mistakes in your code. [Integro\_Parabolic\_P1.edp](https://community.freefem.org/uploads/short-url/jz58umKszo7Hu97h6SkXpnXVABU.edp) (2.6 KB)
