University of Florida/Egm4313/s12.teamboss/R4

From testwiki
Jump to navigation Jump to search

Template:Big3

File:Captur44.JPG

Problem R4.1 Expanding Particular Solutions and the Coefficient Matrix A

Statement

4.1 from lecture notes R4.1 Lect. 7c pgs. 19-22

Given the general form of polynomial excitation.

y+ay+by=j=0ndjxj

(1.1)

The particular solution that satisfies:

yp(x)=j=0ncjxj

(1.2)

The first and second derivative of the particular solution that solves the original polynomial excitation equation.

yp(x)=j=0n1cj+1(j+1)xj

(1.3)

yp(x)=j=0n2cj+2(j+2)(j+1)xj

(1.4)

The particular solutions are put into the polynomial excitation equation to give the general summation form:

j=0n2[cj+2(j+2)(j+1)+acj+1(j+1)+bcj]xj+acnnxn1+b[cn1xn1+cnxn]=j=0ndjxj

(1.5)

Obtain the equations associated with d1, coefficients of x; d2, coefficients of x2; dn2, coefficients of xn2; dn1, coefficients of xn1; dn, coefficients of xn. Five total equations for coefficients.

Also set up the matrix ๐€ that satisfies ๐€๐œ=๐.

Solution

The given equation associated with d0 taking j=0

2c2+ac1+bc0=d0

(1.6)

Taking j=1

[c1+2(1+2)(1+1)+ac1+1(1+1)+bc1]x1=d1x1

(1.7)


[6c3+2ac2+bc1]x=d1x

(1.8)

The equation associated with d1 , coefficients of x

6c3+2ac2+bc1=d1

(1.9)

Taking j=2

[c2+2(2+2)(2+1)+ac2+1(2+1)+bc2]x2=d2x2

(1.10)

[12c4+3ac3+bc2]x2=d2x2

(1.11)

The equation associated with d2 , coefficients of x2

12c4+3ac3+bc2=d2

(1.12)

Taking j=n2

[c(n2)+2(n2+2)(n2+1)+ac(n2+1)(n2+1)+bcn2]xn2=dn2xn2

(1.13)

[cnn(n1)+ac(n1)(n1)+bcn2]xn2=dn2xn2

(1.14)

The equation associated with dn2 , coefficients of xn2

cnn(n1)+ac(n1)(n1)+bcn2=dn2

(1.15)

For n1 (the summation term only goes to j=n2)

acnnxn1+bcn1xn1=dn1xn1

(1.16)

acnn+bc(n1)]xn1=dn1xn1

(1.17)

The equation associated with dn1 , coefficients of xn1

acnn+bc(n1)=dn1

(1.18)

For n.

bcnxn=dnxn

(1.19)


The equation associated with dn , coefficients of xn

bcn=dn

(1.20)

Now set up the equation:

๐€๐œ=๐

(1.21)

[Equationford0Equationford1Equationford2...Equationfordn2Equationfordn1Equationfordn][c0c1c2...cn2cn1cn]=[d0d1d2...dn2dn1dn]

(1.22)

Therefore the matrix ๐€ that satisfies the matrix equation is:

๐€=[ba2b2a6b3a12.....................ba(n1)n(n1)banb]

(1.23)

Author

Solved and Typed By - Chris Stewart Egm4313.s12.team1.stewart (talk) -- 21:12, 11 March 2012 (UTC)

Reviewed By - --Egm4313.s12.team1.durrance (talk) 23:14, 11 March 2012 (UTC)


Problem R4.2 Taylor Series Approximation of ODE with Excitation sin(x)

Statement

Consider the L2-ODE-CC with sinx as excitation (see R4.2 Lect. 7c pgs. 26-27):

y3y+2y=r(x)
r(x)=sinx

and the initial conditions

y(0)=1,y(0)=0

1) Use the Taylor series for sinx to reproduce the figure on p.7-24.

2) Let yp,n(x) be the particular soln corresponding to the excitation rn(x):

y'p,n+ayp,n+byp,n=rn(x)

Let rn(x)be the truncated Taylor series of sinx:

rn(x):=k=0n(1)kt2k+1(2k+1)!=tt33!+...+(1)nt2n+1(2n+1)!

Let yn(x) be the overall soln for the L2-ODE-CC: y'n+ay'n+byn=rn(x)
With the same initial conditions as stated above.

Find yn(x) for n=3,5,9; plot these solns for x in the interval [0,4ฯ€].

3)Find the exact overall soln y(x), and plot it in the above figure to compare with yn(x) for n=3,5,9.

Solution

To approximate the value of the excitation, the Taylor expansion must be found:

f(x)=n=0f(n)(x^)n!(xx^)n

(2.0)

For the sine function, the Taylor series approximated to 13 places is:

sinx=xx33!+x55!x77!+x99!x1111!+x1313!

(2.1)

Any lower approximation would include all of the terms above without any terms with a higher order than the desired order:

Plotting every order approximation of the Taylor series up to n=13 with the actual sine function produces the following:

Figure 4.2-1

File:Taylor sine.png


In order to find the overall solution for the L2-ODE-CC corresponding to the Taylor series expansion of the sine function, both the homogenous and particular solutions must be found. The homogenous equation can be found through this method:

y3y+2y=0

(2.2)

λ23λ+2=0λ=1,2

(2.3)

yh,n(x)=C1ex+C2e2x

(2.4)

Next, the excitation must be expanded to the desired n. The following shows the excitation expanded to n=3, 5, and 9:

r3(x)=xx33!+x55!x77!

(2.5)

r5(x)=xx33!+x55!x77!+x99!x1111!

(2.6)

r9(x)=xx33!+x55!x77!+x99!x1111!+x1313!x1515!+x1717!x1919!

(2.7)

Next, the particular solution must be found. The particular solution will be of the form:

yp,n=i=0nkixi

(2.8)

Using the derivation discussed in R4.1, a matrix equation in the form Ak = d can be found, where k is the matrix containing the coefficients of the particular solution and d is the matrix containing the coefficients of each power of x in the expansion of the excitation. The general formula for A is:

[ba2b2a6b3a12.........ba(n1)n(n1)banb]

(2.9)

n=3
The matrix A is found as:

A=[23226629122122021530218422212]

(2.10)

Therefore, the matrix equation is:

[23226629122122021530218422212][k0k1k2k3k4k5k6k7]=[0101601120015040]

(2.11)

[k0k1k2k3k4k5k6k7]=[0.19920.39840.39840.09900.00780.00310.00109.9206×105]

(2.12)

Therefore the particular solution is:

yp,3(x)=9.9206×105x70.0010x60.0031x50.0078x40.0990x30.3984x20.3984x0.1992

(2.13)

And the overall solution for n=3 is:

y3(x)=C1ex+C2e2x9.9206×105x70.0010x60.0031x50.0078x40.0990x30.3984x20.3984x0.1992

(2.14)

Using the initial conditions:

1=C1+C20.1992&0=C1+2C20.3984

(2.15)

Solving yields C1=2&C2=0.8008. Therefore the overall solution is:

y3(x)=2ex0.8008e2x9.9206×105x70.0010x60.0031x50.0078x40.0990x30.3984x20.3984x0.1992

(2.16)

n=5
The matrix equation is:

File:R4217.png


Therefore the particular solution is:

yp,5(x)=1.2526×108x112.0668×107x101.0334×106x94.6503×106x81.1781×104x70.0011x60.0033x50.0083x40.0999x30.3999x20.3999x0.2000

(2.18)

And the overall solution for n=5 is:

y5(x)=C1ex+C2e2x1.2526×108x112.0668×107x101.0334×106x94.6503×106x81.1781×104x70.0011x60.0033x50.0083x40.0999x30.3999x20.3999x0.2000

(2.19)

Using the initial conditions:

1=C1+C20.2&0=C1+2C20.3999

(2.20)

Solving yields C1=2.0001&C2=0.8001. Therefore the overall solution is:

y5(x)=2.0001ex0.8001e2x1.2526×108x112.0668×107x101.0334×106x94.6503×106x81.1781×104x70.0011x60.0033x50.0083x40.0999x30.3999x20.3999x0.2

(2.21)

n=9
The matrix equation is:

File:R4222.png


Therefore the particular solution is:

yp,9(x)=4.1103×1018x191.1714×1016x181.0543×1015x178.9615×1015x164.5405×1013x159.1408×1012x146.3985×1011x134.1590×1010x121.5021×108x112.2040×107x101.1020×106x94.9591×106x81.1904×104x70.0011x60.0033x50.0083x40.1000x30.4000x20.4000x0.2000

(2.23)

And the overall solution for n=9 is:

y9(x)=C1ex+C2e2x4.1103×1018x191.1714×1016x181.0543×1015x178.9615×1015x164.5405×1013x159.1408×1012x146.3985×1011x134.1590×1010x121.5021×108x112.2040×107x101.1020×106x94.9591×106x81.1904×104x70.0011x60.0033x50.0083x40.1000x30.4000x20.4000x0.2000

(2.24)

Using the initial conditions:

1=C1+C20.2&0=C1+2C20.4

(2.25)

Solving yields C1=2&C2=0.8. Therefore the overall solution is:

y9(x)=2ex0.8e2x4.1103×1018x191.1714×1016x181.0543×1015x178.9615×1015x164.5405×1013x159.1408×1012x146.3985×1011x134.1590×1010x121.5021×108x112.2040×107x101.1020×106x94.9591×106x81.1904×104x70.0011x60.0033x50.0083x40.1000x30.4000x20.4000x0.2000

(2.26)


The following plot shows the overall solution of the ODE at n=3,5,9 over the domain [0,4ฯ€]:

Figure 4.2-2

File:FinODE.png


The near perfect overlap between all three graphs shows that the approximations converge quickly for very low values of n.

Next, the exact ODE will be calculated to find the accuracy of the above approximations. The homogeneous solution is the same as the homogeneous solution above, only with different coefficients. The particular solution will be in the form:

yp(x)=Kcosx+Msinx

(2.27)

yp(x)=Ksinx+Mcosx

(2.28)

yp(x)=KcosxMsinx

(2.29)

Plugging these values into the ODE:

KcosxMsinx+3Ksinx3Mcosx+2Kcosx+2Msinx=sinx

(2.30)

Separating sine and cosine terms yield two linear equations which can be used to solve for the unknown coefficients:

K3M=0&3K+M=1

(2.31)

Solving these equations yield K = 0.3 and M = 0.1.

yp(x)=0.3cosx+0.1sinx

(2.32)

Therefore the exact overall solution is:

y(x)=C1ex+C2e2x+0.3cosx+0.1sinx

(2.33)

y(x)=C1ex+2C2e2x0.3sinx+0.1cosx

(2.34)

Using the initial conditions yield the equations:

1=C1+C2+0.3&0=C1+2C2+0.1

(2.35)

Solving these two equations yield C1=1.5&C2=0.8. Therefore the exact overall solution is:

y(x)=1.5ex0.8e2x+0.3cosx+0.1sinx

(2.36)

The following figure shows the plot of the exact solution over the plot in Fig. 4.2-2:

Figure 4.2-3

File:ExacODE.png


The overlap of the plots shows that the Taylor series approximation approach to the ODE is actually accurate to a very large degree with respect to the exact solution of the ODE.

Author

Solved and Typed By - Egm4313.s12.team1.armanious (talk) 04:02, 14 March 2012 (UTC)

Reviewed By - Chris Stewart Egm4313.s12.team1.stewart (talk) 04:52, 14 March 2012 (UTC)


Problem R4.3

Statement

Consider the L2-ODE-CC (5) p7b-7 with log(1+x) as excitation:

y3y+2y=r(x)

(3.0)


r(x)=log(1+x)

(3.1)


And the initial conditions

y(34)=1,y(34)=0

(3.2)


1. Develop log(1+x) in Taylor series, about x^=0 to reproduce the figure on p.7-25

2. Let rn(x) be the truncated Taylor series, with n terms--which is also the highest degree of the Taylor (power) series -- of lg(1+x).

Find yn(x) , for n=4,7,11, such that:


with the same initial conditions (2).

Plot yn(x) for n = 4,7,11 for x in [34,3].


3. Use the matlab command ode45 to integrate numerically (5) p.7b-7 with (1)-(2) p 7-28 o obtain the numerical soln for y(x). Plot y(x) in the same figure with yn(x)

Solution

1. Developing the Taylor series
First, we take the generic Taylor series formula:

f(x)=n=0f(n)(x^)n!(xx^)n

(3.3)


Then, log(1+x) is expanded into a power series:

log(1+x)=11!(x)1+12!(x)2+13!(x)3+14!(x)4...

(3.4)


2. Yn(x) at different n values First we create the characteristic equation in standard form:

λ23λ+2=0

(3.5)


Then, by setting it equal to zero, we can find what λ equals:

(λ2)(λ1)=0

(3.6)

λ=2,λ=1

(3.7)


Given two, distinct, real roots, the homogeneous solution looks like this:

yh(x)=C1e2x+C2ex

(3.8)

The particular solution at n=4 is of the form:

yp(x)=A4x4+A3x3+A2x2+A1x+A0

(3.9)

It's derivative would look like this:

yp(x)=4A4x3+3A3x2+2A2x+A1

(3.10)

And the second derivative to follow would then become:

yp(x)=12A4x2+6A3x+2A2

(3.11)

Based on the coefficients, the following system of equations exists:

2A4=124

(3.12)


12A4+2A3=16

(3.13)


12A49A3+2A2=12

(3.14)

6A36A2+2A1=1

(3.15)


2A23A1+2A0=0

(3.16)

The results of this set of equations make the coefficients of A's:

A4=148


A3=124


A2=316


A1=116


A0=932


The resulting particular equation looks like this:

yp(x)=148x4+124x3+316x2+116x+932

(3.17)


By adding the particular and homogeneous solutions, we get the complete solution:

148x4+124x3+316x2+116x+932+C1e2x+C2ex=yn=4(x)

(3.18)

We consider the initial conditions by taking the first derivative of the complete solution:

4148x3+3124x2+2316x+116+2C1e2x+C2ex=y

(3.19)

By plugging in -3/4 for x, 1 for y, and 0 for y', we can solve for the constants C1,C2:

1=148(.75)4+124(.75)3+316(.75)2+116(.75)+932+C1e2(.75)+C2e.75=yn=4(.75)

(3.20)

0=4148(.75)3+3124(.75)2+2316(.75)+116+2C1e2(.75)+C2e(.75)=y'n=4(.75)

(3.21)

Solving the equations proves that C1=4.8322,C2=4.0745:
The resulting complete solution at n=4 with consideration for initial conditions then becomes:

148x4+124x3+316x2+116x+932+4.8322e2x+4.0745ex=yn=4(x)

(3.22)

The particular solution at n=7 is found using this matrix equation:

[2320000026600000291200000212200000021530000002180000002](A0A1A2A3A4A5A6)={011/21/61/241/1201/720}

(3.23)

The values for A then look like this:

A0=21128
A1=2164

A2=2164

A3=596

A4=5192

A5=1480

A6=6.944E4

The resulting particular equation looks like this:

yp(x)=6.944E4x7+1480x6+5192x5+596x4+2164x3+2164x2+21128x

(3.24)


By adding the particular and homogeneous solutions, we get the complete solution:

6.944E4x7+1480x6+5192x5+596x4+2164x3+2164x2+21128x+C1e2x+C2ex=yn=7(x)

(3.25)

We consider the initial conditions by taking the first derivative of the complete solution:

(7)6.944E4x6+(6)1480x5+(5)5192x4+(4)596x3+(3)2164x2+(2)2164x+21128+2C1e2x+C2ex=y'n=7(x)

(3.26)

By plugging in -3/4 for x, 1 for y, and 0 for y', we can solve for the constants C1,C2:

1=6.944E4(.75)7+1480(.75)6+5192(.75)5+596(.75)4+2164(.75)3+2164(.75)2+21128(.75)+C1e2(.75)+C2e(.75)=yn=7(.75)

(3.27)

0=(7)6.944E4(.75)6+(6)1480(.75)5+(5)5192(.75)4+(4)596(.75)3+(3)2164(.75)2+(2)2164(.75)+21128+2C1e2(.75)+C2e(.75)=y'n=7((.75))

(3.28)

Solving the equations proves that C1=3.3921,C2=3.5789:
The resulting complete solution at n=7 with consideration for initial conditions then becomes:

6.944E4x7+1480x6+5192x5+596x4+2164x3+2164x2+21128x+(3.3921)e2x+(3.5789)ex=yn=7(x)

(3.29)


The particular solution at n=11 is found using this matrix equation:

File:4.3eqn.JPG

(3.30)

The values for A then look like this:

A0=24812048
A1=366353072

A2=58971024

A3=89874608

A4=14173072

A5=4154608

A6=332560

A7=.001434

A8=5.27E5

A9=3.44E6

A10=1.37786E7

The resulting particular equation looks like this:

yp(x)=1.37786E7x11+3.44E6x10+5.27E5x9+.001434x8+332560x7+4154608x6+14173072x5+89874608x4+58971024x3+366353072x2+24812048x

(3.31)


By adding the particular and homogeneous solutions, we get the complete solution:

1.37786E7x11+3.44E6x10+5.27E5x9+.001434x8+332560x7+4154608x6+14173072x5+89874608x4+58971024x3+366353072x2+24812048x+C1e2x+C2ex=yn=11(x)

(3.32)

We consider the initial conditions by taking the first derivative of the complete solution:

(11)1.37786E7x10+(10)3.44E6x9+(9)5.27E5x8+(8).001434x7+(7)332560x6+(6)4154608x5+(5)14173072x4+(4)89874608x3+(3)58971024x2+(2)366353072x+24812048+C1e2x+C2ex=y'n=11(x)

(3.33)

By plugging in -3/4 for x, 1 for y, and 0 for y', we can solve for the constants C1,C2:

1=1.37786E7(.75)11+3.44E6(.75)10+5.27E5(.75)9+.001434(.75)8+332560(.75)7+4154608(.75)6+14173072(.75)5+89874608(.75)4+58971024(.75)3+366353072(.75)2+24812048(.75)+C1e2(.75)+C2e(.75)=yn=11(.75)

(3.34)

0=(11)1.37786E7(.75)10+(10)3.44E6(.75)9+(9)5.27E5(.75)8+(8).001434(.75)7+(7)332560(.75)6+(6)4154608(.75)5+(5)14173072(.75)4+(4)89874608(.75)3+(3)58971024(.75)2+(2)366353072(.75)+24812048+C1e2(.75)+C2e(.75)=y'n=11(.75)

(3.35)

Solving the equations proves that C1=56.1374,C2=32.64:
The resulting complete solution at n=11 with consideration for initial conditions then becomes:

1.37786E7x11+3.44E6x10+5.27E5x9+.001434x8+332560x7+4154608x6+14173072x5+89874608x4+58971024x3+366353072x2+24812048x+56.1374e2x+32.64ex=yn=11(x)

(3.36)

Plot of all n=4 (red), n=7 (blue), n=11 (green).
File:IEA1.jpg

3. Plotting the actual y(x) against approximations

Author

Solved and Typed By - Egm4313.s12.team1.silvestri (talk) 23:17, 12 March 2012 (UTC)
Reviewed By ---Egm4313.s12.team1.rosenberg (talk) 03:10, 13 March 2012 (UTC)




Problem R4.4

4.4 from lecture notes R4.1 Lect. 7c pgs. 29-30

Extend the accuracy of the solution beyond x^=1.

Part 1 Statement

1. Back up away a little from the brink of non-convergence at x=1 for the Taylor series of log(1+x) about x^=0, and consider the point x1=0.9.

Find the value of yn(x1),y'n(x1) that will serve as initial conditions for the next iteration to extend the domain of accuracy of the analytical solution. Find n sufficiently high so that yn(x1),y'n(x1) do not differ from the numerical solution by more than 105.

Part 1 Solution

Part 2 Statement

2. Develop log(1+x) in Taylor series about x^=1 for n=4,7,11, and plot these truncated series vs the exact function.

What is now the domain of convergence? (by observation of your results.)

Part 2 Solution

First, we have the general form of a Taylor series:

f(x)=n=0f(n)(x^)n!(xx^)n

(4.2.0)

Next, we set f(x)=r(x)=log(1+x) and take several derivatives of f(x):

f(x)=log(1+x)f(x)=1(x+1),f(x)=1(x+1)2,f(x)=2(x+1)3...

Using these derivatives, we can now develop log(1+x) in Taylor series about x^=1:

r(x)=log(1+x)=f(x)=n=0f(n)(1)n!(x1)n=10!(x1)0+11!(x1)112!(x1)2+23!(x1)364!(x1)4+...

(4.2.1)

r(x)=log(1+x)=f(x)=n=0(1)n1f(n)(x1)nn!

(4.2.2)

Now the Taylor series for n=4,7,11 can be developed:

For n=4:

f(x)=n=0(1)3f(4)(x1)44!=(x1)12(x1)2+16(x1)3124(x1)4

(4.2.3)

For n=7:

f(x)=n=0(1)6f(7)(x1)77!=(x1)12(x1)2+16(x1)3124(x1)4+1120(x1)51720(x1)6+15040(x1)7

(4.2.4)

For n=11:

f(x)=n=0(1)10f(11)(x1)1111!=(x1)12(x1)2+16(x1)3124(x1)4+1120(x1)51720(x1)6+15040(x1)7140320(x1)8+1362880(x1)913628800(x1)10+139916800(x1)11

(4.2.5)

Part 3 Statement

3. Find yn(x), for n=4,7,11, such that:
y'n+ay'n+byn=rn(x)
for x in [0.9,3] with the initial conditions found i.e., yn(x1),y'n(x1).

Plot yn(x) for n=4,7,11 for x in [0.9,3].

Part 3 Solution

Using the same characteristic in problem 4.3 (3.5), we see that the homogenous solution is the same (3.8):

yh(x)=C1e2x+C2ex

(4.3.0)

The particular solution at n=4 is of the form:

yp(x)=A4(x1)4+A3(x1)3+A2(x1)2+A1(x1)+A0

(4.3.1)

It's derivative would look like this:

yp(x)=4A4(x1)3+3A3(x1)2+2A2(x1)+A1

(4.3.2)

And the second derivative to follow would then become:

yp(x)=12A4(x1)2+6A3(x1)+2A2

(4.3.3)

Based on the coefficients, the following system of equations exists:

2A4=14

(4.3.4)


12A4+2A3=13

(4.3.5)


12A49A3+2A2=12

(4.3.6)

6A36A2+2A1=1

(4.3.7)


2A23A1+2A0=0

(4.3.8)

The results of this set of equations make the coefficients of A's:

A4=18


A3=712


A2=178


A1=338


A0=6516


The resulting particular equation looks like this:

yp(x)=18(x1)4+712(x1)3+178(x1)2+338(x1)+6516

(4.3.9)


By adding the particular and homogeneous solutions, we get the complete solution:

yn=4(x)=C1e2x+C2ex+18(x1)4+712(x1)3+178(x1)2+338(x1)+6516

(4.3.10)


The particular solution at n=7 is found using this matrix equation:

[2320000026600000291200000212200000021530000002180000002](A0A1A2A3A4A5A6)={011/21/31/41/51/6}

(4.3.11)

The values for A then look like this:

A0=992

A1=99

A2=49

A3=956

A4=154

A5=1320

A6=112

The resulting particular equation looks like this:

yp(x)=112(x1)7+1320(x1)6+154(x1)5+956(x1)4+49(x1)3+99(x1)2+1992(x1)

(4.3.12)


By adding the particular and homogeneous solutions, we get the complete solution:

yn=7(x)=C1e2x+C2ex+112(x1)7+1320(x1)6+154(x1)5+956(x1)4+49(x1)3+99(x1)2+1992(x1)

(4.3.13)

The particular solution at n=11 is found using this matrix equation:

File:MatrixA.jpg

Part 4 Statement

4. Use the matlab command ode45 to integrate numerically y3y+2y=r(x) with r(x)=log(1+x) and the initial conditions yn(x1),y'n(x1) to obtain the numerical solution for y(x).

Plot y(x) in the same figure with yn(x).

Part 4 Solution

Author

Solved and Typed By - --Egm4313.s12.team1.wyattling (talk) 19:44, 14 March 2012 (UTC)

Reviewed By - Egm4313.s12.team1.essenwein (talk) 19:52, 14 March 2012 (UTC)


Contributing Members

Team Contribution Table
Problem Number Lecture Assigned To Solved By Typed By Proofread By
4.1 R4.1 Lect. 7c pgs. 19-22 Chris Stewart Chris Stewart Chris Stewart Jesse Durrance
4.2 R4.2 Lect. 7c pgs. 26-27 George Armanious George Armanious George Armanious Chris Stewart
4.3 [Lecture link] Emotion Silvestri Emotion Silvestri Emotion Silvestri Steven Rosenberg
4.4 R4.1 Lect. 7c pgs. 29-30 Wyatt Ling Wyatt Ling Wyatt Ling Eric Essenwein

Template:CourseCat