Sie sind auf Seite 1von 10

Soft Computing

Digital Assignment 2
Name: Sumit Patil
Reg no: 15BIT0033
Faculty: Chiranji Lal Chowdhary
Slot: C2+TC2
2.

SOLUTION
Given membership function of “tall”—
{0.2/5+0.3/7+0.7/9+0.9/11+1.0/12}
“short”—
{0.3/0+0/30+1/60+0.5/90+0/120}

We know that linguistic hedges are qualifiers of a linguistic variable


 All purpose: Very, quite, extremely
 Probability: Likely, Unlikely
 Quantifiers: Most, Several, few
 Possibilities: Almost impossible, quite possible
Linguistic hedges can modify the shape of a fuzzy set. In the question we
are asked to find “very”, “fairly”
(somewhat), “not very”

Hedge Mathematical Expression


Very [µA(x)]2
Fairly or Somewhat Sqrt(µA(x))
So. For finding the membership
functions for very tall, fairly tall:.
1. Very Tall-

Given-: Membership function of “tall”


µtall={0.2/5+0.3/7+0.7/9+0.9/11+1.0/12}

µtall=[ µtall]2

={0.04/5+0.09/7
+0.49/9+0.81/1
1+1.0/12}

2. Fairly Tall-

Given-: Membership function of “tall”


µtall={0.2/5+0.3/7+0.7/9+0.9/11+1.0/12}

µtall=[ µtall]1/2

={0.44/5+0.54/7+0.83/9+0.94/11+1.0/12}

3. Not Very Short-

Given-: Membership function of “short”


µshort={0.3/0+0/30+1/60+0.5/90+0/120}

µvery short=[ µvery short]2

={0.09/0+0/30+1/60+0.25/90+0/120}
µnot very short=[ µnot very short]2

={0.91/0+1/30+0/60+0.75/90+1/120}
3.

SOLUTION
a)

1)

2)
3)

For set A

1. A λ={x:µA(x)>= λ}
1/1+2(x-2)^2 >=0.2

1>=0.2+0.4

(x-2)^2

(x-2)^2=<2

-√2=<(x-2)=<√2

-√2+2<=x=<2+√2
0.586<= x<=3.414

2. λ=0.4
1/1+2(x-2)^2>=0.4

1>=0.4+0.8(x-2)^2

0.6/0.8>=(x-2)^2

2-√o.6/0.8 <=(x-2)<=2+ √0.6/0.8

3. λ=0.6
1/1+2(x-2)^2>=0.6

1>=0.6+0.8(x-2)^2

0.6/0.8>=(x-2)^2

2- √o.6/0.8 <=(x-2)<=2+ √0.6/0.8

4. λ=0.9
1/1+2(x-2)^2>=0.9

1>=0.9+1.8(x-2)^2

2- √1/18 <=x<=2+ √1/18

5. λ=1
1/1+2(x-2)^2>=1

1>=1+2(x-2)^2

x=2
For set B

Bλ = {x : µβ(x) >= λ }

1. λ = 0.2
3-x >= 0.2
1/0.2 >= 3x
3x<= 5
x log33<= log35
x <= log35
thus, 0 <= x <= log35

2. λ = 0.4
3-x >= 0.4
-x log33>= log30.4
x <= log30.4/log33
thus, 0 <= x <= log30.4

3. λ = 0.6
3-x >= 0.6
-x log33>= log30.6
x <= log30.6/log33
thus, 0 <= x <= log30.6

4. λ = 0.9
3-x >= 0.9
-x log33>= log30.9
x <= log30.9/log33
thus, 0 <= x <= log30.9

5. λ = 1
3-x >= 1
-x log33>= log31
1-x <= 0
thus, x <= 0
For set C

1. λ = 0.2
2x/x+4>= 0.2
2x>= 0.2x + 0.8
1.8x >= 0.8
x >= 0.8/1.8 = 0.44
thus, 0.444<= x <= 5

2. λ = 0.4
2x/x+4>= 0.4
2x >= 0.4x + 0.16
x >= 1
thus, 1<= x <= 5

3. λ = 0.6
2x/x+4>= 0.6
2x >= 0.6x + 2.4
1.4x >= 2.4
x >= 1.71428
thus, 1.71428<= x <= 5

4. λ = 0.9
2x/x+4>= 0.9
2x >= 0.9x + 3.6
1.1x >= 3.6
x >= 3.27273
thus, 3.27273<= x <= 5

5. λ = 1
2x/x+4>= 1
2x >= x + 4
x >= 4
thus, 4 <= x <=5
Sumit Patil 15BIT0033 10

Das könnte Ihnen auch gefallen