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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

This value must be a scalar?

ptc-4808945
1-Visitor

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
StuartBruff
23-Emerald III
(To:ptc-4808945)

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

Announcements

Top Tags