×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Are you an
Engineering professional?
Join Eng-Tips Forums!
• Talk With Other Members
• Be Notified Of Responses
• Keyword Search
Favorite Forums
• Automated Signatures
• 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.

# What does this function do?

## What does this function do?

(OP)
It has you guess a value for "H", then on the second line we see the "H" is part of an equation "L", and I am guessing this "L" was previously defined? Then "find(H)", finds a new value erasing the guess of 1 kN?

### RE: What does this function do?

That's basically it. The bolded equal sign is the constraint, i.e., find an "H" such that the RHS expression is equal to "L" which is presumably defined above, along with q and a.

The assignment operation H:=find(H) assigns the found value that satisfies the constraint back into H for use below, but is not required otherwise, i.e., you could stop at "find(H) =" if you only what do see what the value is, and one could always copy the found value back into the guess value. The reason for forcing a guess value is that one might be looking at a constraint equation with multiple solutions, and the user might desire finding only one particular solution.

TTFN (ta ta for now)
I can do absolutely anything. I'm an expert! https://www.youtube.com/watch?v=BKorP55Aqvg
FAQ731-376: Eng-Tips.com Forum Policies forum1529: Translation Assistance for Engineers Entire Forum list http://www.eng-tips.com/forumlist.cfm

### RE: What does this function do?

Thanks IRS... do you know what the function/equation does, and what the variables are?

Rather than think climate change and the corona virus as science, think of it as the wrath of God. Feel any better?

-Dik

### RE: What does this function do?

(OP)
Thanks IR, good to get that cleared up. If I may also ask; do you have any idea what this monstrosity might be doing?

### RE: What does this function do?

F is a function whose roots at H1 and H2 are to be found. Beyond that, the outer root call seems a bit unnecessary, since the two roots are linearly combined with delta; one would think that just requires some algebraic manipulation. The inner root functions seem to have more parentheses than necessary as well.

TTFN (ta ta for now)
I can do absolutely anything. I'm an expert! https://www.youtube.com/watch?v=BKorP55Aqvg
FAQ731-376: Eng-Tips.com Forum Policies forum1529: Translation Assistance for Engineers Entire Forum list http://www.eng-tips.com/forumlist.cfm

### RE: What does this function do?

Thanks...

Rather than think climate change and the corona virus as science, think of it as the wrath of God. Feel any better?

-Dik

#### 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.

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:

• Talk To Other Members
• Notification Of Responses To Questions
• Favorite Forums One Click Access
• Keyword Search Of All Posts, And More...

Register now while it's still free!