PDA

Click to See Complete Forum and Search --> : ohms law



aswathi
08-07-2002, 01:40 PM
how can I perform ohms law in a circuit and show its output voltage by supplying current and resistance.
V=I/R

bit-101
08-07-2002, 02:21 PM
i think you answered your own question. v=i/r

set i to a value, set r to a value, say v=i/r and do whatever you want with that value.

swills
08-08-2002, 06:11 AM
Like I said from your question in the actionscript forum:

V = I * R - gotta start with the correct equation!

Do you want the values of I and R to be inputted by the user, and then display the resultant V? Or do you want to have a range of values of I, with a constant R?

swills

aswathi
08-08-2002, 02:13 PM
Originally posted by swills
Like I said from your question in the actionscript forum:

V = I * R - gotta start with the correct equation!

Do you want the values of I and R to be inputted by the user, and then display the resultant V? Or do you want to have a range of values of I, with a constant R?

swills

I want the values of I and R to be selected by the user by dragging a bar.The values will appear in text boxes.To get the value of V=I/R in another text box, I have to perform calculation.Can I do it with Math?

swills
08-09-2002, 05:28 AM
Yes you can.

make two "input" text boxes, where the user types in two values for the variables _root.I, _root.R, then a third text box can display the variable _root.V

And the equation _root.V = _root.I * _root.R can be placed anywhere - but start by putting it on frame 1.