2

I am going through Java AWT & Swings and came to know on how to create the basic GUI elements and I was able to work on some programs with it. But when I am trying to understand how to create Graphs for some complex mathematical equations then I was not able to find some documentation or any examples.

For example, in this post - How to solve the trigonometric equation cos(πθ/β)−cos(2πθ/β)=0?

the user has given some complex equation and also shown how the graphs looks like.

But how can we write a Java program for this equation that generates the graph GUI as output?

Can someone please point me to some documentation or links so that I can understand how to achieve this in Java?

Thanks in advance.

Community
  • 1
  • 1
learner
  • 6,062
  • 14
  • 79
  • 139

1 Answers1

1

I had similar question on this, go through these links to understand how to create the GUI in Java:

Java Swing GUI for equation 5((θ/β) - cos(2πθ/β))

Java Swing GUI for equation 5((θ/β) - cos(2πθ/β)) - to draw continuous graph

Community
  • 1
  • 1
Chaitanya
  • 15,403
  • 35
  • 96
  • 137