Got Questions? Get Answers.
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Cos^2(x)

Subject: Cos^2(x)

From: barbara Pintus

Date: 2 Apr, 2008 12:15:04

Message: 1 of 2

Hello to everibody!
How I can solve cos^2(x) in matlab?

Thank you!

Subject: Cos^2(x)

From: marky

Date: 2 Apr, 2008 12:25:50

Message: 2 of 2

barbara Pintus wrote:
> Hello to everibody!
> How I can solve cos^2(x) in matlab?

At first I was going to reply just: "There's nothing to solve for there".

But if you want to evaluate cos^2(x) for given 'x' you do as follows:
x = 1
y=(cos(x)).^2

If you want to find the roots of cos^2(x)=0 or solve cos^2(x)=y for x
then plain pen and paper will do.

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us