Turn on suggestions

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

Showing results for

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

Showing results for

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

Dec 30, 2021
02:30 PM

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

Dec 30, 2021
02:30 PM

UNITS NOT COMPATIBLE WHILE GRAPHING

HI

CSV DATA FILE and MATHCAD PRIME ATTACHED - ERROR ON PAGE 6. I need to put km "somewhere". Plotting skills limited!.

Thanks for the help.

Solved! Go to Solution.

1 ACCEPTED SOLUTION

Accepted Solutions

Dec 30, 2021
05:18 PM

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

Dec 30, 2021
05:18 PM

@ppal wrote:

HI

CSV DATA FILE and MATHCAD PRIME ATTACHED - ERROR ON PAGE 6. I need to put km "somewhere". Plotting skills limited!.

Thanks for the help.

dnorm doesn't like units (*as Luc also surmised ... I hadn't seen Luc's message before starting to reply*) and neither do the limit markers in the plot (?? ... seems odd).

I defined a function *numeric *to get rid of the units, leaving the numeric value in Mathcad's base units. I also defined a version of *dnorm (with label Variable) *that removes units (the built-in one is still available if you use the Function label). Use *numeric *in the limit markers as well.

Mathcad Prime 7 worksheet attached.

Stuart

2 REPLIES 2

Dec 30, 2021
04:55 PM

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

Dec 30, 2021
04:55 PM

Prime sure doesn't like the start and end labels of your x-axis (mu-3*sigma and mu+3*sigma), because they contain units.

Then I wonder if dnorm() allows its parameter values to have units. Can't check because dnorm() is a Premium function, so not supported in Prime Express.

You wonder where to put the km ? Maybe you should divide mu and sigma by it.

Experiment and find out.

Success!

Luc

Dec 30, 2021
05:18 PM

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

Dec 30, 2021
05:18 PM

@ppal wrote:

HI

CSV DATA FILE and MATHCAD PRIME ATTACHED - ERROR ON PAGE 6. I need to put km "somewhere". Plotting skills limited!.

Thanks for the help.

dnorm doesn't like units (*as Luc also surmised ... I hadn't seen Luc's message before starting to reply*) and neither do the limit markers in the plot (?? ... seems odd).

I defined a function *numeric *to get rid of the units, leaving the numeric value in Mathcad's base units. I also defined a version of *dnorm (with label Variable) *that removes units (the built-in one is still available if you use the Function label). Use *numeric *in the limit markers as well.

Mathcad Prime 7 worksheet attached.

Stuart