| 1 |
<html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 2 |
<title>Formulas 1.1. Formulas in the calculator</title> |
| 3 |
<style> |
| 4 |
td { padding-left: 5pt; padding-right: 5pt; } |
| 5 |
th { padding-left: 5pt; padding-right: 5pt; } |
| 6 |
code { white-space: pre-wrap; } |
| 7 |
dd { white-space: pre-wrap; } |
| 8 |
</style> |
| 9 |
</head><body bgcolor="#FFFFFF"> |
| 10 |
|
| 11 |
<table border=0 cellpadding=0 cellspacing=0><tr><td bgcolor="#CCCC00"><table border=4 cellpadding=9><tr><td align=middle bgcolor="#000000"><font face="Palatino,Times" size=6 color="#999900"><b> |
| 12 |
Formulas 1.1. Formulas in the calculator |
| 13 |
</b></font></table></table> |
| 14 |
<p>To use the Praat <a href="Calculator.html">calculator</a>, go to the <a href="Praat_menu.html">Praat menu</a> and choose <a href="Calculator___.html">Calculator...</a> from the <a href="Goodies.html">Goodies</a> submenu. Or simply type <a href="Keyboard_shortcuts.html">Command-U</a> anywhere in Praat.</p> |
| 15 |
<h2>Calculating numbers</h2> |
| 16 |
<p>You can do arithmetic computations. Type the formula</p> |
| 17 |
<code> 8*17<br></code> |
| 18 |
<p>and click OK. The Info window will pop up and show the result:</p> |
| 19 |
<code> 136<br></code> |
| 20 |
<h2>Calculating strings</h2> |
| 21 |
<p>You can also do text computations. Type the formula</p> |
| 22 |
<code> "see" + "king"<br></code> |
| 23 |
<p>and click OK. The Info window will show the result:</p> |
| 24 |
<code> seeking<br></code> |
| 25 |
<h2>Calculating arrays</h2> |
| 26 |
<p>You can perform computations on vectors (arrays of numbers). Type the formula</p> |
| 27 |
<code> { 11, 13, 17 } + 0.5<br></code> |
| 28 |
<p>and click OK. The Info window will show the result:</p> |
| 29 |
<code> 11.5<br></code> |
| 30 |
<code> 13.5<br></code> |
| 31 |
<code> 17.5<br></code> |
| 32 |
<h3>Links to this page</h3> |
| 33 |
<ul> |
| 34 |
<li><a href="Formulas.html">Formulas</a> |
| 35 |
<li><a href="Formulas_1__My_first_formulas.html">Formulas 1. My first formulas</a> |
| 36 |
</ul> |
| 37 |
<hr> |
| 38 |
<address> |
| 39 |
<p>© ppgb 20170916</p> |
| 40 |
</address> |
| 41 |
</body> |
| 42 |
</html> |