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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

This value must be a scalar?

ptc-4808945
1-Newbie

This value must be a scalar?

f(x):=sin(x)cos^2(x)

cos is red and error reads "This value must be a scalar"

This is my first time working in MathCAD, please help!

2 REPLIES 2

James Calhoun wrote:

f(x):=sin(x)cos^2(x)

cos is red and error reads "This value must be a scalar"

This is my first time working in MathCAD, please help!

I'm guessing you've typed: s i n ( x ) * c o s ^ 2 ( x )?

Unfortunately, Mathcad's mathematical notation doesn't extend to cos2(x); you have to type: c o s ( x ) ^ 2

which results in cos(x)2

Message was edited by: Stuart Bruff Where have my carefully added superscripts gone? ... which seem to have returned when I edit the message ...

You mean this?

Pic_1.png

Top Tags