Skip to main content
1-Visitor
February 12, 2019
Solved

Simple? numeric + symbolic calculations

  • February 12, 2019
  • 1 reply
  • 4058 views

Hi! I'm new to mathcad and trying to calculate some very simple equations containing symbolics and numerical elements. I know which answer to get, but simply can't make mathcad return the wanted result.

 

1/2 * cos(v) * p * L + 1/2 * sin(v) * p* L

 

I look for the result looking like: 0.67 * p * L

 

I tried searching for solutions for this but can't really find an answer, but it seems so simple that I can't possibly think that what I look for isn't possible?

 

Any chance there's an easy workaround?

Best answer by LucMeekes
Mathcad has a numeric and a symbolic processor that work sort of independently from each other. The numeric processor is involved when you type = after an expression. It requires all variables to be numerically defined. It knows about units and conversion between them.
The symbolic processor is called with the right-arrow operator. It accepts undefined variables and always tries to produce an exact answer. Note that 1/2 is an exact ratio. In contrast 0.5 is a number with finite precision. The symbolic processor does not know units. It treats them as undefined variables.

Success!
Luc

1 reply

ttokoro
21-Topaz I
February 13, 2019

Solved.

t.t.
MC_BT_181-VisitorAuthor
1-Visitor
February 13, 2019

Thanks, although it's not quite there yet. I know this is a more exact solution, but was hoping for a numerical value before p * L. I guess this is as close as I can get?

ttokoro
21-Topaz I
February 13, 2019

PDF attached.

t.t.