×
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

Mathcad 15 Display formula from an IF statement

Mathcad 15 Display formula from an IF statement

Mathcad 15 Display formula from an IF statement

(OP)
Hi, I am fairly new to using Mathcad, but have always found plenty of useful information and answers to my questions here. There is one question that I have that I can't find the answer to though:
I have created an IF statement that uses a different formula to define a variable depending on the value of another variable. I have created this IF statement off the page as it is quite lengthy and the end user does need to see it. I would however like the formula chosen by the IF statement to be displayed on my page. I can only get the result of the formula to display.
I tried creating another IF statement with the equation written in quotation marks, but the formula is quite complicated and it looks terrible when not properly formatted.
I have attached my Mathcad sheet. The equation that I want to display is for Q.

Thanks in advance for any help

RE: Mathcad 15 Display formula from an IF statement

My only suggestion is to make separate equations for Q, above where the actual work is done. Put each one in a different region and then manually open the region that is actually used.

RE: Mathcad 15 Display formula from an IF statement

Mathcad allows for scriptable objects, so it would seem possible to use your IF statement to cause possibly the scriptable ImageViewer to view different images of the equations. The scripting interface was never solidly supported nor used by many people, so caveat emptor.

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: Mathcad 15 Display formula from an IF statement

You could use an IF statement to choose between two text strings representing the formula.

RE: Mathcad 15 Display formula from an IF statement

(OP)
Thanks for replying.

Is there a way to format the equation properly in a text string?

RE: Mathcad 15 Display formula from an IF statement

No, MC's text capabilities were always rudimentary. I think you are better off trying to display an image of the equation, or displaying a secondary MC worksheet embedded within your primary worksheet, or punt.

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: Mathcad 15 Display formula from an IF statement

(OP)
IRstuff: I had tried to display an image of the equation before posting here but I was unsuccessful. DO you know how to do this? Thanks

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