-
how can I perform ohms law in a circuit and show its output voltage by supplying current and resistance.
V=I/R
-
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.
-
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
-
reply for ohms
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?
-
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|