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

Function of function with units

SOLVED
Highlighted
Contributor

Function of function with units

Dear members of the mathcad community,

 

I want to define a function within a function by considering the units of measurement.

The function looks like g(f(x))= f(x)*a where "a" is a parameter.

I know that there are other posts on the topic but unfortunately I could not solve the problem.

Attached you find an example of my calculation.

I would really appreciate your advice.

Thank-you very much.

 

Best regards.

 

Enrico

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Function of function with units

Hi Enrico

 

Here is your file all now working.

 

Cheers

Terry

View solution in original post

6 REPLIES 6

Re: Function of function with units

 Maybe you forgot to attach your file?

 

Luc

Re: Function of function with units

Dear Luc,

Thank-you for pointing that out. There was a problem by the upload.

Now you find the attachment.

Best Regards

Re: Function of function with units

Can't see your file, as I don't have Mathcad 15. Maybe you could save as Mathcad 11 (.mcd)...

But this may be of help.

 

Success!

Luc

Re: Function of function with units

Hi Enrico

 

Here is your file all now working.

 

Cheers

Terry

View solution in original post

Re: Function of function with units

Put the pressure function as the argument of the force:

 

F(p(a))

Wrinkle

Hi,

 

There is also a small issue you should be aware of called "Vectorize".

This is applying a function to a column vector in an element by element fashion.

Look it up in help.

 

It does not apply to the equations in your sheet, but you should be made aware with different definitions it may be necessary.

 

Regards

Terry

Announcements