Docsity

Bernoulli Trials - Stochastic Structural Dynamics - Lecture Slides, Slides of Structural Analysis

Partial preview of the text

Download Bernoulli Trials - Stochastic Structural Dynamics - Lecture Slides and more Slides Structural Analysis in PDF only on Docsity!

Problem solving session-

Docsity.com

2

Problem 1 A coin is tossed 10 times. Probability of obtaining headon any trial is given to be 0.4. Find the probability that headshows up no less than 5 times and no more than 3 times.^ ^

^

^

^

^

^

^

^

 ^

10

(^103)

3

7

10

10

3

4

Repeated Bernoulli trials and binomial distribution

;^

head shows up no less than 5 times and no more than 3 times^3

n^ k 0.

n^

k k

k^

k

k k

P^
X^

k^

C p

p^

k^

n

n^

p P P

X^
C
C^
C

 ^
^
^
^
^
^
^
^
^
^

 

^

^

^

 ^

4

6

5

10

5

C
^
^

Docsity.com

4

^

^

^

 ^

^

^

 ^

^

^

^

^

^

exp^40

exp

0.3679 exp

0.1839 exp 2

0.0613exp 3

0.0190 exp 4

Y

k

i^ Y

P Y

k^

i^ k

i^

i

i^

i

^

 ^

^

^

^

Docsity.com

5

^

^

^

^

2

2

2

2

2

2 2

Let

be a normal random variable with paramters

and

Show that

exp

-^

exp

exp

X X

m

x^

m

X^

x^

dx^

m x^

m

X^

m^

x^

m^

dx

im

 

 

^

^

   

^  

^

^

^

^

^

^

^

^

 ^

^

^

^

^

^

^

^

^

^

^

^

^

^

Problem 3

Docsity.com

7

^

^

^

^

2

2

2 2 2

2

2

3

1

1

-^

exp

2

2

We have^1

1 exp

1

2

2

1 exp

2

2

Differentiate with respect to

1 exp

2

2

(^12)

x^

m

X^

m^

x^

m^

dx

x^

m^

dx

x^

m^

dx

x^

m^

x^

m^

dx

 ^
^

 

     

^

  ^

^

^



^

 ^

^

^

^

  ^

^

^

^

 ^

^

^

^

  ^

^

^

^

^

 ^

^

^

^

^

 ^

^

^

^

 ^

^

^

  

^

^

2

2

2

1 exp

2

x^

m

x^

m^

dx

^

  ^

^

^

^

^

 ^

^

^

Docsity.com

8

^ 

^ 

^

^

^

^

^

^

^

^

^

^

^

^

2 2

2

2

2

2

2

1

To show that

exp

2 1

1

exp

exp

exp

2

2

1

1

exp

exp

2

2 1

1

exp

exp

2 2

2 1

1

exp

exp

2

2

X

X

im

x^

m

i^ X

i^ x

dx

x^

m u^

du^

dx i^

u^

m^

u^

du

im^

u^

i^ u

i^

i^

du

im^

u

^
^
^
^

 

 

 

^

^

 ^

^

^

  ^

^

^



^

 ^

^

^

 ^

^

^

^

^



 ^

^

^

^

^

^

^

^

^

^

^

2 2

2 2

1 2

1

exp

2

im^

du

im

^
^

^

^

^

^

^

 ^

^

Docsity.com

10

0

1

2

3

4

5

6

7

8

9

10

0.35 0.3 0.25 0.2 0.15 0.1 0.05^0

x

pdf

Mode

Mean

Mean +

Docsity.com

11

^ 

^

^ 

^

^ 

2

2

2

0

2

0 2

2

8

0

0

exp

;^

Is this a valid pdf?Area under pdf=

=^

exp 4

(^8) exp^

1 ok

(^4) exp^

exp

exp

Mode:

  • such that

0 at

X

x

x X

X

x^

x

p^

x^

x x

x

A^

dx

x^

x

t^

dt^

dx^

A^

t dt

u^

u^

x

P^

x^

du^

t dt

dp^

x

x^

x^

x

dx

^

^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^

^

^ 

2

2

1 exp

exp

dp^ x^ X

x^

x^

x^

x^

x

dx

^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^

Docsity.com

13

^

 ^

^

3

2

2

2

2

0

0

2 2

0 2

exp

exp

Put

(^4) 8 exp

1.3103^4

Mode=

exp

Mean=

Mean

Mean+std dev=2.

X^

X

x^

x^

x^

x

X^

dx^

x^

dx

x^

x t^

dx^

dt

X^

t^

t dt P^

X
P^
X

^ 

^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
 ^
^
^
^
^
^
^
^
^
^

^

 ^

Mean+std dev

P^
X^ 

Docsity.com

14

^

Problem 5The pdf of a random variable

is given by

sin

;^

DetermineDefine

cos

. Determine mean and variance of

.

Repeat the exercise if

is now defined as

cos

X

X

p^

x^

A^

x^

x

A Y^

X^

Y

Y^

Y^

X

 

^

^

 ^

^

Docsity.com

16

0

0.^ 0.^ 0.^ 0.^ 0.^ 0.^ 0.^ 0.^ 0.^

1

(^1) 0.8 0.6 0.4 0.2 (^0) -0.2 -0.4 -0.6 -0.8 -

x

cos(pix), |cos(pix)|

cos

x^ 

cos

x

Docsity.com

17

^  1 0

1 0

1

1

0

0 1 2

2 0

1 2

(^21)

sin^

1

2 sin^

;^

1

2 cos

cos

sin 2

1

cos 2

sin 2

0

2 2

4

2

cos

sin 2

Substitute cos

sin 1

1

1 2

2

2

3

3

A^ X

xdx

A

p^

x^

x^

x

Y^

X Y^

X^

xdx

x

xdx

Y^

X^

xdx x^

t^

xdx

dt

dt

Y^

t

^
^
^
^

^ 

^

^

^

^

 

^

^

^

^

^

^

^

 

^

^

^

^

^

^

^

^

 ^

  

Docsity.com

19

^ 

^

Problem 6Let

be a random variable with

exp

;^

Determine the characteristic function and hence determine themean and standard deviation of

Show that the shaded area (red) in the figure i

X

X^

P^

x^

x^

x

X

^

^

^

 ^

s equal to the mean

of the random variable.

Docsity.com

20

^ 

^

^ 

^ 

^

^

^

^

^

^

^

^

^

 ^

^

^

^

0

0

0

1

exp

;^

0

exp

;^

0

exp

exp

exp

exp exp X

X

P^ x X X

x^

x

dP

x

p^

x^

x^

x

dx

i^

X^

i^

x^

x dx

i^

x^

dx i^

x i^

i

 

^

^

^

 ^

^

^

^

^

^

^

^

^

^

^

^

^

^

^

^

 ^

^

^

^

 ^

^

^

^

^

^

^

 

Docsity.com