# How do Simulation in FreeFem++ Cs or FreeFem v4.14 of Heat equation using random initial ata

**URL:** <https://community.freefem.org/t/how-do-simulation-in-freefem-cs-or-freefem-v4-14-of-heat-equation-using-random-initial-ata/3417>\
**Category:** General Discussion\
**Created:** [July 29, 2024, 9:05am UTC](https://community.freefem.org/t/how-do-simulation-in-freefem-cs-or-freefem-v4-14-of-heat-equation-using-random-initial-ata/3417 "2024-07-29T09:05:33Z")\
**Posts on this page:** 1\
**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:** [July 29, 2024, 9:05am UTC](https://community.freefem.org/t/how-do-simulation-in-freefem-cs-or-freefem-v4-14-of-heat-equation-using-random-initial-ata/3417/1 "2024-07-29T09:05:33Z")

</div>

Helo everyone, i want to what is the commnad in FreeFem++ to write random initial data so that i can plot the simulation results of the approximate solution in different time. Let me know please if any one know. Basically, i need a demo example of time-dependent equation with random initial data in FreeFem++. **r is a random number uniformly distributed on [-0.005; 0.005].**  
what i write for this FF code??. Thanks.
