Skip to main content
1-Visitor
July 3, 2015
Question

Displaying numerical value of symbolic variables

  • July 3, 2015
  • 2 replies
  • 2001 views

Hello fellow MathCad users,

Is it possible to display the numerical value of variables in a line of calculations. For example if I was to calculate the strength of a beam. I want the calculations to look like the following:

Depth of beam:                D = 300mm

Bredth of beam:               B = 125mm

Section modulus:             Z = 1/6 * B * D^2 = 1/6 * 125mm * 300mm^2 = 1.875 x 10 ^6 mm3

Bending strength:             fb = 38 MPa

Strength reduction:          phi=  0.8

Loading duration factor:    k = 0.8 


Bending strength:            Mn = phi*k*fb*Z = 0.8*0.8*38MPa*1.875 x 10 ^6 mm3 = 57 kNm


FYI I have MathCad 15 and MathCad Prime 3.0.


I appreciate any feedback.

Liam

2 replies

23-Emerald V
July 6, 2015

Liam Strange wrote:

Hello fellow MathCad users,

Is it possible to display the numerical value of variables in a line of calculations. For example if I was to calculate the strength of a beam. I want the calculations to look like the following:

Depth of beam:                D = 300mm

Bredth of beam:               B = 125mm

Section modulus:             Z = 1/6 * B * D^2 = 1/6 * 125mm * 300mm^2 = 1.875 x 10 ^6 mm3

Bending strength:             fb = 38 MPa

Strength reduction:          phi=  0.8

Loading duration factor:    k = 0.8


Bending strength:            Mn = phi*k*fb*Z = 0.8*0.8*38MPa*1.875 x 10 ^6 mm3 = 57 kNm


FYI I have MathCad 15 and MathCad Prime 3.0.


I appreciate any feedback.

Liam

Kind of.  Almost.  Use the symbolic keyword "explicit" ... I've checked and although it's x-rated it will show numbers even if they're under 18.

Remember that the symbolic processor is not unit-aware, which is why some of the results look a bit strange.  In fact, I'm intrigued as to how it equated cubic metres to litres ...

Stuart

lstrange1-VisitorAuthor
1-Visitor
July 13, 2015

Hey Stuart,

Thank you for your reply! It was much appreciated. This is exactly what I wanted. Although this feature is not intuitively obvious.