public class qwe{ public static void main(String[] args){ double s=0; int n=100; for(int i=1;i<=n;i++) s+=1/((double)i*i); System.out.println(s); System.out.println(Math.PI*Math.PI/6); } }
public class text { public static void main(String[] args) { double s=0; int n=100; for(int i=1;i<=n;i++) s+=1/((double)i*i); System.out.println(s); System.out.println(Math.PI*Math.PI/6); } }
public class hello{ public static void main(String[] args){ double s=0; int n=100; for(int i=1;i<=n;i++) s+=1/((double)i*i); System.out.println(s); System.out.println(Math.PI*Math.PI/6); } }
9 則留言:
public class qwe{
public static void main(String[] args){
double s=0;
int n=100;
for(int i=1;i<=n;i++)
s+=1/((double)i*i);
System.out.println(s);
System.out.println(Math.PI*Math.PI/6);
}
}
public class a606 {
public static void main(String[] args) {
double s=0;double n=100;
for (int i=1;i<=n;i++)
{
s+=1/((double)i*i);
}
System.out.println(s);
}
}
public class text {
public static void main(String[] args) {
double s=0;
int n=100;
for(int i=1;i<=n;i++)
s+=1/((double)i*i);
System.out.println(s);
System.out.println(Math.PI*Math.PI/6);
}
}
public class gg {
public static void main(String[] args) {
double n=100,s=0;int i,j;
for(i=1;i<=n;i++)
{
s+=1/((double)i*i);
}
System.out.println(s);
}
}
public class ee {
public static void main(String[] args) {
double n=100,s=0;int i,j;
for(i=1;i<=n;i++)
{
s+=1/((double)i*i);
}
System.out.println(s);
}
}
public class gg {
public static void main(String[] args) {
double n=100,s=0;int i,j;
for(i=1;i<=n;i++)
{
s+=1/((double)i*i);
}
System.out.println(s);
}
}
public class hello{
public static void main(String[] args){
double s=0;
int n=100;
for(int i=1;i<=n;i++)
s+=1/((double)i*i);
System.out.println(s);
System.out.println(Math.PI*Math.PI/6);
}
}
public class XD {
publiv static void main(String[] args) {
int n=1000000000;
for(int i=1;i<n;i++)
s+=1/((double)i*i);
System.out.println(s);
System.out.println(Math.PI*Math.PI/6);
}
}
public class hii {
public static void main(String[] args) {
double s=0;double n=100;
for (int i=1;i<=n;i++)
{
s+=1/((double)i*i);
}
System.out.println(s);
}
}
張貼留言