Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.lang.Math;
- public class MyClass {
- public static void main(String args[]) {
- for(double x=0; x<=2*(Math.PI); x+=(Math.PI/10)){
- double y = (Math.sin(x)/x);
- System.out.println(y);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment