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
SUMMARY

The discussion revolves around plotting the mathematical expression 4sin(2x)sin(x) + 2 - 2cos(4x) + 1/2 - 1/2cos(2x) using Excel. The user reformulated the expression to facilitate plotting, specifically utilizing the identity sin²(x) = 1/2 - 1/2cos(2x). Participants confirmed the reformulation's correctness and suggested directly inputting the original formula into Excel for plotting. The conversation highlights the importance of understanding Excel's syntax for trigonometric functions.

PREREQUISITES
  • Understanding of trigonometric identities, specifically sin²(x) = 1/2 - 1/2cos(2x)
  • Familiarity with Excel's formula syntax for trigonometric functions
  • Basic knowledge of plotting functions in Excel
  • Ability to manipulate mathematical expressions for computational purposes
NEXT STEPS
  • Learn how to input trigonometric functions in Excel, including sin and cos
  • Research the use of Excel for plotting complex mathematical functions
  • Explore advanced Excel features for graphing, such as dynamic charts
  • Study trigonometric identities and their applications in mathematical transformations
USEFUL FOR

Mathematicians, educators, students, and anyone interested in visualizing trigonometric functions using 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
 

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