Recent content by Leanne
-
How Do You Find the Diameter of a Wire Using Voltage and Length?
But actually I didn't code the program to be set at 5cm. That is the result I am getting from every type of wire. The coding the length, volts, resist, and current, and the output is .005 every time. I never set the The reason I set a (area) to .25 is because the equation I got from school...- Leanne
- Post #26
- Forum: Introductory Physics Homework Help
-
How Do You Find the Diameter of a Wire Using Voltage and Length?
Hmmm. Okay. Thanks for answering these questions. As you can tell, I am brand new at this, and not good at physics or math all. ;) So maybe tonight I will plug in the equation for the current to be calculated without me coding it in. That wasn't my assignment, but it's good to learn this...- Leanne
- Post #23
- Forum: Introductory Physics Homework Help
-
How Do You Find the Diameter of a Wire Using Voltage and Length?
I still don't understand though how the required diameters all are the same size. I was expecting for each to be different since there are different variables& I'm using the same equation for every wire type. How is this?- Leanne
- Post #21
- Forum: Introductory Physics Homework Help
-
How Do You Find the Diameter of a Wire Using Voltage and Length?
Hello. The resistivity was given. In my code, rather than writing 1.72×10^-8 ohm/m, I wrote .0000000172. Also, the current (i) was calculated for these inputs in a previous code we did in class. I know in my first post I said that the user would input the length, volts, and type of metal. I...- Leanne
- Post #20
- Forum: Introductory Physics Homework Help
-
How Do You Find the Diameter of a Wire Using Voltage and Length?
Hello again, I haven't been to class yet, but I have worked on this a lot. I know this code looks like a lot, but I do think the answer was .005 for the copper. I just got confused when I withdrew that statement before. Now though, ALL of my answers are rounding to .005. Can this be true? I used...- Leanne
- Post #16
- Forum: Introductory Physics Homework Help
-
How Do You Find the Diameter of a Wire Using Voltage and Length?
Hey. I'm so frustrated with this and I've been working on it for days and my brain is completely boggled and I can't even think straight about it anymore. I used your equation and I'm getting a different answer than you. It's probably somewhere in my code, and then I don't understand physics at...- Leanne
- Post #13
- Forum: Introductory Physics Homework Help
-
How Do You Find the Diameter of a Wire Using Voltage and Length?
Thanks so much for this! I'm not at home right now, but when I get there I'll use your equation on all of my wires and let you know. I appreciate it so much! :)- Leanne
- Post #11
- Forum: Introductory Physics Homework Help
-
How Do You Find the Diameter of a Wire Using Voltage and Length?
I'm sorry the .005 answer is wrong. That number was from the code I used to find current.- Leanne
- Post #8
- Forum: Introductory Physics Homework Help
-
How Do You Find the Diameter of a Wire Using Voltage and Length?
I'm trying to write a program where the user can input any length, voltage, or wire current. I know that V=IR, R=(ρL)/A, and that A=π(0.5d)^2. In a previous program that I wrote, I found the current (I) and that is where I got 12.5575 (for copper). The length was 10000m and the voltage was 110...- Leanne
- Post #7
- Forum: Introductory Physics Homework Help
-
How Do You Find the Diameter of a Wire Using Voltage and Length?
Yes, p is resistivity in ohm/m. For copper it is 1.72*10^-8.- Leanne
- Post #6
- Forum: Introductory Physics Homework Help
-
MATLAB Matlab Newbie | CS Student Help
Thank You :)- Leanne
- Post #3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
How Do You Find the Diameter of a Wire Using Voltage and Length?
Mentor node: Added code tags From=menu('select:','c', 'g', 'a', 's:'); This is part of my code and I'm not coming up with anything close l=input('input wire length') %current copper=12.5572...- Leanne
- Thread
- Diameter Matlab Matlab code Wire
- Replies: 26
- Forum: Introductory Physics Homework Help
-
MATLAB Matlab Newbie | CS Student Help
I'm studying CS and Matlab is hard to learn so I'm just here trying to solve my problems :)- Leanne
- Thread
- Replies: 2
- Forum: MATLAB, Maple, Mathematica, LaTeX