How to create Java GUI program for complex mathematical equations

你说的曾经没有我的故事 提交于 2019-12-22 11:29:24

问题


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:


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



来源:https://stackoverflow.com/questions/28065393/how-to-create-java-gui-program-for-complex-mathematical-equations

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!