cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

programming a function whose result is a function

ptc-4507537
1-Newbie

programming a function whose result is a function

Hi...

Can someone tell my why I can't programm a function whose result is a function? Or show me a solution?

I have attach a file with the problem.

Thank you...

1 ACCEPTED SOLUTION

Accepted Solutions

Thank you for your help. the solution of Alan ist good.

Regards

Oliver

View solution in original post

10 REPLIES 10
MikeArmstrong
5-Regular Member
(To:ptc-4507537)

No file attached.

Mike

It looks to me like you're trying to do symbolic math. While mathcad has a symbolic processor it's weak and buggy compared to some others.

That said, you can do what you want, just not in a program.

Something like the attached?

Next time please include a Mathcad file, not only a screenshot.

WE

MikeArmstrong
5-Regular Member
(To:Werner_E)

I believe he was meant to attached the worksheet, not just a screenshot.

Mike

Please attach your Mathcad worksheet to the message.

Thank you for your suggestions

I must constantly transform a polygon (s-Domain) in a normal form. For this I need a symbolic function that I can call always.
I think that Mathcad can' t access a vector in a defined function.

I attach my Mathcad worksheet to my message

Does the attached help any?

Alan

Edited: Slightly improved file.

I can get some of the way to understanding what MathCad is doing, but there are a number of issues that don't make sense.

1. Changing N & D to N(x) & D(x) in the std definition stops it working,

2. Calculating Z.3(0) fails but creating a function y with the substitution works ??

I must be missing something obvious...

Hopefully the attached helps but I would appreciate knowing the final outcome (if it works)

Regards

Andy

Here's a vectorised version.

Alan

Thank you for your help. the solution of Alan ist good.

Regards

Oliver

Top Tags