Matematični vnos

Also known as Numerical Input boxes. You can make Krita do simple maths for you in the places where we have number input. Just select the number in a spinbox, or right-click a slider to activate number input. It doesn’t do unit conversion yet, but this is planned.

Možne funkcije

Seštevanje (operator: + )

Samo sešteje števila. Raba: 50+100 Izhod: 150

Odštevanje (operator: - )

Samo odšteje zadnje število od prvega. Raba: 50-100 Izhod: 50

Množenje (operator: * )

Samo pomnoži števila. Raba: 50*100 Izhod: 5000

Deljenje (operator: / )

Samo deli števili. Raba: 50/100 Izhod: 0.5

Eksponent (operator: ^ )

Makes the last number the exponent of the first and calculates the result. Usage: 2^8 Output: 256

Sinus (operater: sin() )

Vrne sinus danega zornega kota. Raba: sin(50) Izhod: 0,76

Kosinus (operator: cos() )

Vrne kosinus danega kota. Raba: cos(50) Izhod: 0,64

Tangens (operater: tan()

Vrne tangens danega kota. Raba: tan(50) Izhod: 1,19

Arkus sinus (operator: asin() )

Inverzna funkcija sinusa, vrne kot, katerega sinus je enak argumentu. Raba: asin(0,76) Izhod: 50

Arkus kosinus (operator: acos() )

Inverse function of the cosine, gives you the angle which the cosine equals the argument. Usage: acos(0.64) Output: 50

Arkus tangens (Operator: atan() )

Inverzna funkcija tangensa, vrne kot, katerega tangens je enak argumentu. Raba: atan(1,19) Izhod: 50

Absolutno (operator: abs()

Vrne vrednost brez negativnega predznaka. Raba: abs(75-100) Izhod: 25

Eksponent (operator: exp() )

Gives you given values using e as the exponent. Usage: exp(1) Output: 2.7183

Naravni logaritem (operator: ln() )

Gives you the natural logarithm, which means it has the inverse functionality to exp(). Usage: ln(2) Output: 0.6931

Naslednje je tehnično podprto, vendar s hrošči:

Desetiški logaritem (operator: log10() )

Vrne logaritem dane vrednosti. Raba: log10(50) Izhod: 0,64

Zaporedje operacij.

Vrstni red operacij je globalno dogovorjen z vrstnim redom branja za tolmačenje matematičnih izrazov. Rešuje, kako naj bo prebran izraz, kot je:

2+3*4

You could read it as 2+3 = 5, and then 5*4 =20. Or you could say 3*4 = 12 and then 2+12 = 14.

The order of operations itself is Exponents, Multiplication, Addition, Subtraction. So we first multiply, and then add, making the answer to the above 14, and this is how Krita will interpret the above.

We can use brackets to specify certain operations go first, so to get 20 from the above expression, we do the following:

( 2+3 )*4

Krita can interpret the brackets accordingly and will give 20 from this.

Napake

Sometimes, you see the result becoming red. This means you made a mistake and Krita cannot parse your maths expression. Simply click the input box and try again.