×
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

Help with Setting Up Solver

Help with Setting Up Solver

Help with Setting Up Solver

(OP)
If Y is known, how can this be setup to solve for l?



Thank you.

RE: Help with Setting Up Solver

(OP)
Thanks Greg!

I must admit my knowledge in this area has not been used for many many years, and to add I'm very new to MathCAD.

I am playing with the FOR and WHILE loops right, and despite the examples online I'm a bit lost. Can you elaborate how to set this up?

This is from a paper that proposes a procedure for determining the capacity of a surge bin between two machines based on their rates, availability, etc.

RE: Help with Setting Up Solver

In pseudo code, since I don't have mathcad
Y=user input
L=1
P=1
thisE=Y
while thisE<Y
L=L+1
thisE=longcomplicatedfunctionof P and L using a for loop

end while

print(L)

end

The problem I have with it is that unless I have mistranscribed your equation, E is always negative




Cheers

Greg Locock


New here? Try reading these, they might help FAQ731-376: Eng-Tips.com Forum Policies http://eng-tips.com/market.cfm?

RE: Help with Setting Up Solver

So here's how I did it in Smath, a very similar program to Mathcad. You can see why I am confused- the grayed out section would give the L you want, but since all values of E were negative it is no good. You need to reset L to 0 or delete the active while loop to use the second one.



Cheers

Greg Locock


New here? Try reading these, they might help FAQ731-376: Eng-Tips.com Forum Policies http://eng-tips.com/market.cfm?

RE: Help with Setting Up Solver

Have you tried graphing the equation? Keeping E as a function of L, with increasing L, the graph =<0.E(2)= -6.373, after which a step is seen, giving -14.273 and, with increasing L, the curve goes negative rapidly. Looks as though the solution is highly dependent on your given Y.

RE: Help with Setting Up Solver

(OP)
Thank you to all for your commentary and input. If either of you are interested in seeing the paper that describes this procedure please email me at mechowl1980@gmail.com

Maybe it will be helpful to understand this equation. I have two identical papers printed by two separate publishers and the equation in one of them is missing a ( which leads me to believe there is a small possibility the equation is incorrect. Anyways I'm stuck too.

Thanks again.

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


Resources

Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Design for Additive Manufacturing (DfAM)
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a part’s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

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