2017年11月8日 星期三

二次函數圖形

利用geogebra
畫出二次函數圖形


  • 一般式 f(x)=ax^2+bx+c
  • 頂點式 f(x)=a(x-h)^2+k


  1.   頂點V(h,k)
  2.   對稱軸 x=h
  3.   極值  a>0, x=h, ymin=k

                     a<0, x=h, ymax=k


                                            配方法
    一般式f(x)=ax^2+bx+c  =====> 頂點式 f(x)=a(x-h)^2+k

(1)開口方向
  (i) a>0  ==>開口向上 ==>最低點 ==>ymin
  (ii) a<0 ==>開口向下 ==>最高點 ==>ymax

(2)判斷根的性質
根的判別式D=b^2-4ac
 (i)   D>0 兩相異實根
 (ii)  D=0 兩相等實根
 (iii) D<0 共軛虛根


繪圖
1.(x+1)(x-1)    兩相異實根 x=1,-1
2.(x-1)^2         兩相等實根 x=1,1
3.x^2+1          共軛虛根, x = i, -i 

4. -(x+1)(x-1)
5. -(x-1)^2
6. -x^2-1

(3) 平移
原函數   y=a(x-h)^2+k

(i)   上移 1 單位 y=k --> y=k+1
(ii)  下移 1 單位 y=k -->y=k-1
(iii) 左移 1 單位  (x-h)-->(x-h+1)
(iiii)右移 1 單位  (x-h)--->(x-h-1)

原函數  y=(x-2)^2-4

求平移後之函數,並繪圖
(1)上移 3 單位  y=(x-2)^2-4+3==> y=(x-2)^2-1
(2)下移 4 單位  y=(x-2)^2-4-4==> y=(x-2)^2-8
(3)左移 1 單位  y=(x-2+1)^2-4==> y=(x-1)^2-4
(4) 右移 2 單位  y=(x-2-2)^2-4==> y=(x-4)^2-4




2017年10月31日 星期二

繳交資訊概論作業

繳交資訊概論作業

  1. 1061101 123D Design 繪製 鑽石
  2. https://drive.google.com/drive/folders/0BwfiunrXhpOkb2h2Nngxa1RUbVE?usp=sharing
  3. email:algobear@gmail.com
  4. 存檔檔名:須為英文, ex.日期-2誠1號-內容, 1061025-2loyal-diamond

2017年10月22日 星期日

123D Design hot key

  • 房子圖形:回到home
  • click Home -> orthogonal/perspective
  • right bottom: rotation
  • roller按住: shift move
  • roller: roller for zoom
  • left bottom:
  • u: 往上/下長
  • p: be similar to "u"
  • d: move to the zero-plane
  • transformer
    • 移動move:ctrl+t
    • 對齊align: a
    • 放大縮小scale: s
    • smart scale: ctrl+b
    • 尺規Rule: r
    • 測量Measure:shift+m
    • 文字Text:t
  • pattern
    • circular rectangular(n)
    • circular path (alt n)
    • circular pattern (shift n)
    • mirror (alt m)
  • modify
    • Press Pull(p)
    • Tweak(k)
    • fillet:round edges (e)
    • chamfer (c)
  • snap: :
  • merge: [
  • substract: ]
  • 存檔檔名:須為英文, ex.日期-2誠1號-內容, 1061025-2loyal01-diamond

2017年10月12日 星期四

好用的軟體

好用的軟體

繪圖:
GIMP, Inkscap,

照片處理
Xnview, CADsee, photocap

3D:
123D Desig, thinkcad,

物理:
soundcard scope, Labview , Tracker

數學:
octave, R, maxima, gunplot, Geogebra, matlab, mathmatica, maple

程式語言:
python, perl, octave, R

文書編輯
gvim, notepad++,emacs,

心智圖
XMind, freemind,mindmeister

排版(Latex)
miktex, cwtex, tex

邱文盛 研習分享
 https://drive.google.com/drive/folders/0Bz3Q7bAT36nKZ3NHVnhxWEd2bUk





2017年9月20日 星期三

二分法求根號近似值(octave)

%bisect.m
rt=10.;
fprintf('solve sqrt(%d)=?\n',rt); %solve sqrt(10)
a=round(sqrt(rt))
b=a+1
m=(a+b)/2.
e=10^-4                      %hold condition, 精確到小數點第三位,則設到小數點第四位
error=m^2-rt;
count=1;
fprintf('count=%d, error=%f, sqrt(%d)=%f\n',count,error,rt,m);

while abs(error)>e

if error >0 
    b=m;
else
   a=m;
end
a
b
m=(a+b)/2.
error=m^2-rt;
count=count+1;
fprintf('count=%d, error=%f, sqrt(%d)=%f\n',count,error,rt,m);
end

2017年9月14日 星期四

106-1資訊概論課綱

1.運算思維與Blocky Game
2.Blocky Game (Puzzle, Maze)
3.Blocky Game (Bird)
4.Blocky Game (Bird)
5.Blocky Game (Turtle)
6.Blocky Game (Turtle)
7.Blocky Game (Movie)
8.Blocky Game (Movie)
9.Blocky Game (Pond tutor)
10.Blocky Game (Pond tutor)
11.scratch,transformer, Arduino 簡介
12.S2A, transformer LED呼吸燈實驗
13.LED紅綠燈實驗
14.字串 print
15.超音波測距離
16.3D printer introduction
17.Inkscape 繪圖
18.Thingiverse  introduction and download file
19.Thinkcad 繪圖
20.3D printer 作品實驗

平時成績60%:上機實驗
段考成績40%:繳交作品;遲交者扣分;未交者0分計算

2017年9月13日 星期三

Excel 數據分析 average, variance, standardize

- no title specified
 

x

x+b

ax

ax+b

a

 

1

3

3

5

3

 

2

4

6

8

 
 

3

5

9

11

 
 

4

6

12

14

 
 

5

7

15

17

 
 

6

8

18

20

 
 

7

9

21

23

 
 

8

10

24

26

 
 

9

11

27

29

 
 

10

12

30

32

 

sum

55

75

165

185

觀察sum的變化

count

10

10

10

10

 

sum/count

5.5

7.5

16.5

18.5

 

average

5.5

7.5

16.5

18.5

觀察average的變化

var.p

8.25

8.25

74.25

74.25

觀察var.p的變化

stdevp

2.8722813233

2.8722813233

8.6168439698

8.6168439698

觀察stdevp的變化

      
 

x

mu

X-mu

(X-mu)^2

 
 

1

5.5

-4.5

20.25

 
 

2

 

-3.5

12.25

 
 

3

 

-2.5

6.25

 
 

4

 

-1.5

2.25

 
 

5

 

-0.5

0.25

 
 

6

 

0.5

0.25

 
 

7

 

1.5

2.25

 
 

8

 

2.5

6.25

 
 

9

 

3.5

12.25

 
 

10

 

4.5

20.25

 

sum

55

 

0

82.5

 

count

10

    

sum/count

5.5

    

average

5.5

    

var.p

8.25

 

sum/count

8.25

 

stdevp

2.8722813233

 

sqrt(sum/count)

2.8722813233

 
      
      
 

x

pseudo mu

X-pseudo mu

n*pseudo mu

 
 

1

5

-4

  
 

2

 

-3

  
 

3

 

-2

  
 

4

 

-1

  
 

5

 

0

  
 

7

 

2

  
 

8

 

3

  
 

9

 

4

  
 

10

 

5

  
 

11

 

6

  

sum

60

 

10

50

 

count

10

    
      
 

sum(x)=sum(x-pseudo mu)+n*pseudo mu

    
 

pseudo:儰