You are on page 1of 11

no.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

title
addition
substraction
multiplication
division
power_no.
square root
poer of ten_no.
poer of ten_no.
pi_value
degree--->radian
radian--->deg.
sin(theta)
cos(theta)
tan(theta)
ArcSin(0.5)=?deg.
ArcCos(0.5)=?deg.
ArcTan(1.0)=?deg.
logarithm
logarithm
logarithm
e,math's constant
natural logarithm

question
2+3=?
3-2=?
2*3=?
3/2=?
2^3=?
sqrt(2)=?
1E+1=?
1E-1=?
pi()=?
1deg.=?rad.
1rad.=?deg.
sin(30*pi()/180)=?
cos(30*pi()/180)=?
tan(30*pi()/180)=?
Asin(0.5)=?
Acos(0.5)=?
Atan(1.0)=?
log(100,10)=?
LOG(100)=?
log(8,2)=?
exp(1)=?
Ln(2)=log(2,e)=?

http://www.facebook.com/sathapornp

ans
5
1
6
1.5
8
1.41
10
0.1
3.14
0.02
57.3
0.5
0.87
0.58
30
60
45
2
2
3
2.72
0.69

Excel _code
=2+3
=3-2
=2*3
=3/2
=2^3
=SQRT(2)
=1E+1
=1E-1
=pi()
=pi()/180
180/pi()
=sin(30*pi()/180)
=cos(30*pi()/180)
=tan(30*pi()/180)
=ASIN(0.5)*180/PI()
=Acos(0.5)*180/PI()
=Atan(0.5)*180/PI()
=LOG(100,10)
=log(100)
=LOG(8,2)
=EXP(1)
=LN(2)

check ANS
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE

check ANS_Excel_CODE
=IF(D2=E2,TRUE,FALSE)

udonpit6112554g2excel2programing
Example1_no.vectoraddition1;VectorR=VectorP_vectorQ
1
input_P(N)=
2
input_Q(N)=
3
input_theta(deg.)=
4
sin(theta)=
5
cos(theta)=
6
P^2=
7
Q^2=
8
2*P*Q*cos(theta))=
9
R^2=(P^2+Q^2+2*P*Q*cos(theta))
10
R=sqrt(P^2+Q^2+2*P*Q*cos(theta))
11
Q*sin(theta)=
12
Q*cos(theta))
13
P+Q*cos(theta)=
14
tan(alpha)=Q*sin(theta)/(P+Q*cos(theta))
15
alpha(deg.)=ArcTan(alpha)*180/pi()

Example2_no.linear function ; Y=C+K*X


1
input_C=
2
input_K=
3
input_X=
4
cal;Y=C+k*X

Example3_no.Quadratic function ; Y=A*X^2+B*X+C


1
input_A=
2
input_B=
3
input_C=
4
input_X=
5
Ans1 ; Y=A*X^2+B*X+C

Example4_no.Hyperbola function ; Y=A/(B*X+C)


1
input_A=
2
input_B=
3
input_C=
4
input_X=
5
Ans1 ; Y=A/(B*X+C)

Example5_no.Inverse square's law function ; Y=K/(X^2)


1
input_K=
2
input_X=
3
Ans1 ; Y=K/(X^2)

Example6_no.Square root function ; Y=K*sqrt(X)


1
input_K=
2
input_X=
3
Ans1 ; Y=K*sqrt(X)

Example7_no.Square root function ; Y=K*sqrt(X)


1
input_K=
2
input_X=
3
Ans1 ; Y=K*sqrt(X)

Example8_no.Inverse Square root function ; Y=K/sqrt(X)


1
input_K=
2
input_X=
3
Ans1 ; Y=K/sqrt(X)

Example9_no.Sine function ; Y=R*SIN(theta)


1
input_R=
2
input_theta(deg)=
3
theta(rad.)=theta(deg.)*pi()/180
4
ANS1;Sine function ; Y=R*SIN(theta)

Example10_no.
Cos function ; Y=R*Cos(theta)
1
input_R=
2
input_theta(deg)=
3
theta(rad.)=theta(deg.)*pi()/180
4
ANS1;Cosine function ; Y=R*cos(theta)

Example11_no.
SHM_Sin_WAVE Function ; Y=R*SIN(2*PI*f*t+phase)
1
input_R(m)=
2
input_f(Hz.)=
3
input_t(s)=
4
input_Phase(deg.)=
5
ANS1;SIN wave function ; Y=R*SIN(theta)

Example12_no.
SHM_COS_WAVE Function ; Y=R*COS(2*PI*f*t+phase)
1
input_R(m)=
2
input_f(Hz.)=
4
input_t(s)=
3
input_Phase(deg.)=
5
ANS1;COS wave function ; Y=R*cos(theta)

7/19/2011 10:43
var_value

Excelcode
3 =3
4 =4
90 =30
1.000 =SIN($C$5*PI()/180)
0.000 =COS($C$5*PI()/180)
9 =$C$3^2
16 =$C$4^2
0.000 =2*$C$3*$C$4*$C$7
25.000 =$C$8+$C$9+$C$10
5 =SQRT($C$11)
4.000 =$C$4*$C$6
0.000 =$C$4*$C$7
3.000 =$C$3+$C$14
1.333 =$C$13/$C$15
53.13 =ATAN($C$16)*180/PI()

var._value
5
2
1
7

var._value
1
2
3
1
6

var._value
1
2
3
1
0.2

Excel_code
=5
=2
=1
=$B$27+$B$28*$B$29

Excel_code
=1
=2
=3
=1
=$C$31*$C$34^2+$C$32*$C$34+$C$33

Excel_code
=1
=2
=3
=1
=$C$40/($C$41*$C$43+$C$42)

var._value
1
1
1

Excel_code
=1
=1
=$C$52/$C$53^2

var._value
1
2
1.414

=1
=1
=$C$61*SQRT($C$62)

var._value
1
2
1.414

Excel_code
=1
=1
=$C$61*SQRT($C$62)

var._value
1
2
0.707

Excel_code

var._value
1
30
0.524
0.500

Excel_code

=1
=1
0.707

Excel_code
=1
=30
=$C$92*PI()/180
=$C$91*SIN($C$92*PI()/180)

var._value
1
30
0.524
0.500

Excel_code
=1
=30
=$C$92*PI()/180
=$C$91*SIN($C$92*PI()/180)

var._value
Excel_code
1
=1
10
=10
1
=1
45.00
=45
0.707 =$C$111*SIN(2*PI()*$C$112*$C$114+$C$113*PI()/180)

var._value
Excel_code
1
=1
10
=10
1
=1
45.00
=45
0.707=$C$122*COS(2*PI()*$C$123*$C$124+$C$125*PI()/180)

=now()
Note
vectorP_magnitude(X_axis)
vectorQ_magnitude,theta angle from vectorP
angle(deg.) fromvectorP to vectorQ
sin(theta)=sin(theta*pi()/180) ; 1deg.=pi()/180 rad.
cos(theta)=cos(theta*pi()/180) ; 1deg.=pi()/180 rad.
P_square
Q_square

ans1

ans2 ;1 rad.=180/pi() deg.

Note
(constant variable1)(Y_intercept)
(constant variable2);(slope)
(independent_variable)
(dependent_variable)

Note
(constant variable1)
(constant variable2)
(constant variable3)
(independent_variable)
(dependent_variable)

Note
(constant variable1)
(constant variable2)
(constant variable3)
(independent_variable)
(dependent_variable)

Note
(constant variable1)
(independent_variable)
(dependent_variable)

Note
(constant variable1)
(independent_variable)
(dependent_variable)

Note
(constant variable1)
(independent_variable)
(dependent_variable)

Note
(constant variable1)
(independent_variable)
(dependent_variable)

Note
(constant variable1),Amplitude
(independent_variable)
1deg.=pi()/180 rad.
(dependent_variable)

Note
(constant variable1),Amplitude
(independent_variable)
1deg.=pi()/180 rad.
(dependent_variable)

Note
(constant variable1),Amplitude
(independent_variable)
instaneous time(s)
initial_phase(deg.),angular_displacement
(dependent_variable)

Note
(constant variable1),Amplitude
(independent_variable)
instaneous time(s)
initial_phase(deg.),angular_displacement
(dependent_variable)

You might also like