Get Help

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Community
- :
- PTC Mathcad
- :
- PTC Mathcad
- :
- Simple? numeric + symbolic calculations

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

02-12-2019
06:04 PM

02-12-2019
06:04 PM

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?

Solved! Go to Solution.

Labels:

1 ACCEPTED SOLUTION

Accepted Solutions

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

02-13-2019
03:18 AM

02-13-2019
03:18 AM

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

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

6 REPLIES 6

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

02-12-2019
07:22 PM

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

02-12-2019
11:39 PM

02-12-2019
11:39 PM

Re: Simple? numeric + symbolic calculations

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?

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

02-13-2019
01:45 AM

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

02-13-2019
01:52 AM

02-13-2019
01:52 AM

Re: Simple? numeric + symbolic calculations

See what happens if you change at least one of the 1/2 to 0.5...

Success!

Luc

Success!

Luc

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

02-13-2019
03:21 AM

02-13-2019
03:21 AM

Re: Simple? numeric + symbolic calculations

Thankyou!!

I feel so stupid now, that I didn't try that myself. I knew it had to be a simple thing to do, I just couldn't get my head around it..

I'll remember this "trick" for next time!

Highlighted
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

02-13-2019
03:18 AM

02-13-2019
03:18 AM

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