You are on page 1of 84

# Excel

E-mail d02524001@ntu.edu.tw

excel?

F = k L
Ex:
F (gw)
0
1
2
L (cm)

3
8

k=?
k=1

excel?
Hookes lawF = k L

F (gw)

L (cm)

1 st

5.01

5.99

7.03

8.01

2 nd

4.98

5.99

7.00

7.97

3 rd

5.03

6.01

6.99

8.02

4 rd

4.99

6.03

6.97

8.03

5 rd

5.01

5.96

6.98

7.99

3.5
3

Excel

y = 1.004x - 0.014

2.5
2

k=1.004

1.5
1
0.5

0
0

(1)
(2)
(3)
(4)
(5)

()
4

(1)

:
(a)
(b)
(c)
(d)

Excel-1

:
..
..
..

....

1.(a)

1.(a)

....

1.(a)

..
..

10

1.(b)

..
....

11

..
..

1.(b)

12

1.(b)

13

1.(c)

14

1.(c)

15

1.(d)

16

Excel-2

(a)
(b)
(c)
(d)
(e)
(f)
(g)
17

2.(a)

abs(number)

abs(-10)

log(number,base)

log(20,2)

ln(number)

ln(33)

number^power

5^6

exp(number)

exp(6.5)

quotient (numerator,denominator)

quotient(6,4)

mod(number,divisor)

mod(34,6)

fact(number)

fact(5)

18

2.(b)

sin

sin(number)

sin(pi())

cos

sin(number)

cos(pi()/2)

tan

tan(number)

tan(0.3)

arc sin

atan(number)

atan(0.5)

arc cos

acos(number)

acos(-0.5)

arc tan

atan(number)

atan(0.1)

19

2.(b)

sinh

sinh(number)

sinh(2)

cosh

cosh(number)

cosh(-3)

tanh

tanh(number)

tanh(5)

arc sinh

asinh(number)

asinh(-30)

arc cosh

acosh(number)

acosh(20)

arc tanh

atanh(number)

atanh(0.4)

20

2.(c)

gcd(number1,number2)

gcd(5,2)

lcm(number1,number2)

lcm(3,9)

even(number)

even(9.8)

int(number)

int(3.9)

odd(number)

odd(6.2)

round(number,num_digits )

round(-1.475, 2)

rounddown(number,num_digits)

rounddown(3.2, 0)

roundup(number,num_digits)

roundup(5.712,1)
21

2.(d)

sum(number1,number2, ... )

sum(34,67)

average(number1,number2, )

average(45,99)

stdev(number1,number2, )

stdev(86,80,79,87)

sumif(range,criteria)

sumif(A1:A5,">6")

rand( )

rand( )

randbetween(bottom,top)

randbetween(1,9)

sign(number)

sign(-5)

1 N 2
xi 2
N i 1

22

2.(e)

imreal(inumber)

imreal("6-9i")

imaginary(inumber)

imaginary("3+4i")

imconjugate(inumber)

imconjugate("3+4i")

imargument (inumber)

imargument("4+5i")

imabs (inumber)

imabs("5+12i")

23

2.(f)

convert(number,from_unit,t
o_unit)

## convert(1.0, "m", "ft")

(power
ft2m2)

convert(convert(),
from_unit, to_unit)

convert(convert(1,"ft","
m"),"ft","m")

Error function

erf(lower_limit,upper_limit)

erf(0.74500,6)

Complementary
error function

erfc(x)

erfc(1)

Besseli

besseli(x,n)

besseli(1.5,1)

Besselj

besselj(x,n)

besselj(1.5,1)

Besselk

besselk(x,n)

besselk(1.5,1)

Bessely

bessely(x,n)

bessely(1.5,1)
24

2.(g)
IF
AND
( IF )

OR
( IF )

if(logical_test,value_if_true
,value_if_false)

If(4>6, "TRUE",
"FALSE")

and(logical1,logical2...)

and(6>4,9>7)

=>

If(and(6>4,9>7),
"TRUE", "FALSE")

or(logical1,logical2,...)

or(6>4,9>7)

=>

If(or(6>4,9>7),
"TRUE", "FALSE")

25

=sum()
=average()
=stdev()
=if()

1 N 2
xi 2
N i 1

26

Excel-3

27

=frequency

28

1.
2.=frequency(
,)
3.Ctrl+Shift+Enter

29

Excel-3

30

31

32

33

34

= 0

35

= 0

36

[] button
-

Matlab

37

Excel-4

38

Excel

39

40

><
41

42

43

X
Y
44

45

46

47

48

49

50

51

=>()

52

type

53

ok

54

55

56

57

58

59

60

()click

61

XY

62

63

Easy !!

64

65

66

(
)
67

Excel-5

68

69

R
70

71

72

ok

73

fashion

74

75

76

77

78

79

Y ax b c exp( x d )

80

Error Bar

81

Error bar

()()

...

82

83

!!! !!

84