Quantcast
Channel: PTC Community : Discussion List - PTC Mathcad
Viewing all articles
Browse latest Browse all 2936

User function with variable number of arguments

$
0
0

There is a lot of built-in function with different number of arguments - Find, root, log, stack, min, max etc

I am searching one way to create a user function with different number of arguments.

For this problem for example.

I would like to convert molarity of solution into molality. I need for this a user function with name Molality with 2 arguments - temperature and molarity.

I would like to convert mass ratio of solution into molality. I need for this a user function with name Molality with one argument - molarity. See the picture:

NaCl.png


Viewing all articles
Browse latest Browse all 2936

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>