photo

ranbo95


Active since 2017

Followers: 0   Following: 0

Message

Statistics

Feeds

View by

Question


How to get for/while loop to continue loop around?
Just to explain my code - I want it to initially satisfy until the height in the feed tank (hfinitial > 0), but then it has the ...

7 years ago | 1 answer | 0

1

answer

Question


How do I get two while loops to keep repeating?
I've got my first loop to (appear) to do what I want - I want it to calculate some flowrates (Q) until the height of the pumping...

7 years ago | 1 answer | 0

1

answer

Question


For loop terminates randomly after 70 lines?
Apologies for the long code in advance. To give you a back ground, this is to represent pumping and refill of fluid transfer, so...

7 years ago | 1 answer | 0

1

answer

Question


How to get my while loop to skip into the next loop?
Apologies for the long code in advance. I'm unsure how to get my first while loop (within the initial while loop) to skip onto t...

7 years ago | 1 answer | 0

1

answer

Question


My code appears to be skipping iterations?
%Input initial conditions Pi=300000; %Air pressure applied Po=101325; %Pressure discharged g=9.81; %Acceleration due ...

7 years ago | 1 answer | 0

1

answer