Plotting 4sin2xsinx +2 -2cos(4x) + 1/2 - 1/2cos(2x)

  • Thread starter Thread starter andrey21
  • Start date Start date
  • Tags Tags
    Plotting
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
andrey21
Messages
475
Reaction score
0
I have found a magnitude to be the following:

4sin^(2) 2x + 4sin2xsinx + sin^(2)x


I now need to plot this using excel so I have rewritten it as:

4sin2xsinx + 2 -2cos(4x) + 1/2 - 1/2cos(2x)

4sin2xsinx +5/2 - 2cos(4x) -1/2cos(2x)

Using the fact:

sin^(2)x = 1/2 - 1/2cos(2x)

Is this correct?
 
Physics news on Phys.org
I was just a little unsure how to enter sin^2... in Excel. But aslong as other way looks fine i don't mind using that formula. Thanks Vela