![LeCroy DDA-3000A Скачать руководство пользователя страница 294](http://html1.mh-extra.com/html/lecroy/dda-3000a/dda-3000a_operators-manual_1866311294.webp)
292
WM-OM-E Rev I
Order of Calculations
Operations are performed in the following order:
1. Contents of brackets
2. Exponentiation
3. Division
and
multiplication
4. Addition and subtraction
If there is any doubt as to how the calculation will be done, use brackets. These will also make the
order of the calculations clear to any reader of the program, which is desirable if you are to give it to
a customer, who will want to know what was intended.
Here are some examples of the uses of brackets:
Brackets are worked out before any other operations are performed.
Use brackets to force the result you want, and also to clarify a calculation.
A 1 1 1 1 1 1 1 1 255 0 1 0 1 1 0 1 0 90
(B OR C) AND (D OR E)
B 1 1 1 1 0 0 0 0 240 0 0 0 0 0 0 0 0 0
B OR (C AND D) OR E
C 1 0 1 0 1 0 1 0 130 1 1 1 1 1 0 1 0 250 B OR (C AND (D OR E))
D 0 1 0 1 0 1 0 1 85 0 1 0 1 1 1 1 1 95
((B OR C) AND D) OR E)
E 0 0 0 0 1 1 1 1 15
F 0 0 0 0 0 0 0 0 0
A 7
315 A * B * (C / D) * E * F
B 6
8.75 A * B * C / (D * E * F)
C 5
35
A * B * (C / (D * E) ) * F
D 4
E 3
F 2
Check these results to see whether any errors, deliberate or otherwise, have been introduced.
These results are from file Brackets.Xls. You can make a copy of that file in order to experiment
with different combinations of brackets.
VBS Controls
Do Do Do
. . . . . . . . . . . .
Содержание DDA-3000A
Страница 1: ...LECROY X STREAM OSCILLOSCOPES O P E R AT O R S M A N U A L SEPTEMBER 2006 ...
Страница 18: ...16 WM OM E Rev I BLANK PAGE ...
Страница 64: ...62 WM OM E Rev I icon in Channels dialog zooms one trace zooms all displayed traces ...
Страница 65: ...X Stream Operator s Manual WM OM E Rev I 63 then Math Setup then Measure Setup then Utilities Setup ...
Страница 80: ...78 WM OM E Rev I 4 Select a language 5 Click Next when the Wizard appears ...
Страница 81: ...X Stream Operator s Manual WM OM E Rev I 79 6 Select Complete setup ...
Страница 157: ...X Stream Operator s Manual WM OM E Rev I 155 ...
Страница 170: ...168 WM OM E Rev I 5 Read the status information in line StatusDescription ...
Страница 214: ...212 WM OM E Rev I Delay Parameter Find Range selected ...
Страница 263: ...X Stream Operator s Manual WM OM E Rev I 261 ...
Страница 284: ...282 WM OM E Rev I ...
Страница 285: ...X Stream Operator s Manual WM OM E Rev I 283 Using a Surface Plot Excel Example 5 ...
Страница 321: ...X Stream Operator s Manual WM OM E Rev I 319 Further Examples of MATLAB Waveform Functions Negate the input signal ...
Страница 324: ...322 WM OM E Rev I ...