English, asked by wanizuhaib26, 10 months ago

Cos(Power 4) -Sin(Power 4) equal...In terms of Cos only..?Explain..?​

Answers

Answered by pankaj2977
0

I have a matrix x having elements from -1 to 1 with increment of 0.5 I want to find the power of each element to the power 2.5

My Code:

x=[-1:0.5:1]

y=cos(x.^(2.5))

Command Window Display y =

0.0000 + 1.0000i 0.0000 + 0.1768i 0.0000 + 0.0000i 0.1768 + 0.0000i 1.0000 + 0.0000i

I'm getting complex values for some reason


wanizuhaib26: High level language.....Out of reach and mind too
Answered by adityaaryaas
4

Answer:

Zuhaib,

Please find the attached image.

Explanation:

Ask me if the solution is not clear.

Attachments:

adityaaryaas: Do you understood ?
Similar questions