Question: How do I create multivariable functions?

Hello,

I am just now learning how to use Maple and I am having trouble turning Ohm's Law into a function.

Here is what happens when I try to turn Ohm's Law into a function.

 

Vrms:=(R,I)->R*I

       Error, invalid operator paramet name (and then it puts a dotted red line box around everything to the right of the equal sign)

 

What really irritates me is that I can type

h:=(a,b)->a*b

and it works just fine. What is going on here?

 

Thanks,

David

Please Wait...