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
- :
- Re: Use of user defined functions in double defini...

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

06-11-2013
11:51 AM

06-11-2013
11:51 AM

I am trying to create a general function (function to determine centroid of a curve) that I can then use throughout my calculation sheet. I therefore need to pass a function for a curve into my general function, which will be used in a limit of integration placeholder.

I have attached an example. I am able to place my function directly into the integral placeholder to act as an integration limit, but I cannot pass the function into the placeholder via my general function. Is it possible to do this in MathCAD?

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

06-11-2013
12:07 PM

06-11-2013
12:07 PM

Hi,

You need to pass a reference to the function without parameters, & add the appropriate parameters in the definition of the integral

Regards

Andy

2 REPLIES 2

Highlighted

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

06-11-2013
12:07 PM

06-11-2013
12:07 PM

Hi,

You need to pass a reference to the function without parameters, & add the appropriate parameters in the definition of the integral

Regards

Andy

Highlighted
##

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

06-11-2013
12:14 PM

06-11-2013
12:14 PM

Re: Use of user defined functions in double definite integrals as limits of integration

Thank you Andy, very helpful.