如何为复杂的数学方程创建Java GUI程序 [英] How to create Java GUI program for complex mathematical equations
问题描述
用户给出了一些复杂的方程和也显示了这些图表的样子。
但是我们怎样才能为这个等式编写一个Java程序来生成图形GUI作为输出呢?
有人可以请我指点一些文档或链接,以便我能够理解如何在Java中实现这一点?
我有类似的问题,通过这些链接了解如何在Java中创建GUI:
$ b$ b < 方程5((θ/β)--cos(2πθ/β))的Java Swing GUI
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.
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
这篇关于如何为复杂的数学方程创建Java GUI程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!