Difference between revisions of "TI-BASIC:SK:Math Intro"
(Initial automated import) |
(Automated internal link correction) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Now that you know how to utilize both the graph screen and the home screen, the next step to making wonderful programs is learning how to use the math. That's right: math. Most programs have to use math in order to run. Games that include gravity is an example. The math functions are pretty straightforward, however, their implementation requires some masterful skill. If you can learn to use the simple math functions to create angles, gravity, arcs, distance, and dilations, then you can really become a master programmer! | Now that you know how to utilize both the graph screen and the home screen, the next step to making wonderful programs is learning how to use the math. That's right: math. Most programs have to use math in order to run. Games that include gravity is an example. The math functions are pretty straightforward, however, their implementation requires some masterful skill. If you can learn to use the simple math functions to create angles, gravity, arcs, distance, and dilations, then you can really become a master programmer! | ||
− | + | __TOC__ | |
= Basic Operators = | = Basic Operators = | ||
Line 9: | Line 9: | ||
= Powers and Exponentials = | = Powers and Exponentials = | ||
− | This would include all the commands that deal with exponentiation, like [[TI-BASIC:Power|^]], | + | This would include all the commands that deal with exponentiation, like [[TI-BASIC:Power|^]], <span style="font-size: 80%">[[TI-BASIC:Ten_Exponent|10]]</span>^(, <span style="font-size: 80%">[[TI-BASIC:E_Ten|EE]]</span>, and ''[[TI-BASIC:E_Exponent|e^(]]''. This also includes the inverses such as [[TI-BASIC:Square_Root|√]], [[TI-BASIC:Cube_Root|³√(]], [[TI-BASIC:Xroot|×√]], and [[TI-BASIC:Log|Log(]] and [[TI-BASIC:Ln|Ln(]]. These commands have a plethora of applications, one of them being the emulation of gravity. |
= Probability = | = Probability = | ||
Line 26: | Line 26: | ||
{{Template:TI-BASIC:Next-prev | {{Template:TI-BASIC:Next-prev | ||
− | |prevpage = | + | |prevpage = TI-BASIC:SK:Pong |
|prevtitle = Sample Program:Pong | |prevtitle = Sample Program:Pong | ||
− | |tocpage = | + | |tocpage = TI-BASIC:Starter_Kit |
|toctitle = Table of Contents | |toctitle = Table of Contents | ||
− | |nextpage = | + | |nextpage = TI-BASIC:SK:Operators |
|nexttitle = Operators}}[[Category:TI-BASIC]] | |nexttitle = Operators}}[[Category:TI-BASIC]] | ||
[[Category:TIBD]] | [[Category:TIBD]] |
Latest revision as of 00:53, 25 February 2016
Now that you know how to utilize both the graph screen and the home screen, the next step to making wonderful programs is learning how to use the math. That's right: math. Most programs have to use math in order to run. Games that include gravity is an example. The math functions are pretty straightforward, however, their implementation requires some masterful skill. If you can learn to use the simple math functions to create angles, gravity, arcs, distance, and dilations, then you can really become a master programmer!
Basic Operators
These basic operators would include just the basic +,-, *, /. These are commonly taken for granted. Even though these operations are very basic and are used for simple arithmetic, they can be very powerful, as this tutorial will show.
Powers and Exponentials
This would include all the commands that deal with exponentiation, like ^, 10^(, EE, and e^(. This also includes the inverses such as √, ³√(, ×√, and Log( and Ln(. These commands have a plethora of applications, one of them being the emulation of gravity.
Probability
This includes the commands of the random numbers as well as NPr, NCr, and !. These can be used to determine outcomes and allow for computer intelligence.
Trigonometry
These are some of the most powerful functions, including Sin(, Cos(, Tan(, and their inverses. If these functions are used in the correct way, then you can create angles and simulate bouncing off of walls, off curved surfaces, and off angled surfaces. These functions can also be used to perform physics solutions to the transfer of momentum, friction, and rates.
Complex Numbers
This is probably one of the hardest types of math to use. Complex numbers are numbers with an i part, where i=√(-1). Using these is challenging, but also very useful. You can use imaginary operations to find coordinate locations and store other parts of information.
The math operations that will be discussed in this chapter will be about the advanced uses of the functions. You should already know how to use some of the above to perform various calculations, but the content of this chapter will be about how the operations can be used to perform calculations beyond what you can imagine. Another thing to consider is the use of these functions. Programs don't have to be all games, but you can create a various amount math routines.
<< Sample Program:Pong | Table of Contents | Operators >> |