Working Page for Fuzzy Logic HELP

Fuzzy Operators in JavaScript

Enter decimal for value of A : Enter B :
A f-AND B = A f-OR B =
A p-AND B = A p-OR B =
NOT A = NOT B =

1.)a f-and b = min (a,b) Take the lower of the two numbers.     2.)a f-or b = max (a,b) Take the higher number.

3.)a p-and b =a * b Multiply the two numbers.      4.)a p-or b = a + b - (a * b) Subtract product from sum.

5.)Not a = 1 - a. Subtract variable from 1.      6.)Not b = 1 - b. Subtract variable from 1.