So I've got 3 tanks with 1000 litres of water in each and 3000 kg of salt in the two corner ones and 2000 kg of salt in the middle one. I want to plot how the salt concentration in each tank shifts if they all pump out 50 litres/minute to the next tank, i.e. A -> B -> C -> A -> B.... etc.
Sooooo this is my code here:
and then in another function (or the same one? I'm really bad with this ode45 stuff)
Yeah I get a bunch of errors >_>. Any help is very much appreciated!