In this tutorial I go over the use of math functions in fCPU.
You can find the blueprint for this tutorial here:
https://factorioprints.com/view/-MtcX...
fCPU Tutorial Playlist:
• fCPU Tutorial 1 - Basic Overview
Sections:
Arithmetic
0:22 (Addition) 2 Argument vs. 3 Argument commands
3:17 Get Informatron/Booktorio
3:43 Breif description of Modulo (mod) command
4:54 (Subtraction) fCPU handles negative numbers & decimals
5:44 Division & Decimals
5:59 'fract' - Get Decimal part of a number
7:13 'rand' - Get a Random number between two values
9:38 Inverted Arithmetic commands (subi, divi, powi, etc.)
10:56 Exponentiation with 'pow' & 'powi'
Trigonometry
13:00 Trigonometry functions are done in Radians
13:45 Euler's Number & Natural Logarithms
14:08 Word of caution when canceling values using inverse functions (You'll probably be left wtih an residual decimal value in addition to what you wanted)
15:15 (not important in any way) Brief tangent on the CORDIC algorithm
15:47 Recap on tips for using Trigonometric functions
16:19 Issues with using constants like Pi
16:59 Constants like Pi aren't built-in (so you'll have to save them manually (probably up to 15-20 decimal places if you really need precision)
18:05 Next parts in the tutorial series.
On this page of the site you can watch the video online fCPU Tutorial 3 - Math Functions with a duration of hours minute second in good quality, which was uploaded by the user BLU12 Gaming 16 January 2022, share the link with friends and acquaintances, this video has already been watched 444 times on youtube and it was liked by 10 viewers. Enjoy your viewing!