herrDeng網內搜尋
自訂搜尋
Ads
2010年10月7日 星期四
2010年9月22日 星期三
2010年9月9日 星期四
2010年6月17日 星期四
報告題目
EXAM
Ex1,共有58名學生成績統計如下:
49.8333333333333
73.3333333333333
81.5
61.3333333333333
20.8333333333333
86.5
70.8333333333333
19.1666666666667
83.8333333333333
55.6666666666667
51.5
82.5
80.6666666666667
86.5
78.1666666666667
68.1666666666667
59
65.6666666666667
68.5
74
34.8333333333333
68.1666666666667
52.5
60.6666666666667
65
77.6666666666667
62.3333333333333
7.66666666666667
90.6666666666667
36.6666666666667
0.83333333333333
76.6666666666667
80.6666666666667
46.8333333333333
66.3333333333333
72.3333333333333
31.6666666666667
95.6666666666667
87.3333333333333
84.8333333333333
41.5
90
69.8333333333333
78.1666666666667
70.6666666666667
68.3333333333333
48.1666666666667
83.1666666666667
45.6666666666667
73.3333333333333
47.3333333333333
46.6666666666667
30.6666666666667
19.1666666666667
98.1666666666667
49
35.1666666666667
44.1666666666667
請利用統計課所教的方法分析這筆資料,計算母體的期望值、標準差、中位數....
描繪直方圖....
是否分佈近似常態分佈?利用Pearson公式計算偏態係數。
請問你的成績是否大於平均值?請建立假說H0, H1,並請檢定。
Ex2. 請完成課本作業Ex12, Ex37, Ex40, Ex41
Ex1,共有58名學生成績統計如下:
49.8333333333333
73.3333333333333
81.5
61.3333333333333
20.8333333333333
86.5
70.8333333333333
19.1666666666667
83.8333333333333
55.6666666666667
51.5
82.5
80.6666666666667
86.5
78.1666666666667
68.1666666666667
59
65.6666666666667
68.5
74
34.8333333333333
68.1666666666667
52.5
60.6666666666667
65
77.6666666666667
62.3333333333333
7.66666666666667
90.6666666666667
36.6666666666667
0.83333333333333
76.6666666666667
80.6666666666667
46.8333333333333
66.3333333333333
72.3333333333333
31.6666666666667
95.6666666666667
87.3333333333333
84.8333333333333
41.5
90
69.8333333333333
78.1666666666667
70.6666666666667
68.3333333333333
48.1666666666667
83.1666666666667
45.6666666666667
73.3333333333333
47.3333333333333
46.6666666666667
30.6666666666667
19.1666666666667
98.1666666666667
49
35.1666666666667
44.1666666666667
請利用統計課所教的方法分析這筆資料,計算母體的期望值、標準差、中位數....
描繪直方圖....
是否分佈近似常態分佈?利用Pearson公式計算偏態係數。
請問你的成績是否大於平均值?請建立假說H0, H1,並請檢定。
Ex2. 請完成課本作業Ex12, Ex37, Ex40, Ex41
2010年6月1日 星期二
struct練習1
定義struct student內有成員:
id (int)
name
int a[10] (10 x小考成績)
請輸出表單含
id (int)
name
int a[10] (10 x小考成績)
及小考平均
id (int)
name
int a[10] (10 x小考成績)
請輸出表單含
id (int)
name
int a[10] (10 x小考成績)
及小考平均
2010年5月25日 星期二
2010年5月18日 星期二
2010年5月13日 星期四
Java計算平方與化為二進位
import javax.swing.*;
class compute
{
long square(long x)
{
return x*x;
}
boolean[] binary(long x)
{
int bitN=(int)Math.ceil(Math.log(x+1)/Math.log(2));
boolean [] b=new boolean[bitN];
int i=bitN-1;
do
{
b[i--]=((x&1)==1)?true:false;
x=x>>1;
} while (x!=0);
for (i=0;i<bitN; i++)
System.out.print(b[i]?1:0);
System.out.println();
return b;
}
}
public class power
{
public static void main(String[] argv) throws Exception
{
compute math=new compute();
long x=new Long(JOptionPane.
showInputDialog("x=")).longValue();
boolean[] b=math.binary(x);
long y=math.square(x);
JOptionPane.showMessageDialog(null, x+"*"+x+"="+Long.toString(y));
}
}
class compute
{
long square(long x)
{
return x*x;
}
boolean[] binary(long x)
{
int bitN=(int)Math.ceil(Math.log(x+1)/Math.log(2));
boolean [] b=new boolean[bitN];
int i=bitN-1;
do
{
b[i--]=((x&1)==1)?true:false;
x=x>>1;
} while (x!=0);
for (i=0;i<bitN; i++)
System.out.print(b[i]?1:0);
System.out.println();
return b;
}
}
public class power
{
public static void main(String[] argv) throws Exception
{
compute math=new compute();
long x=new Long(JOptionPane.
showInputDialog("x=")).longValue();
boolean[] b=math.binary(x);
long y=math.square(x);
JOptionPane.showMessageDialog(null, x+"*"+x+"="+Long.toString(y));
}
}
訂閱:
文章 (Atom)
熱門文章
-
明文=I'm student key=(2,15,8) 密文=?
-
請用C/C++ 程式計算 S=1*1+2*2+3*3+4*4+.....+20*20=?
-
C字串練習 字串 char word[]="You win!"; 輸出為: You win! You win You wi You w You You Yo Y 給進階使用者: gets () 是個危險的函式!
-
array ex 1, 2,3,7,8
-
請問如何用C/C++程式產生下列輸出? 1111111 2222222 3333333 4444444 5555555 6666666 7777777
-
統計第一作業 2, 3, 8, 9
-
列印課表數字代碼矩陣,以及代碼的課名 提示: 參考此連結
