What I want to do with Mathematica is this:(adsbygoogle = window.adsbygoogle || []).push({});

1. Given are 4×1 matriceseandu, and 4×4 matrixV. MatriceseandVare constant.

2. Solve the systemu=V.fforf, wherefis 4×1 matrix.

3. Define 4×1 vectorgsuch asg1=f1*Exp(e1*t),g2=f2*Exp(e2*t)etc, whereg1is the first component ofg,f1is the first component off,e1is the first component ofeetc and t=0.1 or 1 or whatever small number.

4. Compute p, where p=V.g

5. Print p and t*(the number of current step in the iteration)

6. Redefine u=p and do it all over again.

Mathematica gives examples where only one expression is to be computed, while I want to compute more expressions in one step. I have no idea how to tell Mathematica to do this. Any idea will be appreciated. You can also give me (if you know one) a link or a title of a book where such kind of problems are explained.

Please help :)

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

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

# Iteration in Mathematica

Loading...

Similar Threads - Iteration Mathematica | Date |
---|---|

Comparing direct and iterative solution of linear equations | Nov 8, 2016 |

Mathematica - Showing iterations graphically | Jan 20, 2012 |

Mathematica - Iterations with 2 arguments | Jan 18, 2012 |

Iterative map in mathematica | Sep 28, 2011 |

Mathematica: Iterations | Feb 13, 2011 |

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