Go Back   Novahq.net Forum > Computers > Hardware and Software
FAQ Community Calendar Today's Posts Search

Hardware and Software Discuss hardware, software and security related stuff

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-13-2014, 04:35 PM
Hellfighter is offline Hellfighter
Hellfighter's Avatar
Chief ADFP

Join Date: Jun 2002
Location: San Jose Calif 95111
Posts: 21,143

Send a message via ICQ to Hellfighter
ohm's law calculator? on desktop

basic i been using this url: http://www.ohmslawcalculator.com/ohm...calculator.php

doing it from there

i try to find a desktop one to use, only they loaded with virus to them and are fake

hoping some one here know clean "ohm's law calculator".exe? use on desktop
__________________
* altnews sources [getmo & others news] not found main FNN: realrawnews.com
*Discord: Unknown77#7121
Playing now days: EA Games> swtor [star wars old republic]
Reply With Quote
  #2  
Old 05-13-2014, 09:41 PM
Guest001 is offline Guest001
Registered User

Join Date: Aug 2008
Posts: 4,971

Quote:
Originally Posted by Hellfighter View Post
basic i been using this url: http://www.ohmslawcalculator.com/ohm...calculator.php

doing it from there

i try to find a desktop one to use, only they loaded with virus to them and are fake

hoping some one here know clean "ohm's law calculator".exe? use on desktop
In The Mean Time....
Use any old calculator or a "scientific" calculator, if it doesn't have the particular data sets you need then you can enter the formulas yourself as you need them.


Here's the script from the page.
Quote:
var Volts=1.2345678;
var Amps;
var Ohms;
var Watts;
function Process(form)
{
if (Volts > 0 && Ohms > 0) { Amps =Volts/Ohms; Watts=Volts*Amps;}
if (Volts > 0 && Amps > 0) {Ohms =Volts/Amps; Watts =Volts*Amps;}
if (Volts > 0 && Watts > 0){Amps =Watts/Volts; Ohms=Volts/Amps;}
if (Ohms > 0 && Amps > 0) { Volts =Amps*Ohms; Watts=Amps*Amps*Ohms;}
if (Amps > 0 && Watts > 0) { Volts =Watts/Amps; Ohms=Volts/Amps;}
if (Ohms > 0 && Watts > 0) { Amps=Math.sqrt((Watts/Ohms),2); Volts=Amps*Ohms;}

Volts = Math.round (Volts*100000);
Volts = Volts/100000;
Amps = Math.round(Amps*100000);
Amps = Amps/100000;
Ohms = Math.round(Ohms*100000);
Ohms = Ohms/100000;
Watts = Math.round(Watts*100000);
Watts = Watts/100000;

form.Watts.value = Watts;
form.Ohms.value = Ohms/document.forms[0]._selectResistanceUnits.value;
form.Amps.value = Amps/document.forms[0]._selectCurrentUnits.value;
form.Volts.value = Volts;
}

function SetVolts()
{
Volts = document.forms[0]._inputVoltage.value;
EnableDisableCalculate();
}
function SetAmps()
{
if (document.forms[0]._inputCurrent.value)
Amps = document.forms[0]._inputCurrent.value * document.forms[0]._selectCurrentUnits.value;
else
Amps=0;
EnableDisableCalculate();
}
function SetOhms()
{
if (document.forms[0]._inputResistance.value && document.forms[0]._selectResistanceUnits.value)
{
Ohms = document.forms[0]._inputResistance.value * document.forms[0]._selectResistanceUnits.value;
}
else
{
Ohms = 0;
}
EnableDisableCalculate();
}
function SetWatts(P)
{
Watts = document.forms[0]._inputPower.value;
EnableDisableCalculate();
}

function EnableDisableCalculate()
{
NumFields=0;
if (Volts>0)
NumFields++;
if (Amps>0)
NumFields++;
if (Ohms>0)
NumFields++;
if (Watts>0)
NumFields++;
if (NumFields>=2)
{
document.forms[0]._btnCalculate.disabled=false;
}
else
document.forms[0]._btnCalculate.disabled=true;

}

function ClearForm(form){
Volts=0;
Amps=0;
Ohms=0;
Watts=0;
form.Volts.value = "";
form.Amps.value = "";
form.Ohms.value = "";
form.Watts.value="";
document.forms[0]._btnCalculate.disabled=true;
}
Reply With Quote
  #3  
Old 05-13-2014, 10:23 PM
Guest001 is offline Guest001
Registered User

Join Date: Aug 2008
Posts: 4,971

Ohms Law: I=V/R
Current = Voltage divided by Resistance

Resistance: R=V/I
Resistance = Voltage divided by Current

I=current
V=voltage
R=resistance

Constants:
Mathematical
e (Euler's number) = 2.71828183
π = 3.14159265
Golden ratio = 1.61803399

Physical
c (speed of light) = 299792458 m s-1
symbol (Planck's constant) = 6.626x10-34 m2 kg s-1
symbol (Dirac's constant) = 1.05457163-34 J s
e (electron charge) = 1.60217649x10-19 C
ε0 (vacuum permittivity) = 8.854188x10-12 F m-1
μ0 (magnetic constant) = 1.256637x10-6 N A-2
mp (mass of a proton) = 1.67262164x10-27 kg

Chemical
Na (Avogadro constant) = 6.0221415x1023
Da or AMU = 1.66053886x10-27 kg
R (Gas constant) = 8.314472 J K-1 mol-1
k (Boltzmann constant) = 1.3806505x10-23 J K-1
F (Faraday constant) = 96485.3383 C mol-1

Standard quantities
g (gravity) = 9.80665 m s-2
Atmosphere (pressure) = 101325 Pa

Last edited by Guest001; 05-13-2014 at 10:36 PM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 07:32 AM.




Powered by vBulletin®