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

  • Thread starter Thread starter andrey21
  • Start date Start date
  • Tags Tags
    Plotting
Click For Summary
The discussion focuses on rewriting the expression 4sin^2(2x) + 4sin(2x)sin(x) + sin^2(x) for plotting in Excel. The rewritten formula is 4sin(2x)sin(x) + 5/2 - 2cos(4x) - 1/2cos(2x). A participant expresses uncertainty about how to input sin^2 in Excel, while another suggests that directly using the original formula might be simpler for plotting. The conversation highlights the importance of clarity in mathematical representation for software applications. Ultimately, the participants are seeking the most effective way to visualize the function in Excel.
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
What you did looks fine, but how does it help? Why not just plug the original formula into Excel to plot it?
 
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
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K