Quantcast
Viewing all articles
Browse latest Browse all 164

How to solve a variable amount of variables?

Hey all,

 

The title is probably very poorly explained and doesn't make much sense at all, but here goes nothing:

I define at the start of my .mw file that M:=1, but I need to be able to change it in order to run multiple different iterations.

So what I've come up with so far is a way to get a variable ammount of equations named "eqc(1,3,5,...)" The number of equations I get is equal to the M defined in the beggining. How would I go about solving this?
To give you an idea of something to work with:

Image may be NSFW.
Clik here to view.

So basically I'd need to solve as many of these eqc equations as I get. If I change M to, lets say 30, I'd need to solve 30 equations. This solve option above doesn't work and I've messed around with Vectors and Matrixes but I honesly have no idea what I'm doing there, so I thought best to seek out help.

 

Thanks in advance, Rafael.


Viewing all articles
Browse latest Browse all 164

Trending Articles