×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

For Loop

For Loop

For Loop

(OP)
Hey Guys,

So, i'm trying to do For loop in my file to define a concentration changes in respect to x.

The approach used :

I have to first solve the CO2lSS with ode solver and resulted in CO2lSS(x).

And from there i substitute into the equation of CO2gSS(x) equation, where inside the equation there the CO2gin and CO2lin which i want to do iteration.



CO2lin (n) has to equal to the CO2lout (n-1) and CO2gin (n) has to equal to CO2gout (n-1).

Where n is the number of cycle, and each cycle is 250 m.

So i want to make a loop where everytime the concentration reach x=250 m, that value will be used for another concentration in value.



I tried but it still gives error. Hope you guys can help.

I would really appreciate it.



Thank you.

RE: For Loop

I can't open your file - with my copy of Mathcad 13.

It is usually helpful to "downsave" your file when posting to an online forum to allow the largest number of people to attempt to help you - not just the ones with the latest version. Given the turmoil in Mathcad's ownership, I hope you understand that I expect to NEVER have a new copy of Mathcad ever again.

If you can't downsave, then can you try including a screen-capture?

This kind of troubleshooting is probably in something syntax not quite right. Only way to tell is to see the code.

No one believes the theory except the one who developed it. Everyone believes the experiment except the one who ran it.
STF

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login



News


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close