Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Hi, been using mathcad for my uni work, got a new assignment to do and just trying to enter a really simple equation and I can't see why its not working.
I'm typing f(x):=9x(4-3x)
But its complaining that this value must be a function but has the form: Unitless. I've done this before on other assignments but can't see why its not working.
The equation I really want to do is a little more complex but not much. Whats weird is I can enter f(x):=9x(4-3) and it doesn't complain. As soon as i enter an x inside the bracket it doesn't like it. The full equation is in the form f(x):= (5x(2+3x)(10-2x))/4(5+x)^7
I just want to plot this and realise i'll need some variable for x but it I can't even define the function.
Am I missing something really simple here.
Any help would be greatly appreciated.
Regards
Will
William,
Maybe some typing error. It seems to work fine in MC 15 M010
Filip
If you want multiplication you should explicitly type it. Yes, Mathcad will insert implied multiplication, but only when there is no other possible meaning. If I type 9x(4-3x) What I get is 9*x(4-3*x), NOT 9*x*(4-3*x). So you have x as both a function (an undefined one): x(), and as a variable. Hence the error message.
It's never a silly question if you don't know the answer.
Mike