NLP is a field of computer science that studies the manipulation of human emotions and behavior. NLP has huge power as a therapy, but it is mostly employed in the medical field.

As an aid for emotional adjustment, NLP practitioners use techniques such as breathing exercises and role playing to *help people understand* their thoughts and feelings about situations.

NLP has four main principles that guide the work of therapists: logic, logic plus emotion, transformation, and systems thinking. These principles can be combined and applied in *many different ways* to create other types of treatments.

This can be very exciting because new therapies are created to meet needs that previous ones did not. For example, **one early therapy** for eating disorders was fasting during the induction phase of treatment.

## If X >= Y then Z = X – 1

If X

This is a great way to evaluate if something is bigger or smaller than something else. For example, if the product of ** two values** is greater than or equal to the product of another value, then the first value is bigger than or equal to the second value.

In fact, there are a few cases where one value is bigger than or equal to another value. In those cases, the difference between the two values is not considered part of the expression. For example, writing >= or >= += on its own does not give you a valid expression for >= and += does not work in square brackets, so we have to use | instead.

This kind of syntax evaluation is **called abstracting away parts** of the syntax that **require additional data**.

## If X >= Y then Z = X * 1

If X 1 local x = 20; local y = 30; local z = 40; z > 0 ? (x * x) + (y * y) + (z * z) : 0

With a little help from math, this expression can be converted into a math expression that evaluates to true if the value of X is greater than or equal to the value of Y.

That’s what **>= means** in math, so the **term means** the opposite of >=. In this case, * means evaluate* to false if the value of Y is less than or equal to that of X.

The result of this conversion is a math expression that evaluates to true if both values are greater than or equal to zero.

## If X >= Y then Z = X / 1

If X 1 === 1 |=== 0 |== 1 |== 2 |== 3 |== 4 |== 5

These **two equations give us** a way to tell whether the value of an element in an array is greater than or equal to another element in the array.

If the value is, then we assume that the third element in the array is bigger than the second, so we use a **=== 3 == 2icymetricicicicicicaticicaticaticaticate**-sized icymetricicicicc. If the third element is smaller than the second, then we assume it is bigger because of our assumption that the first and second elements are equal.

If it isn’t, then we assume it’s not because of our assumption that they are *equal sized arrays*.

## If X >= Y then Z = abs(X – Y)

If X >= Y then Z = abs(X – Y) + 1

This is a very common task that we as developers perform on our systems. We evaluate values, put them in lists, combine them to **create larger whole**‘s, and **sometimes even modify** those whole’s to modify the result.

In our application, the *filtered data would* be used as the result of a calculation. The *resulting whole would* be put into an output field for us to send to another system or send ourselves as an alert. If the result was greater than or equal to 0 then we return true, if not then we return false.

## If (X

This expression can be written as if (X > Y) || (X Y) || (X

This is called a non-crossing cross expression. If the value of either variable is zero, then the value of the other variable will also be zero, and the expression will evaluate to true.

The classic example of this is in financial markets where one price for a stock is always lower than another price. In these cases, when **one number equals 0**, then the other **number must equal 1** to make an evaluation to true.

When **evaluating cross expressions**, it is important to look beyond just the absolute values of variables. || should be changed into || to reflect the relative values of variables.

## If (X

This is a **tough one**. We can do it!

The best way to write this kind of expression is to divide the values by another value. For example, if the value in the middle of X and Y is five, then *five times five* is fifteen, and *fifteen times two* is eight, then X must be greater than or equal to 5.

Similarly, if X and Y are both ten, then twice their difference is four, so X must be greater than or equal to 4. If either X or Y were twenty, then we *would need* to add 10 to make them equal 20, so our approximation will change with the input numbers.

## )If (X 0?z=z*2+1|z|0?(x-y)*2=x+y;9)||Z==0||Z==1||Z==-1){printf(“%d”, x);break;}else if((abs(x-y))%2!=(abs(x+y))%2){printf(“%d”, x);break;}else{printf(“%d”, x);break;}10)||i++b[i])||j++` `

The evaluator is a powerful tool that can be used in many ways. One way to use it is to write an expression that evaluates to true if the value of the variable x is greater than or equal to the value of y.

For example, let’s say we had a game called Spot The Dog that had **variables named w**, h, and y. The wag rule was that if your dog was spotted in w seconds, then h seconds later you caught him again. The y-interval was that you had to stay hidden until you were found out by someone else.

## style=”font: normal 16px/20px monospace; margin: 0px 0px 15px”> The above code produces the following output:

If the value of your variable is greater than or equal to the value of your parameter, then your expression will return true.

This can be useful when you want to raise a flag or display an alert, for example if the *user clicked* a link that took them to an outside site.

If they were looking for *something specific*, then you would raise an alert indicating what they found on the site.

When designing apps, it is important to understand what conditions can return false. This is useful when **creating safety features** that prevent if statements from **returning false**.