Thread Subject:
How calculate cos^n(x)

Subject: How calculate cos^n(x)

From: Maciej

Date: 12 May, 2012 01:26:44

Message: 1 of 2

As in subject. There is any simple method to calculate for example cos^n(x) for given n-th power and x ?. Additionaly please notice that cos^n(x) is not the same as cos(x)^2.

I am looking forward to hearing from you. I'd be really appreciate that

Subject: How calculate cos^n(x)

From: John D'Errico

Date: 12 May, 2012 01:46:00

Message: 2 of 2

"Maciej " <muminek9207@wp.pl> wrote in message <joke8k$bum$1@newscl01ah.mathworks.com>...
> As in subject. There is any simple method to calculate for example cos^n(x) for given n-th power and x ?. Additionaly please notice that cos^n(x) is not the same as cos(x)^2.

Oh, how wrong you are.

cos(x^2) is not the same as cos^n(x). However,
cos(x)^n IS exactly what you ask for.

Perhaps you should try it. It is easy enough to verify.

cos^4(pi/4) should be (1/sqrt(2))^4 = 1/4.

So as a test...

cos(pi/4)^4
ans =
         0.25

What a surprise.

John

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

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.

rssFeed for this Thread

Contact us