Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

NAME: MICHELLE VANESSA LAWRENCE

STUDENT ID: BCS22090035

1. Suppose that a car is described by its color. What scale could be


used for color? Create five terms for color and sketch membership
functions for each term.

For describing the color of a car, a color scale with five terms can
be used. The terms and their corresponding membership functions are
as follows:

Black:
Membership Function: Triangular, centered around 0
Color Range: Dark colors, such as black

Brown:
Membership Function: Triangular, centered around 0.2
Color Range: Brown shades

Light Brown:
Membership Function: Triangular, centered around 0.4
Color Range: Lighter shades of brown

Light Green:
Membership Function: Triangular, centered around 0.6
Color Range: Light shades of green

Yellow:
Membership Function: Triangular, centered around 0.8
Color Range: Yellow shades
NAME: MICHELLE VANESSA LAWRENCE
STUDENT ID: BCS22090035

2. Establish membership functions for:


a. Real numbers close to 10.
NAME: MICHELLE VANESSA LAWRENCE
STUDENT ID: BCS22090035

b. Real number approximately equal to 6

c. Integers very far from 10


NAME: MICHELLE VANESSA LAWRENCE
STUDENT ID: BCS22090035

d. Complex numbers near the origin

e. Light (weight)
NAME: MICHELLE VANESSA LAWRENCE
STUDENT ID: BCS22090035

f. Heavy (weight)

3. List six linguistic variables from the field of acoustics (or any
field that is of interest to you).
I. Pitch:
High, Medium, Low
Linguistic terms: High pitch, Medium pitch, Low pitch
II. Volume (Intensity):
Loud, Moderate, Soft
Linguistic terms: Loud volume, Moderate volume, Soft volume
III. Timbre (Tone Quality):
Bright, Warm, Mellow
Linguistic terms: Bright timbre, Warm timbre, Mellow timbre
IV. Duration:
Short, Moderate, Long
Linguistic terms: Short duration, Moderate duration, Long duration
V. Tempo:
Fast, Moderate, Slow
Linguistic terms: Fast tempo, Moderate tempo, Slow tempo
VI. Harmony:
Consonant, Dissonant, Neutral
Linguistic terms: Consonant harmony, Dissonant harmony, Neutral
harmony
NAME: MICHELLE VANESSA LAWRENCE
STUDENT ID: BCS22090035

4. Using rules in Q3 as illustrations, list four more rules and their


associated membership functions.

Rule 1: High-Pitched and Loud implies Excitement


➔ Membership Function: excitement_membership =
np.minimum(pitch_high, volume_loud)
➔ The degree of excitement is determined by the minimum of the
membership values of high pitch and loud volume.

Rule 2: Slow Tempo and Mellow Timbre suggests Calmness


➔ Membership Function: calmness_membership =
np.minimum(tempo_slow, timbre_mellow)
➔ The degree of calmness is determined by the minimum of the
membership values of slow tempo and mellow timbre.

Rule 3: Consonant Harmony and Short Duration leads to Harmony


Completion
➔ Membership Function: harmony_completion_membership =
np.minimum(harmony_consonant, duration_short)
➔ The degree of harmony completion is determined by the minimum
of the membership values of consonant harmony and short
duration.

Rule 4: Fast Tempo and Bright Timbre indicates Energetic Mood


➔ Membership Function: energetic_mood_membership =
np.minimum(tempo_fast, timbre_bright)
➔ The degree of energetic mood is determined by the minimum of
the membership values of fast tempo and bright timbre.
NAME: MICHELLE VANESSA LAWRENCE
STUDENT ID: BCS22090035

5. Let X be the set of all men and Y be the set of all women. Consider
the linguistic variable “weight” and the set of terms {very skinny,
skinny, just right, heavy, very heavy}. Create membership functions
for these terms for both men and women.

Very Skinny (Men/Women):


The membership function for very skinny individuals peaks at a weight of
10. It gradually decreases as weight deviates from 10, reaching zero
around weight values of 20.

Skinny (Men/Women):
The membership function for skinny individuals peaks at a weight of 20. It
gradually decreases as weight deviates from 20, reaching zero around
weight values of 30.

Just Right (Men/Women):


The membership function for individuals with just the right weight peaks
at a weight of 40. It gradually decreases as weight deviates from 40,
reaching zero around weight values of 50.
NAME: MICHELLE VANESSA LAWRENCE
STUDENT ID: BCS22090035

Heavy (Men/Women):
The membership function for heavy individuals peaks at a weight of 60. It
gradually decreases as weight deviates from 60, reaching zero around
weight values of 70.

Very Heavy (Men/Women):


The membership function for very heavy individuals peaks at a weight of
80. It gradually decreases as weight deviates from 80, reaching zero
around weight values of 90.

You might also like