Version compl�te: jsB@nk » Calcul » Calculatrice » Calculatrice scientifique pour chimiste avec bloc-notes
URL: https://www.javascriptbank.com/scientific-calculator-for-chemists.html
Calculatrice scientifique pour chimiste avec bloc-notes est pleinement opérationnel JavaScript calculatrice. Cet Calculateur de code peut être utilisée comme Calculateur de code (sin, cos, log, puissance, racine, mémoire), mais il comporte également une calculatrice de masse molaire et une table de diverses constantes physiques et chimiques. La calculatrice contient une liste avec l'historique de la tâche, le stockage de tous les apports et les résultats récents. Calculatrice scientifique affiche le nombre arrondi à un utilisateur spécifié par le nombre de décimales.
Version compl�te: jsB@nk » Calcul » Calculatrice » Calculatrice scientifique pour chimiste avec bloc-notes
URL: https://www.javascriptbank.com/scientific-calculator-for-chemists.html
<script language="javascript"><!--// Scientific Calculator written by Eni Generalicvar broj = "0"var tocka = 0var eksp = 0var eksponent = 3var rjesenje = 0var zastavica = 0var decimala = 0var enter = ""var ConstOpen = 0var ConstWin = ""var MenuOpen = 0var MenuWin = ""var CalcOpen = 0var CalcWin = ""var MainWin = ""var element = ""var abc = "";function start(){enter = document.racunalo.notes.value;if (enter.length > 2) {enter = enter.charAt(enter.length-1)};document.racunalo.notes.value = "";document.racunalo.zadatak.focus()}function remote(stranica){ConstOpen = 1;if (ConstWin.open) {ConstWin.document.konstante.naslov.focus()}else {ConstWin=window.open(stranica, "", "width=300,height=500,scrollbars=yes");ConstWin.creator=self}}function Zatvoreno() {if (ConstOpen == 1) {ConstWin.ConstOpen = 1; ConstWin.close()}if (CalcOpen == 1) {CalcWin.close()}if (MenuOpen == 1) {MenuWin.close()}}function memory(operator) {document.racunalo.zadatak.focus();if (operator == 1) {// MS document.racunalo.memorija.value = document.racunalo.rezultat.value}else if (operator == 2){// MRvar memorija = document.racunalo.memorija.value;if (memorija==0 || slovo(memorija.charAt(0))) {memorija = ""};document.racunalo.zadatak.value += memorija}else if (operator == 3) {// CLSif (document.racunalo.zadatak.value == "") {document.racunalo.rezultat.value = ""}else {document.racunalo.zadatak.value = ""}}else if (operator == 4) {// Resetdocument.racunalo.notes.value = "";document.racunalo.zadatak.focus()}}function display(noviznak) {if (noviznak==""){document.racunalo.zadatak.focus()}else{document.racunalo.rezultat.select()}}function dodajBroj(noviznak) {document.racunalo.zadatak.focus();document.racunalo.zadatak.value += noviznak}function izracunaj(zarez) {var pitanje = "";var mem = 0;if (zarez >= 1) {if (document.racunalo.zadatak.value == "") {broj = document.racunalo.rezultat.value}else { broj = document.racunalo.zadatak.value;if (ubacirezultat(broj.charAt(0))) {broj = document.racunalo.rezultat.value + broj}}}for (var i=0; i<broj.length; i++) {if (slovo(broj.charAt(i))) {var kem = 1};if (broj.charAt(i) == ",") {pitanje += "."}else if (broj.charAt(i) == " ") {}else {pitanje += broj.charAt(i)}}if (operator(broj.charAt(broj.length-1))) {return false};if (zarez == 1) {document.racunalo.notes.value += pitanje + enter;if (kem == 1) {var atom = "+" + pitanje;pitanje = masa(atom)}else {pitanje = eval("1*" + pitanje)}}else if (zarez > 1) {pitanje = eval("1*" + pitanje);pitanje = matematika(zarez, pitanje)}document.racunalo.oldrezultat.value = pitanje;zaokruzi(pitanje);document.racunalo.zadatak.value = ""; document.racunalo.zadatak.focus()}function matematika(zarez, rjesenje) { with (Math) {if (zarez == 2) {document.racunalo.notes.value += rjesenje + "^2" + enter;rjesenje = pow(rjesenje, 2)}else if (zarez == 3) {document.racunalo.notes.value += rjesenje + "^(1/2)" + enter;rjesenje = sqrt(rjesenje)}else if (zarez == 4) {document.racunalo.notes.value += rjesenje + "*(-1)" + enter;rjesenje = -rjesenje}else if (zarez == 5) {document.racunalo.notes.value += "ln(" + rjesenje + ")" + enter;rjesenje = log(rjesenje)}else if (zarez == 6) {document.racunalo.notes.value += "e^" + rjesenje + enter;rjesenje = pow(E, rjesenje)}else if (zarez == 7) {document.racunalo.notes.value += "1/" + rjesenje + enter;rjesenje = 1/rjesenje}else if (zarez == 8) {document.racunalo.notes.value += "log(" + rjesenje + ")" + enter;rjesenje = log(rjesenje)/LN10}else if (zarez == 9) {document.racunalo.notes.value += "10^" + rjesenje + enter;rjesenje = pow(10, rjesenje)}else if (zarez >= 10 && zarez <= 12) {if (zarez == 10) {document.racunalo.notes.value += "atan(" + rjesenje + ")" + enter;rjesenje = atan(rjesenje)}else if (zarez == 11) {document.racunalo.notes.value += "acos(" + rjesenje + ")" + enter;rjesenje = acos(rjesenje)}else if (zarez == 12) {document.racunalo.notes.value += "asin(" + rjesenje + ")" + enter;rjesenje = asin(rjesenje)}if (document.racunalo.stupnjevi[1].checked) {rjesenje = (rjesenje * 180) / PI}}else if (zarez >= 14 && zarez <= 16) {if (document.racunalo.stupnjevi[1].checked){radijani = (rjesenje / 180) * PI}else{radijani = rjesenje};if (zarez == 14) {document.racunalo.notes.value += "tan(" + rjesenje + ")" + enter;rjesenje = tan(radijani)}else if (zarez == 15) {document.racunalo.notes.value += "cos(" + rjesenje + ")" + enter;rjesenje = cos(radijani)}else if (zarez == 16) {document.racunalo.notes.value += "sin(" + rjesenje + ")" + enter;rjesenje = sin(radijani)}}else if (zarez == 17) {document.racunalo.notes.value += rjesenje + "%" + enter;rjesenje = rjesenje/100}else if (zarez == 18) {document.racunalo.notes.value += rjesenje + "ppm" + enter;rjesenje = rjesenje/1000000}else if (zarez == 20) {document.racunalo.notes.value += rjesenje + "!" + enter;rjesenje = factorial(rjesenje)}else if (zarez == 21) {eksponent = prompt("Unesite eksponent / Please enter exponent", 3);document.racunalo.notes.value += rjesenje + "^" + eksponent + enter;rjesenje = pow(rjesenje, eksponent)}else if (zarez == 22) {eksponent = prompt("Unesite korijen / Please enter root", 3);document.racunalo.notes.value += rjesenje + "^(1/" + eksponent + ")" + enter;rjesenje = pow(rjesenje, (1/eksponent))}return rjesenje }}function zaokruzi(ebroj) {decimala=parseFloat(document.racunalo.izaZareza.options[document.racunalo.izaZareza.selectedIndex].value);var strbroj = ebroj + " ";if (strbroj.charAt(0) == ".") {strbroj = "0" + strbroj};var intbroj = strbroj.length - 1;deczarez(strbroj);if (intbroj > 16 && eksp == -1) {if (decimala == -1) {decimala = 14};strbroj = izazareza(strbroj.substring(0,intbroj)) + " ";intbroj = strbroj.length - 1;deczarez(strbroj)}if (decimala >= 0 && decimala != 14) {if (tocka > 0) {var odgovor = izazareza(strbroj.substring(0,intbroj))}else {ebroj = strbroj.substring(0,intbroj);if (decimala > 0) {ebroj += ".";for (var n = 0; n < decimala; n++) {ebroj += "0"}}var odgovor = ebroj}}else {decimala = 14;var odgovor = izazareza(strbroj)}if (odgovor.charAt(0) == ".") {odgovor = "0" + odgovor};document.racunalo.rezultat.value = odgovor;document.racunalo.notes.value += " = " + odgovor + enter;}function deczarez(novibroj) {tocka = 0;eksp = 0;tocka = novibroj.indexOf(".");eksp = novibroj.indexOf("e")}function izazareza(novibroj) { with (Math) {if (eksp == -1) {var duzina = tocka;if (duzina == -1) {duzina = novibroj.length};var desni = "";if (duzina > 16) {var privremeni = round(novibroj*pow(10, 18)) + " ";var novie = privremeni.indexOf("e");var lijevi = (privremeni.substring(0,novie));lijevi = round(lijevi*pow(10, 15))/pow(10, 15) + " ";desni = (privremeni.substring(novie+2,privremeni.length-1));desni = "e+" + (desni-18)}else {var lijevi = round(novibroj*pow(10, decimala))/pow(10, decimala) + " "}}else {var lijevi = novibroj.substring(0,eksp);var desni = novibroj.substring(eksp,novibroj.length);lijevi = round(lijevi*pow(10, decimala))/pow(10, decimala) + " "}lijevi = lijevi.substring(0,lijevi.length - 1);if (lijevi.charAt(0) == ".") {lijevi = "0" + lijevi};if (decimala < 14) {if (lijevi.indexOf(".") == -1 && decimala != 0) {lijevi += "."};var nula = (tocka + decimala) - (lijevi.length - 1);if (nula > 0 && decimala > 0) {for (var n = 0; n < nula; n++) {lijevi += "0"}}}return (lijevi + " " + desni) }}function factorial(n) {if ((n == 0) || (n == 1)) {return 1}else {var odgovor = (n * factorial(n-1));return odgovor}}function masa(atom) { with (Math) { var atominfo = falsevar mm=""var mmdn=""var mmup=""var znak=""var izraz=""var H=1.00794var He=4.002602var Li=6.941var Be=9.012182var B=10.811var C=12.0107var N=14.0067var O=15.9994var F=18.9984032var Ne=20.1797var Na=22.98977var Mg=24.305var Al=26.981538var Si=28.0855var P=30.973761var S=32.065var Cl=35.453var Ar=39.948var K=39.0983var Ca=40.078var Sc=44.95591var Ti=47.867var V=50.9415var Cr=51.9961var Mn=54.938049var Fe=55.845var Co=58.9332var Ni=58.6934var Cu=63.546var Zn=65.39var Ga=69.723var Ge=72.64var As=74.9216var Se=78.96var Br=79.904var Kr=83.8var Rb=85.4678var Sr=87.62var Y=88.90585var Zr=91.224var Nb=92.90638var Mo=95.94var Tc=98var Ru=101.07var Rh=102.9055var Pd=106.42var Ag=107.8682var Cd=112.411var In=114.818var Sn=118.71var Sb=121.76var Te=127.6var I=126.90447var Xe=131.293var Cs=132.90545var Ba=137.327var La=138.9055var Ce=140.116var Pr=140.90765var Nd=144.24var Pm=145var Sm=150.36var Eu=151.964var Gd=157.25var Tb=158.92534var Dy=162.5var Ho=164.93032var Er=167.259var Tm=168.93421var Yb=173.04var Lu=174.967var Hf=178.49var Ta=180.9479var W=183.84var Re=186.207var Os=190.23var Ir=192.217var Pt=195.078var Au=196.96655var Hg=200.59var Tl=204.3833var Pb=207.2var Bi=208.98038var Po=209var At=210var Rn=222var Fr=223var Ra=226var Ac=227var Th=232.0381var Pa=231.03588var U=238.02891var Np=237var Pu=244var Am=243var Cm=247var Bk=247var Cf=251var Es=252var Fm=257var Md=258var No=259var Lr=262var Pi=3.141592653589793;for (var i=0; i<atom.length; i++) {mm = atom.charAt(i)mmup = atom.charAt(i+1)bigup=mm.toUpperCase()mmdn = atom.charAt(i-1);if (mm == "[") {mm = "("}else if (mm == "]") {mm = ")"}else if (mm == ",") {mm = "."}if (slovo(mm)) {atominfo = true};if (matoperator(mm)) {atominfo = false; znak=""};if (atominfo) {if (matoperator(mmup)) {znak=")"}if (matoperator(mmdn)) {izraz += "(" + mm + znak}else if (mmdn=="(") {izraz += mm + znak}else if (mmdn=="[") {izraz += mm + znak}else if (slovo(mm)) {izraz += "+" + mm + znak}else if (BrojAtoma(mmdn)) {izraz += mm + znak}else if (BrojAtoma(mm)) {izraz += "*" + mm + znak}else {izraz += mm + znak}}else {izraz += mm}}odgovor = eval(izraz);return odgovor }}function slovo(znak) {var slovo="(ABCDEFGHIKLMNOPRSTUVWXYZ";for (var i=0; i<slovo.length; i++)if (znak == slovo.charAt(i)) {return true} {return false}}function matoperator(znak) {var matoperator="*/+-";for (var i=0; i<matoperator.length; i++)if (znak == matoperator.charAt(i)) {return true}if (znak == "") {return true}if (znak == null) {return true}return false}function operator(znak) {var matoperator="*/+-";for (var i=0; i<matoperator.length; i++)if (znak == matoperator.charAt(i)) {return true}return false}function ubacirezultat(znak) {var ubacirezultat="*/+";for (var i=0; i<ubacirezultat.length; i++)if (znak == ubacirezultat.charAt(i)) {return true}return false}function BrojAtoma(znak){var atom = "1234567890";for (var i=0; i<atom.length; i++)if (znak == atom.charAt(i)) {return true} {return false}}function Slika(adresa) {window.opener.location=adresa}function MenuBotun(adresa) {if (MenuWin.open) {MenuWin.document.daljinski.elementi.focus()}else {MenuWin = window.open(abc + adresa, "_blank", "width=110,height=270,toolbar=0,directories=0,resizable=1,scrollbars=0"); MenuWin.creator = self;MenuOpen = 1}}function CalcBotun(adresa) {if (CalcWin.open) {CalcWin.document.racunalo.zadatak.focus()}else {CalcWin = window.open(abc + adresa, "_blank", "width=308,height=425,toolbar=0,directories=0,resizable=1,scrollbars=0");CalcWin.creator = self;CalcOpen = 1}}function NoviElement(noviznak) {var greska = 0;noviznak = noviznak.toLowerCase()if (noviznak == "h" || noviznak == "hydrogen" || noviznak == "1") {element="h"}else if (noviznak == "he" || noviznak == "helium" || noviznak == "2") {element="he"}else if (noviznak == "li" || noviznak == "lithium" || noviznak == "3") {element="li"}else if (noviznak == "be" || noviznak == "beryllium" || noviznak == "4") {element="be"}else if (noviznak == "b" || noviznak == "boron" || noviznak == "5") {element="b"}else if (noviznak == "c" || noviznak == "carbon" || noviznak == "6") {element="c"}else if (noviznak == "n" || noviznak == "nitrogen" || noviznak == "7") {element="n"}else if (noviznak == "o" || noviznak == "oxygen" || noviznak == "8") {element="o"}else if (noviznak == "f" || noviznak == "fluorine" || noviznak == "9") {element="f"}else if (noviznak == "ne" || noviznak == "neon" || noviznak == "10") {element="ne"}else if (noviznak == "na" || noviznak == "sodium" || noviznak == "11") {element="na"}else if (noviznak == "mg" || noviznak == "magnesium" || noviznak == "12") {element="mg"}else if (noviznak == "al" || noviznak == "aluminium" || noviznak == "13") {element="al"}else if (noviznak == "si" || noviznak == "silicon" || noviznak == "14") {element="si"}else if (noviznak == "p" || noviznak == "phosphorus" || noviznak == "15") {element="p"}else if (noviznak == "s" || noviznak == "sulfur" || noviznak == "16") {element="s"}else if (noviznak == "cl" || noviznak == "chlorine" || noviznak == "17") {element="cl"}else if (noviznak == "ar" || noviznak == "argon" || noviznak == "18") {element="ar"}else if (noviznak == "k" || noviznak == "potassium" || noviznak == "19") {element="k"}else if (noviznak == "ca" || noviznak == "calcium" || noviznak == "20") {element="ca"}else if (noviznak == "sc" || noviznak == "scandium" || noviznak == "21") {element="sc"}else if (noviznak == "ti" || noviznak == "titanium" || noviznak == "22") {element="ti"}else if (noviznak == "v" || noviznak == "vanadium" || noviznak == "23") {element="v"}else if (noviznak == "cr" || noviznak == "chromium" || noviznak == "24") {element="cr"}else if (noviznak == "mn" || noviznak == "manganese" || noviznak == "25") {element="mn"}else if (noviznak == "fe" || noviznak == "iron" || noviznak == "26") {element="fe"}else if (noviznak == "co" || noviznak == "cobalt" || noviznak == "27") {element="co"}else if (noviznak == "ni" || noviznak == "nickel" || noviznak == "28") {element="ni"}else if (noviznak == "cu" || noviznak == "copper" || noviznak == "29") {element="cu"}else if (noviznak == "zn" || noviznak == "zinc" || noviznak == "30") {element="zn"}else if (noviznak == "ga" || noviznak == "gallium" || noviznak == "31") {element="ga"}else if (noviznak == "ge" || noviznak == "germanium" || noviznak == "32") {element="ge"}else if (noviznak == "as" || noviznak == "arsenic" || noviznak == "33") {element="as"}else if (noviznak == "se" || noviznak == "selenium" || noviznak == "34") {element="se"}else if (noviznak == "br" || noviznak == "bromine" || noviznak == "35") {element="br"}else if (noviznak == "kr" || noviznak == "krypton" || noviznak == "36") {element="kr"}else if (noviznak == "rb" || noviznak == "rubidium" || noviznak == "37") {element="rb"}else if (noviznak == "sr" || noviznak == "strontium" || noviznak == "38") {element="sr"}else if (noviznak == "y" || noviznak == "yttrium" || noviznak == "39") {element="y"}else if (noviznak == "zr" || noviznak == "zirconium" || noviznak == "40") {element="zr"}else if (noviznak == "nb" || noviznak == "niobium" || noviznak == "41") {element="nb"}else if (noviznak == "mo" || noviznak == "molybdenum" || noviznak == "42") {element="mo"}else if (noviznak == "tc" || noviznak == "technetium" || noviznak == "43") {element="tc"}else if (noviznak == "ru" || noviznak == "ruthenium" || noviznak == "44") {element="ru"}else if (noviznak == "rh" || noviznak == "rhodium" || noviznak == "45") {element="rh"}else if (noviznak == "pd" || noviznak == "palladium" || noviznak == "46") {element="pd"}else if (noviznak == "ag" || noviznak == "silver" || noviznak == "47") {element="ag"}else if (noviznak == "cd" || noviznak == "cadmium" || noviznak == "48") {element="cd"}else if (noviznak == "in" || noviznak == "indium" || noviznak == "49") {element="in"}else if (noviznak == "sn" || noviznak == "tin" || noviznak == "50") {element="sn"}else if (noviznak == "sb" || noviznak == "antimony" || noviznak == "51") {element="sb"}else if (noviznak == "te" || noviznak == "tellurium" || noviznak == "52") {element="te"}else if (noviznak == "i" || noviznak == "iodine" || noviznak == "53") {element="i"}else if (noviznak == "xe" || noviznak == "xenon" || noviznak == "54") {element="xe"}else if (noviznak == "cs" || noviznak == "cesium" || noviznak == "55") {element="cs"}else if (noviznak == "ba" || noviznak == "barium" || noviznak == "56") {element="ba"}else if (noviznak == "la" || noviznak == "lanthanum" || noviznak == "57") {element="la"}else if (noviznak == "ce" || noviznak == "cerium" || noviznak == "58") {element="ce"}else if (noviznak == "pr" || noviznak == "praseodymium" || noviznak == "59") {element="pr"}else if (noviznak == "nd" || noviznak == "neodymium" || noviznak == "60") {element="nd"}else if (noviznak == "pm" || noviznak == "promethium" || noviznak == "61") {element="pm"}else if (noviznak == "sm" || noviznak == "samarium" || noviznak == "62") {element="sm"}else if (noviznak == "eu" || noviznak == "europium" || noviznak == "63") {element="eu"}else if (noviznak == "gd" || noviznak == "gadolinium" || noviznak == "64") {element="gd"}else if (noviznak == "tb" || noviznak == "terbium" || noviznak == "65") {element="tb"}else if (noviznak == "dy" || noviznak == "dysprosium" || noviznak == "66") {element="dy"}else if (noviznak == "ho" || noviznak == "holmium" || noviznak == "67") {element="ho"}else if (noviznak == "er" || noviznak == "erbium" || noviznak == "68") {element="er"}else if (noviznak == "tm" || noviznak == "thulium" || noviznak == "69") {element="tm"}else if (noviznak == "yb" || noviznak == "ytterbium" || noviznak == "70") {element="yb"}else if (noviznak == "lu" || noviznak == "lutetium" || noviznak == "71") {element="lu"}else if (noviznak == "hf" || noviznak == "hafnium" || noviznak == "72") {element="hf"}else if (noviznak == "ta" || noviznak == "tantalum" || noviznak == "73") {element="ta"}else if (noviznak == "w" || noviznak == "tungsten" || noviznak == "74") {element="w"}else if (noviznak == "re" || noviznak == "rhenium" || noviznak == "75") {element="re"}else if (noviznak == "os" || noviznak == "osmium" || noviznak == "76") {element="os"}else if (noviznak == "ir" || noviznak == "iridium" || noviznak == "77") {element="ir"}else if (noviznak == "pt" || noviznak == "platinum" || noviznak == "78") {element="pt"}else if (noviznak == "au" || noviznak == "gold" || noviznak == "79") {element="au"}else if (noviznak == "hg" || noviznak == "mercury" || noviznak == "80") {element="hg"}else if (noviznak == "tl" || noviznak == "thallium" || noviznak == "81") {element="tl"}else if (noviznak == "pb" || noviznak == "lead" || noviznak == "82") {element="pb"}else if (noviznak == "bi" || noviznak == "bismuth" || noviznak == "83") {element="bi"}else if (noviznak == "po" || noviznak == "polonium" || noviznak == "84") {element="po"}else if (noviznak == "at" || noviznak == "astatine" || noviznak == "85") {element="at"}else if (noviznak == "rn" || noviznak == "radon" || noviznak == "86") {element="rn"}else if (noviznak == "fr" || noviznak == "francium" || noviznak == "87") {element="fr"}else if (noviznak == "ra" || noviznak == "radium" || noviznak == "88") {element="ra"}else if (noviznak == "ac" || noviznak == "actinium" || noviznak == "89") {element="ac"}else if (noviznak == "th" || noviznak == "thorium" || noviznak == "90") {element="th"}else if (noviznak == "pa" || noviznak == "protactinium" || noviznak == "91") {element="pa"}else if (noviznak == "u" || noviznak == "uranium" || noviznak == "92") {element="u"}else if (noviznak == "np" || noviznak == "neptunium" || noviznak == "93") {element="np"}else if (noviznak == "pu" || noviznak == "plutonium" || noviznak == "94") {element="pu"}else if (noviznak == "am" || noviznak == "americium" || noviznak == "95") {element="am"}else if (noviznak == "cm" || noviznak == "curium" || noviznak == "96") {element="cm"}else if (noviznak == "bk" || noviznak == "berkelium" || noviznak == "97") {element="bk"}else if (noviznak == "cf" || noviznak == "californium" || noviznak == "98") {element="cf"}else if (noviznak == "es" || noviznak == "einsteinium" || noviznak == "99") {element="es"}else if (noviznak == "fm" || noviznak == "fermium" || noviznak == "100") {element="fm"}else if (noviznak == "md" || noviznak == "mendelevium" || noviznak == "101") {element="md"}else if (noviznak == "no" || noviznak == "nobelium" || noviznak == "102") {element="no"}else if (noviznak == "lr" || noviznak == "lawrencium" || noviznak == "103") {element="lr"}else if (noviznak == "rf" || noviznak == "rutherfordium" || noviznak == "104") {element="rf"}else if (noviznak == "db" || noviznak == "dubnium" || noviznak == "105") {element="db"}else if (noviznak == "sg" || noviznak == "seaborgium" || noviznak == "106") {element="sg"}else if (noviznak == "bh" || noviznak == "bohrium" || noviznak == "107") {element="bh"}else if (noviznak == "hs" || noviznak == "hassium" || noviznak == "108") {element="hs"}else if (noviznak == "mt" || noviznak == "meitnerium" || noviznak == "109") {element="mt"}else if (noviznak == "uun" || noviznak == "ununnilium" || noviznak == "110") {element="uun"}else if (noviznak == "uuu" || noviznak == "unununium" || noviznak == "111") {element="uuu"}else if (noviznak == "uub" || noviznak == "ununbium" || noviznak == "112") {element="uub"}else if (noviznak == "uuq" || noviznak == "ununquadium" || noviznak == "114") {element="uuq"}else if (noviznak == "") {greska=1}else {window.alert("Input ELEMENT SYMBOL, ATOMIC NUMBER or NAMES OF ELEMENTS!");greska = 1}if (greska == 0) {MainWin = window.open(abc + element + ".html", "_self")}}//Eni Generalic, Split, Create: 1999/10/14; Update: 2001/12/11//Atomic Weights of the Elements 1999, Pure & Appl. Chem., Vol. 73, No. 4, 667-683 (2001)--></script><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->
<body onload="start()" onunload="Zatvoreno()"><form name="racunalo"><input type="hidden" name="oldrezultat" value=""><input type="hidden" name="memorija" value=""><table border="0" align="center"><tbody><tr> <td align="right" valign="top" rowspan="2"> <table border="4" cellspacing="0" cellpadding="1" align="center" bgcolor="#efefef" width="280"><tbody><tr> <td align="center" valign="middle"> <table border="2" width="100%" cellspacing="3" cellpadding="1" bgcolor="#cccccc"><tbody><tr> <td align="center" valign="middle" width="100%" bgcolor="#efefef"><input type="text" size="14" name="rezultat" value="" onfocus="display(document.racunalo.rezultat.value)" style="background: rgb(239, 239, 239) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 14pt; height: 30px; width: 260px;"></td></tr></tbody></table><table border="2" cellspacing="3" cellpadding="0" bgcolor="#efefef"><tbody><tr> <td colspan="4" align="center" valign="middle"><nobr> <select name="izaZareza" size="1" onchange="if (document.racunalo.oldrezultat.value != '') {zaokruzi(document.racunalo.oldrezultat.value)}; document.racunalo.zadatak.focus()"><option value="-1" selected="selected">decimal</option><option value="0"> 0 </option><option value="1"> 1 </option><option value="2"> 2 </option><option value="3"> 3 </option><option value="4"> 4 </option><option value="5"> 5 </option><option value="6"> 6 </option><option value="7"> 7 </option><option value="8"> 8 </option><option value="9"> 9 </option><option value="10"> 10 </option><option value="11"> 11 </option><option value="12"> 12 </option><option value="13"> 13 </option><option value="14"> 14 </option><option value="15"> 15 </option></select><font size="2" face="Arial" color="#226622"><input type="radio" name="stupnjevi" checked="checked" title="Radians" onclick="document.racunalo.zadatak.focus()"><a href="javascript:document.racunalo.stupnjevi[0].click()" onmouseover="self.status='Radians'; return true">Rad</a><input type="radio" name="stupnjevi" title="Stupnjevi" onclick="document.racunalo.zadatak.focus()"><a href="javascript:document.racunalo.stupnjevi[1].click()" onmouseover="self.status='Degrees'; return true">Deg</a></font></nobr></td><td align="center"><a title=" Eni Generalic " href="http://www.ktf-split.hr/%7Eeni/" target="myHome"><font face="Times" size="2"><i><b>EniG.</b></i></font></a></td><td><input height="24" width="38" type="button" name="Cls" value="Cls" title="Clear screen" onclick="memory(3)" style="background: rgb(238, 238, 238) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 10pt; height: 24px; width: 38px;"></td></tr><tr> <td colspan="6"></td></tr><tr bgcolor="#efefef"> <td align="center" valign="middle" width="100%" colspan="6"><font color="#0000ff" size="3"><input type="text" size="17" name="zadatak" value="" onchange="enter.click()" onkeydown="if (event.keyCode==13) {enter.click()}" style="font-size: 10pt; font-weight: bold; height: 25px; width: 260px;"></font></td></tr><tr> <td><input height="28" width="38" type="button" name="sqrt" value="sqrt" title="Square root" onclick="izracunaj(3)" style="background: rgb(205, 205, 205) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 10pt; height: 28px; width: 38px;"></td><td><input height="28" width="38" type="button" name="root" value="root" title="Root" onclick="izracunaj(22)" style="background: rgb(205, 205, 205) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 10pt; height: 28px; width: 38px;"></td><td><input height="28" width="38" type="button" name="ln" value="ln" title="Natural logarithm" onclick="izracunaj(5)" style="background: rgb(205, 205, 205) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 10pt; height: 28px; width: 38px;"></td><td><input height="28" width="38" type="button" name="log" value="log" title="Common logarithm" onclick="izracunaj(8)" style="background: rgb(205, 205, 205) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 10pt; height: 28px; width: 38px;"></td><td><input height="28" width="38" type="button" name="tan" value="tan" title="Tangent" onclick="izracunaj(14)" style="background: rgb(205, 205, 205) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 10pt; height: 28px; width: 38px;"></td><td><input height="28" width="38" type="button" name="atan" value="atan" title="Arc tangent" onclick="izracunaj(10)" style="background: rgb(205, 205, 205) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 10pt; height: 28px; width: 38px;"></td></tr><tr> <td><input height="28" width="38" type="button" name="kvadrat" value="x^2" title="Square" onclick="izracunaj(2)" style="background: rgb(205, 205, 205) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 10pt; height: 28px; width: 38px;"></td><td><input height="28" width="38" type="button" name="potencija" value="x^y" title="Power" onclick="izracunaj(21)" style="background: rgb(205, 205, 205) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 10pt; height: 28px; width: 38px;"></td><td><input height="28" width="38" type="button" name="aln" value="e^x" title="Natural antilogarithm" onclick="izracunaj(6)" style="background: rgb(205, 205, 205) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 10pt; height: 28px; width: 38px;"></td><td><input height="28" width="38" type="button" name="alog" value="10^x" title="Common antilogarithm" onclick="izracunaj(9)" style="background: rgb(205, 205, 205) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 10pt; height: 28px; width: 38px;"></td><td><input height="28" width="38" type="button" name="cos" value="cos" title="Cosine" onclick="izracunaj(15)" style="background: rgb(205, 205, 205) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 10pt; height: 28px; width: 38px;"></td><td><input height="28" width="38" type="button" name="acos" value="acos" title="Arc cosine" onclick="izracunaj(11)" style="background: rgb(205, 205, 205) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 9pt; height: 28px; width: 38px;"></td></tr><tr> <td><input height="28" width="38" type="button" name="sign" value="+/-" title="Change sign" onclick="izracunaj(4)" style="background: rgb(205, 205, 205) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 10pt; height: 28px; width: 38px;"></td><td><input height="28" width="38" type="button" name="1/x" value="1/x" onclick="izracunaj(7)" style="background: rgb(205, 205, 205) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 10pt; height: 28px; width: 38px;"></td><td><input height="28" width="38" type="button" name="fact" value="x!" title="Factorial" onclick="izracunaj(20)" style="background: rgb(205, 205, 205) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 10pt; height: 28px; width: 38px;"></td><td><input height="28" width="38" type="button" name="postotak" value="%" title="Percent" onclick="izracunaj(17)" style="background: rgb(205, 205, 205) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 10pt; height: 28px; width: 38px;"></td><td><input height="28" width="38" type="button" name="sin" value="sin" title="Sine" onclick="izracunaj(16)" style="background: rgb(205, 205, 205) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 10pt; height: 28px; width: 38px;"></td><td><input height="28" width="38" type="button" name="asin" value="asin" title="Arc sine" onclick="izracunaj(12)" style="background: rgb(205, 205, 205) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 10pt; height: 28px; width: 38px;"></td></tr><tr><td colspan="6"></td></tr><tr> <td><input height="32" width="38" type="button" name="7" value="7" onclick="dodajBroj(7)" style="background: rgb(222, 222, 222) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 12pt; height: 32px; width: 38px;"></td><td><input height="32" width="38" type="button" name="8" value="8" onclick="dodajBroj(8)" style="background: rgb(222, 222, 222) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 12pt; height: 32px; width: 38px;"></td><td><input height="32" width="38" type="button" name="9" value="9" onclick="dodajBroj(9)" style="background: rgb(222, 222, 222) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 12pt; height: 32px; width: 38px;"></td><td><input height="32" width="38" type="button" name="djeljeno" value="/" onclick="dodajBroj('/')" style="background: rgb(222, 222, 222) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 12pt; height: 32px; width: 38px;"></td><td><input height="32" width="38" type="button" name="MR" value="MR" title="Memory recall" onclick="memory(2)" style="background: rgb(238, 238, 238) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 10pt; height: 32px; width: 38px;"></td><td><input height="32" width="38" type="button" name="MS" value="MS" title="Memory store" onclick="memory(1); return false;" style="background: rgb(238, 238, 238) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 10pt; height: 32px; width: 38px;"></td></tr><tr><td><input height="32" width="38" type="button" name="4" value="4" onclick="dodajBroj(4)" style="background: rgb(222, 222, 222) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 12pt; height: 32px; width: 38px;"></td><td><input height="32" width="38" type="button" name="5" value="5" onclick="dodajBroj(5)" style="background: rgb(222, 222, 222) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 12pt; height: 32px; width: 38px;"></td><td><input height="32" width="38" type="button" name="6" value="6" onclick="dodajBroj(6)" style="background: rgb(222, 222, 222) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 12pt; height: 32px; width: 38px;"></td><td><input height="32" width="38" type="button" name="puta" value="*" onclick="dodajBroj('*')" style="background: rgb(222, 222, 222) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 12pt; height: 32px; width: 38px;"></td><td colspan="2"><input height="32" width="82" type="button" name="con" value="Constant" title="Physical Constants" onclick="remote('constant.html')" style="background: rgb(205, 205, 205) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 10pt; height: 32px; width: 83px;"></td></tr><tr><td><input height="32" width="38" type="button" name="1" value="1" onclick="dodajBroj(1)" style="background: rgb(222, 222, 222) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 12pt; height: 32px; width: 38px;"></td><td><input height="32" width="38" type="button" name="2" value="2" onclick="dodajBroj(2)" style="background: rgb(222, 222, 222) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 12pt; height: 32px; width: 38px;"></td><td><input height="32" width="38" type="button" name="3" value="3" onclick="dodajBroj(3)" style="background: rgb(222, 222, 222) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 12pt; height: 32px; width: 38px;"></td><td><input height="32" width="38" type="button" name="minus" value="-" onclick="dodajBroj('-')" style="background: rgb(222, 222, 222) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 12pt; height: 32px; width: 38px;"></td><td><input height="32" width="38" type="button" name="lijevo" value="(" onclick="dodajBroj('(')" style="background: rgb(205, 205, 205) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 10pt; height: 32px; width: 38px;"></td><td><input height="32" width="38" type="button" name="desno" value=")" onclick="dodajBroj(')')" style="background: rgb(205, 205, 205) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 10pt; height: 32px; width: 38px;"></td></tr><tr><td><input height="32" width="38" type="button" name="0" value="0" onclick="dodajBroj(0)" style="background: rgb(222, 222, 222) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 12pt; height: 32px; width: 38px;"></td><td><input height="32" width="38" type="button" name="." value="." onclick="dodajBroj('.')" style="background: rgb(222, 222, 222) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 12pt; height: 32px; width: 38px;"></td><td><input height="32" width="38" type="button" name="exp" value="E" onclick="dodajBroj('e')" style="background: rgb(222, 222, 222) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 10pt; height: 32px; width: 38px;"></td><td><input height="32" width="38" type="button" name="plus" value="+" onclick="dodajBroj('+')" style="background: rgb(222, 222, 222) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 12pt; height: 32px; width: 38px;"></td><td colspan="2"><input height="32" width="82" type="button" name="enter" onclick="izracunaj(1)" value="=" style="background: rgb(205, 205, 205) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 12pt; height: 32px; width: 83px;"></td></tr></tbody></table></td></tr></tbody></table></td><td align="center" valign="top" colspan="5"> <table width="75%" border="3"><tbody><tr> <td colspan="3"><font color="#0000ff" size="3"><textarea cols="20" rows="19" name="notes" style="font-size: 10pt; font-weight: normal; height: 337px; width: 240px;"></textarea></font></td></tr><tr> <td align="center"><input height="24" width="72" type="button" name="clear" value="Clear" title="Clear Form" onclick="memory(4)" style="background: rgb(238, 238, 238) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 10pt; height: 24px; width: 75px;"></td><td align="center"><input height="24" width="72" type="button" name="select" value="Select All" title="Select All" onclick="document.racunalo.notes.focus(); document.racunalo.notes.select()" style="background: rgb(238, 238, 238) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 10pt; height: 24px; width: 75px;"></td><td align="center"><input height="24" width="72" type="reset" name="reset" value="Reset" title="Reset Form" onclick="document.racunalo.zadatak.focus()" style="background: rgb(238, 238, 238) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-size: 10pt; height: 24px; width: 75px;"></td></tr></tbody></table></td></tr></tbody></table></center></form></body><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->