Logarithm kalkulators
Aprēķina skaitļa logaritmu jebkurā bāzē, plus dabisko logaritmu.
Rezultāti atjaunināt, kā jūs tipa.
Par šo kalkulatoru
A logarithm answers the question "what power do I raise the base to, to get this number?" This calculator computes the log in any base you choose (default base 10) and also always shows the natural log (base e) and the common log (base 10), plus a check that raises the base to the result to confirm it returns your number.
It uses the change-of-base rule, log_b(x) = ln(x) / ln(b), so it can work in any base from the natural logarithm. For example, log base 10 of 1000 is 3, because 10^3 = 1000, and the check line shows 10 ^ 3 = 1000. The natural log of the same number, ln(1000), is about 6.908. The input must be positive, and the base must be positive and not equal to 1, since logs are undefined outside those limits.
Logarithms turn multiplication into addition and compress huge ranges, which is why they power the decibel and Richter scales, pH, compound-growth timelines and information theory. They are the inverse of exponentiation, undoing a power to recover its exponent.
Bieži uzdotie jautājumi
Kas ir logaritms?
Tā ir eksponentācijas pretruna. log10(1000) = 3, jo 103 = 1000. Žurnāls norāda uz eksponentu, kas nepieciešams, lai sasniegtu skaitli.
Kāda ir bāzes maiņas formula?
Lai atrastu žurnālu jebkurā bāzē no kalkulatora, kas ir tikai ln vai log10, izmantojiet log_b(x) = ln(x) / ln(b).
Kas ir dabas log?
The natural log, written ln, is the logarithm in base e (about 2.71828). This tool shows ln alongside whatever base you pick.
Kāds ir kopējais log?
Kopīgais logaritms ir logaritms bāzē 10, rakstīts log vai log10. Tas tiek parādīts arī automātiski neatkarīgi no bāzes, kuru jūs izvēlaties.
Kāpēc šim skaitlim jābūt pozitīvam?
Jūs nevarat paaugstināt pozitīvu bāzi jebkurā reālās jaudas un iegūt nulles vai negatīvu skaitli, tāpēc apaļkoki nulles vai negatīvus ir nedefinēti.
Kāpēc pamats nevar būt 1?
Viena no tām, kas tiek paceltas jebkurā pakāpē, vienmēr ir 1, tāpēc 1 bāze nekad nevarētu sasniegt citu skaitli — logaritms nav definēts. Bāzei arī jābūt pozitīvai.
API – izmantot šo kalkulatoru no koda
Sūtīt lauka vērtības zemāk kā vaicājumu parametrus vai JSON. Jebko, ko nelaižat, izmanto to pašu noklusēto šo lapu, ar kuru tiek aizpildīta nezināma parametra versija 400, nekad kluss nulles variants. Lasīt visus API dokumentus →
Mērķa punkts
GET https://calculator.free/api/v1/logarithm/
curl
curl "https://calculator.free/api/v1/logarithm/?number=1000&base=10"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/logarithm/?" + new URLSearchParams({
"number": "1000",
"base": "10"
}));
const data = await r.json();
console.log(data.results);
Rezultāti ir aprēķini tikai par vispārējiem norādījumiem, nevis finanšu, medicīnas vai nodokļu konsultācijām.