How to create Java GUI program for complex mathema

2019-05-21 18:36发布

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.

1条回答
\"骚年 ilove
2楼-- · 2019-05-21 19:22

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

查看更多
登录 后发表回答