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
- :
- PTC mathcad function

Options

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

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

Showing results for

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

02-20-2019
12:18 PM

02-20-2019
12:18 PM

PTC mathcad function

Hi

I defined a function but right below it says its not defined.

Please let me know the issue?

Very bottom of the document

Thanks

Prashanth Rajendran

Labels:

8 REPLIES 8

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

02-20-2019
01:10 PM

02-20-2019
01:10 PM

Re: PTC mathcad function

You mean this:

Well, neither t_sub_a nor t_sub_b are defined above or to the left of the definition of this function.

Where did you (think you) defined them?

Success!

Luc

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

02-20-2019
01:10 PM

02-20-2019
01:10 PM

Re: PTC mathcad function

You try to symbolically evaluate a function that is traceable to a function that includes a branch (Phi and F).

You can't symbolically evaluate/display a function which includes a branch (if-function or if-statement).

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

02-20-2019
01:36 PM

02-20-2019
01:36 PM

Re: PTC mathcad function

no i mean this one

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

02-20-2019
01:52 PM

02-20-2019
01:52 PM

Re: PTC mathcad function

No I mean this one.

The post got deleted so I'll post it again

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

02-20-2019
01:53 PM

02-20-2019
01:53 PM

Re: PTC mathcad function

some reason the post keeps getting deleted.

sorry

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

02-20-2019
02:30 PM

02-20-2019
02:30 PM

Re: PTC mathcad function

The problem is exactly as I explained it above!

A is a numerical value derived by an integral of a function which is defined with an if-command. Prime can't evaluate this symbolically because it would first try to simplify the definition which is not possible to do with an "if" if you don't know the value of the argument.

Also C is defined as a function above but you use it as a variable in your function. This would throw the next error.

One way to cope with that is to clear A and C for symbolical use if its that what you want to see:

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

05-05-2019
07:42 PM

05-05-2019
07:42 PM

MATHCAD SUMMATION

Hi I'm trying to evaluate the integral either simpsons rule or exact integral but mathcad gave me error.

I need assistance prefarably the exact (lowercase signma 1) one but if not, then the simpsons approximation (uppercase sigma).

Thanks

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

05-05-2019
08:41 PM

05-05-2019
08:41 PM

Re: MATHCAD SUMMATION

I am not sure what you are trying to do and which integral you are talking about.

But I don't see any errors in your sheet.

The first integral (from 0 to 0) seems rather useless

EDIT: The thread should continue here -> https://community.ptc.com/t5/PTC-Mathcad/Mathcad-Summation/m-p/608579/highlight/true#M185746

Top Tags