Hi all,(adsbygoogle = window.adsbygoogle || []).push({});

I have attached a notebook which I am doing a calculation in. For some reason, Mathematica is acting inconsistently. When I run the calculation for the first time, it usually doesn't work. By that I mean I get the output that you can see in the notebook attached.

You can that the problem is coming from the subscript 3 in the term H3. I can't understand why it doesn't just read the value of H3 I input early on!?

I could just ditch the subscript but I really don't want to because I want to eventually change the subscript 3 for a general integer i and rerun the program for many different i values.

I should also add that sometimes the program runs with no problems despite having changed nothing. Once it runs once OK, then everytime thereafter is OK.

Please can someone explain what on Earth is going on!

**Physics Forums - The Fusion of Science and Community**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Mathematica problem

Loading...

Similar Threads for Mathematica problem | Date |
---|---|

Mathematica Solve Perturbation problem with mathematica | Dec 7, 2017 |

Mathematica For looping problem not getting answer | May 24, 2017 |

Mathematica Graph Plotting Problem in Mathematica | Nov 22, 2016 |

Mathematica Mathematica - Countour plot problem | Jun 10, 2015 |

Mathematica Mathematica problem with plotting | Apr 5, 2015 |

**Physics Forums - The Fusion of Science and Community**