Skip to main content
8-Gravel
May 22, 2023
Solved

Programming loop

  • May 22, 2023
  • 2 replies
  • 1271 views

I have inputs which needs to be used for further calculation For ex POP1_2.1 will be used to calculate CO1_2.1 and CO1_2.1 will be used for calculating POP next series and so on. I need some help to formulate programme to carry out this on loop and give the output could someone help? 

 

Best answer by Raiko

Hi,

 

here is an example how to do it in Mathcad. Hope, it helps.

 

Raiko

2 replies

23-Emerald IV
May 23, 2023

You can write a program for this, but it will be as much work as you've already done to put down all the assignment formulae in your sheet.

If you want to put this efficiently in a program, you will need to use indexes instead of literal subscripts to your arrays AF, DF and M.

Since you've hidden their definitions in protected areas, that's something you will need to do.

 

Success!
Luc

Raiko17-PeridotAnswer
17-Peridot
May 24, 2023

Hi,

 

here is an example how to do it in Mathcad. Hope, it helps.

 

Raiko