+ 3
How do I code a sine wave program in JAVA
2 Respostas
+ 1
Well I wrote a code for drawing a graph for the sine wave, but in C...
I didn't used any predefined graphics files, just simple code.
Maybe the logic could help.
https://code.sololearn.com/cfr86tQ7E3L3/?ref=app
0
Math.sin(double radians)
and you need GUI:
https://www.codejava.net/java-se/graphics/drawing-lines-examples-with-graphics2d