Originally Posted by reshmaj
How to deploy 50 nodes in 100 x 100 m and assign different energy values to them and divide them into grids of 20 x 20 m
You write the code to do it...or you can look up examples, and modify them to fit your needs.
But you need to read the LQ Rules and the "Question Guidelines" link in my posting signature. We are NOT going to give you code or write it for you, but we will be very happy to help you if you're stuck. But you are going to have to show effort of your own. Post what you've written/tried/looked up on your own, along with the relevant details, and we can try to help you.