×
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

displaying numbers in equations

displaying numbers in equations

displaying numbers in equations

(OP)
Is there a way for MathCAD to display numbers used in the equation?
I got my variables, my equation, but visually I want to check if the numbers I used are correct.
 

RE: displaying numbers in equations

(OP)
I got Mathcad 13, so no hepl for me there.
Thanks IR smile

RE: displaying numbers in equations

b,

Are you simply trying to audit your work to verify things are working properly before you automate?

Or are you interested in seeing the equation inputs/outputs each time this is executed (like some of the online Java calculators)?

P

RE: displaying numbers in equations

(OP)
more in seeing equation inputs, so I can visually analyse what I parameters I can change to get better results.

RE: displaying numbers in equations

Explicit command should be used in this case. My problem is the following:

Example: a=1  b=2   c=a+b=1+2=3 what I want to show.

Using explicit function, the following is shown:

c=a+b=1+2=1+2   I can see no result! But tutorial shows an example where Mathcad 14 writes the result correctly. Why is 1+2 shown twice instead of the result? I do not understand it.

RE: displaying numbers in equations

balazsm,

For your example if you use
a:=1
b:=2
c:=a+b explicit,a,b->1+2->3

(Where -> is the symbolic evaluation on the symbolic toolbar)

By hiding the keywords and displayed evaluation as equal sign you can quite easily get what you're after
c:=a+b=1+2=3

This is using version 13.


bmagdalena,

I started a post a few months back which addressed a similar issue, it didn't come up with a solution though, more of a work-around.  It might be worth a look though:

http://eng-tips.com/viewthread.cfm?qid=254898&page=2


All the best

RE: displaying numbers in equations

Thanks ferryscott but semms it is a bug I think because it doesn't show the result for me.

RE: displaying numbers in equations

It worked for me in Ver. 13.  Did you use the symbolic toolbar to insert the "explicit" operator?  You can't just type it in.  To change to equal signs and hide the key word, right click on the expression.
 

RE: displaying numbers in equations

(OP)
thanks guys, it works. but one more question. I have nested variables, mean in my final equation I have values that were equations at one point of time. When Im using explicit operation it brakes up valuse very detailed including equations that I already have numerical value calculated for.
so if I have:
a=1
b=1
a:=b+c
a=2

then next eqation
e=1
d:=a+e
then under
explicit Im getting a+1, or 1+1+1.
since I already know value for a, is there a way to skipp brakedown of a value and just get for d 2+1


balazsm
maybe you already fund this out, but to get results after explicit operation you need to go to the end of the result equation and add equal sign to get the result.

 

RE: displaying numbers in equations

(OP)
yep, It's easier to just type numbers next to the original equation, and manually change them if nessesary.
thanks

RE: displaying numbers in equations

There is at present, as far as I know, no method of stopping the explicit expansion at any particular level or for any particular variable. It would be nice if they had a modifier LEVEL1 (rather than ALL) that would olny substitute values for the current equation.

RE: displaying numbers in equations

While it's discouraged, you can use the global definitions to define the variables you want to look at, and place them next to the equation you're interested in.  This allows you to change the variables insitu, without scrolling back and forth.  

Since globals are processed before anything else, their definitions are valid anywhere in the sheet, no matter where the actual definition is.  Obviously, it makes it hard to read the sheet for an outsider, but sometimes, it's worth it.

TTFN

FAQ731-376: Eng-Tips.com Forum Policies

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