×
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

Reddefining a Variable

Reddefining a Variable

RE: Reddefining a Variable

Sure you can redefine any variable as often as you like. To the right and below that new definition the new value is used.

Not sure what we are supposed to see in the file you posted and what the problem there should be?

RE: Reddefining a Variable

(OP)
Iam trying to redefine Fy in the attached worksheet. I tried checking the the Fy vlaue but it doesnt display anything..
It under allowable stresses.. Its after **************** lines

Thanks

RE: Reddefining a Variable

First let me say that IMHO its a very bad habit to put all calculations of a whole worksheet into one text region - not flexible, hard to edit, hard to debug and no benefit, unless you want to put two independent text regions side by side which should not interact.

Second I don't see any of your attempts in that sheet where you would try to evaluate Fy and which are not displaying anything (maybe pressing F9 helps), as you wrote!?? So whats the the problem and where??? When I evaluate Fy before your redefinition I get 35ksi, if I do it afterwards I get 34.235ksi, so obviously the redefinition works.
The definition of Fy at the top (35ksi) seems to be obsolete anyway as you never use it and later Fy is calculated and the initial value overwritten (by 34.235ksi).

RE: Reddefining a Variable

Just saw that indeed you use the initial value of Fy in the redefinition of that variable itself - so the initial assignment is not obsolete.

RE: Reddefining a Variable

(OP)
For some reaon it was not displaying the value of Fy after redefining the variable.
I was been told by my senior (who initiated me to use MATHCAD)that its always good to write in one text block so that its easy to copy paste in report or create reports. and everything lines up perfectly..

I would like to know the prefreed way or how most people do it....

Thanks

RE: Reddefining a Variable

So I assume its working now for you?

If copying and pasting a bunch of associated regions is needed I would put them in an area, collapse it and then its easy copied as a hole and transferred to another sheet.

To sew how other works you may just scan this forum, or even better the main Mathcad Community forum at PTC and look what others do. Chances are you won't find a s single sheet where all calcs would be placed inside a single text region. But you sure have to find your own prefered way of doing things. Try both, compare and judge yourself. Looking at Mathcad as a line oriented word processing tool might have some advantage concerning lining up of regions because you don't have much choice to arrange things, which in effect is a drawback of that approach, too. Looking at Mathcad as a mathematical scratchpad seems the more appropriate view in my opinion and its also the view the creator of Mathcad, Allen Razdow, had in mind. Of course using is as a scratchpad, a litte more work and discipline may be necessary to get everything lined up perfectly. Alignment tools, rulers, tabulators and tabulator guidelines help you doing so and I guess at the end you profit by a better workflow.

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