Recent content by Leanne

  1. 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...
  2. Leanne

    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...
  3. Leanne

    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?
  4. Leanne

    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...
  5. Leanne

    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...
  6. Leanne

    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...
  7. Leanne

    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! :)
  8. Leanne

    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.
  9. Leanne

    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...
  10. Leanne

    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.
  11. Leanne

    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...
  12. Leanne

    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 :)
Back
Top