Defining formula for fuzzy equation
After i did a bit more study on this, i found this solution.



μsmall[x]


1; -> x≤0
(20-x)/(20-0); -> 0
0; -> x≥20


μmedium[x]


0; -> x≤20 or x≥70
(x-20)/(45-20); -> 20
(70-x)/(70-45); -> 45


μlarge[x]


0; -> x≤70
(x-70)/(100-70); -> 70
1; -> x≥100


For the final result i need to add 3 more rules for the function to work. So it become 9 rules and 3 variables, with 3 rules for each input variables.

To answer both of my question:


Add a triangle graph and use the formula.
Add a triangle graph for each rules.


What i learn from this is the total rules needed to determine the output is the number of input variables rules multiplied(i.e. v1 = 3 rules, v2 3 rules, total rules = 3x3=9 rules). And i'm not really sure about this one but you can combine multiple kind of graphs.