Skip to main content
1-Visitor
April 30, 2018
Question

How do you put the calculations at the back in an Appendix, and still have MC function as usual.

  • April 30, 2018
  • 2 replies
  • 7900 views

Hello,

I have some detailed 2 or 3 page calculations that yield a final stress number. I want to put these detailed calculations at the back of the .mcdx in an Appendix on page 5 or page 6. I would like to keep the end result i.e. the stress on page 1  sort of like this..

S=10ksi    (for details please refer to Appendix A on pages 6 thru 😎

 

I would like S=10ksi value to change if I change something in the Appendix on pages 6 thru 8. Sort of reverse of what happens in a regular .mcdx file where the calculations are before the final value.

 

Is this possible? Any ideas?

2 replies

jdesai-21-VisitorAuthor
1-Visitor
April 30, 2018

Hmmmm! Everybody stumped??

23-Emerald IV
April 30, 2018

One option would be to make the variable S a global variable. But that is a PITA because it ripples down to all variables needed to calculate S: they must be global as well (Don't know if Prime supports globals at all.).

The other option is to put your appendix in a separate file, that you reference at the beginning of your (main) worksheet, or at least before you need to display S's value. In that way no globals are required.

 

Success!
Luc

jdesai-21-VisitorAuthor
1-Visitor
April 30, 2018

Thanks Luc,

What is a PITA? Could you please give me a small example of a global variable.

 

I like the idea of a separate file, but how would I reference it? Another small example would be very helpful

23-Emerald I
April 30, 2018

A global variable (available as an operator in Prime) is a three-line equals sign.  When you define it, it becomes available for calculation anywhere in the sheet, no matter where on the sheet you define it.  I like Luc's other suggestion better.

Capture.PNG