How JustAnswer Works:
  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.
Ask R.R. Jha Your Own Question
R.R. Jha
R.R. Jha, Tutor
Category: Homework
Satisfied Customers: 5471
Experience:  B.Tech
Type Your Homework Question Here...
R.R. Jha is online now
A new question is answered every 9 seconds

Hi again! Im trying to modify the program in order to handle

This answer was rated:

Hi again!
I'm trying to modify the program in order to handle the same problem but for a cubic lattice NxNxN, also with periodic boundaries. Could you help?

I have also a question about the preceding program: you use 'size' without declaring it. Is it the same as ARRAY_SIZE?

Yes, size refers to ARRAY_SIZE.
I'll modify the program to work for the cubic lattice and let you know.

And please don't forget to add 'RRJha' at the start when sending a question to me.

Customer: replied 4 years ago.


Ok. This might take some time. I'll work on it and send the code later tonight. You may come back and check by morning.
Customer: replied 4 years ago.

To RRJha


It's ok.


I tried the program with n=2, which should give 1 for the average number of hops, but it gives 1.99 instead. Can you have a look?





You need to spend $3 to view this post. Add Funds to your account and buy credits.
R.R. Jha and other Homework Specialists are ready to help you

Related Homework Questions