[求助]急急
import java.lang.*; import java.math.*;
public class example { public static void main(String args[]) {double x=0;double sum=0; double y; int i; for(i=1;i<=1000;i++) { x =(i/1000)*(i/1000); y =Math.sin((double)(x*x)); continue; sum= sum+y*x; } System.out.println("y=sin(x2)"+sum); } }