Search results

  1. J

    Engineering Basic Circuit - KVL

    Homework Statement Find the value of Vk http://oi54.tinypic.com/2s6x005.jpg Homework Equations The Attempt at a Solution Assuming dependent Vk = 12i -60 + 4i + 12i + 12i = 0 -60 + 28i = 0 i = 2.14 Vk = 12 * 2.14 = 25 .68 ? Answer is 18. Can someone tell me where I am going wrong ?
  2. J

    Engineering Badic Circuit - Nodal Analysis

    Yeah .2 resitors in parallel give .1.I think decimals keep messing me up. I tried using conductance to avoid decimals. Still going wrong somewhere. Node1 -3+ 5v1 + 10 v1 -10 v1=0 V1 = 10v2 + 3/ 15 Substituting v1 in Node 2 -6 + 2v2 + 10 ( v2 - v1) =0 -6 + 12v2- 10( 10v2 + 3 /...
  3. J

    Engineering Badic Circuit - Nodal Analysis

    But I assumed the direction of current entering node 1 to be - so + 3 will become -3. Wouldn't that make the current leaving node 2 to be + so -6 stayed the same?
  4. J

    Engineering Badic Circuit - Nodal Analysis

    Basic Circuit - Nodal Analysis Homework Statement I am trying to find ix and iy. Here is the figure http://tinypic.com/view.php?pic=x2mr93&s=7 The Attempt at a Solution Node 1 -3 + V1/0.2 + (V1-V2/0.5) = 0 -.06 + 0.1V1 +0.2V1 - 0.2V2 =0 -.06 + 0.3V1 -0.2V2 = 0...
  5. J

    Engineering Basic circuit - power supplied

    Homework Statement In the Figure below if V 1=10 V and i x= -2 A, what is the power supplied by the dependent current source? Homework Equations The Attempt at a Solution The answer is -60. But I am getting 60. whenever It's power supplied doesn't it mean the current is...
  6. J

    Engineering Circuits-Mesh Analysis

    In the last mesh, aren't i3 and ix separate currents ? Or ix= i3?
  7. J

    Engineering Electricity - Solving unknown variables for mixed circuits

    You can't add them because they are in different loops. R1 and R2 are in parallel, so start from there.
  8. J

    Engineering Circuits-Mesh Analysis

    Homework Statement About this circuit: http://oi54.tinypic.com/eqwktd.jpg If I were to find ix. Would I be using supermesh? Homework Equations The Attempt at a Solution
  9. J

    Java Java-Bit Binary Number

    Lol, Grep. Yeah, sure will try to swear by Mark's advise. Yeah, I am trying to retain as much information possible from here. Quick question: In the very last line " System.out.println(value);" I threw in value to be printed out. Do all the characters add with each other vertically? Since...
  10. J

    Java Java-Bit Binary Number

    int value; String number; System.out.print("Enter Number"); number=keyboard.nextLine(); number=keyboard.nextLine(); value=0; value= value+(number.charAt(0)-'0')*8; value=value+(number.charAt(1)-'0')*4; value=value+(number.charAt(2)-'0')*2...
  11. J

    Java Java-Bit Binary Number

    Sorry about the *3 in the last line. I just noticed it. Subtracting? I thought that was an expression ? As Mark stated on the previous page
  12. J

    Java Java-Bit Binary Number

    int value; String number; System.out.print("Enter Number"); number=keyboard.nextLine(); value=0; value=value + (number.charAt(0)-'0')*8; value=value + (number.charAt(1)-'1')*4; value=value + (number.charAt(2)-'2')*2...
  13. J

    Java Java-Bit Binary Number

    Thank you, Mark. Here is what I did. int value,sum,t,x,y,z; String number; System.out.print("Enter Number"); number=keyboard.nextLine(); value=0; t=value=value+ (number.charAt(0) - '0')*8; x=value=value+(number.charAt(1)-'1')*4...
  14. J

    Java Java-Bit Binary Number

    Thanks Grep. I don't know, because we haven't even touched on if statement till now. This problem is from chapter 2. He goes by the book. He wants us to use the information in chapter 2 only to figure the problems out. I showed him what we did last time and he rejected it. So, I don't know...
  15. J

    Java Java-Bit Binary Number

    So, something like this int value; String number; System.out.print("Enter Number"); number=keyboard.nextLine(); value=number.charAt(0)*8; System.out.println(value); Output: Enter number 1 392 Grep- I get what you are saying. I guess...
  16. J

    Java Java-Bit Binary Number

    Mark-not to use loops in general. Since this is like the first chapter. He introduced us to loops today. Grep- where exactly do I go on that page? binaryString? He told me to use charAt or go about converting each substring to a value of bit.
  17. J

    Java Java-Bit Binary Number

    The problem is , he is not letting me use loop for this problem. Grep- is there a way to implement charAT in the method without the use of loop?
  18. J

    Java Java-Bit Binary Number

    Question: Write a program that reads a four-bit binary number from the keyboard as a string and then converts it into decimal. For example if the input is 1100 the output should be 12. Attempt: import java.util.Scanner; public class run { private static final String number = null...
  19. J

    Java Java- reverse sentence

    Oh nice, got it. Thanks a lot Grep. I need to read up and practice what you have mentioned. I appreciate your help. Thanks to Tyler as well for the help.
  20. J

    Java Java- reverse sentence

    It works now. import java.util.Scanner; public class WordReverser { public static void main(String[] args) { String line, result[]; Scanner keyboard = new Scanner (System.in); line=keyboard.nextLine(); { result = line.split("\\s"); for (int i =...
  21. J

    Java Java- reverse sentence

    I think I am getting there. I finally got a correct output using substrings import java.util.Scanner; public class Assign2 { public static void main (String [] args) { String line, a,c; Scanner keyboard = new Scanner (System.in); System.out.println("Enter a line of...
  22. J

    Java Java- reverse sentence

    Something like this: import java.util.Scanner; public class WordReverser { public static void main(String[] args) { String line; String[] result = line.split("\\s"); Scanner keyboard = new Scanner (System.in); for (int i = result.length-1; i >= 0...
  23. J

    Java Java- reverse sentence

    " word=lastchar + word.substring(0, word.length ()-1);" Discards that last character that is not recognized by using the "word.length()-1 method? I tried using the substring method to do the reversal, but it didn't work out. Here is what I did: public class Assign2 { public static void...
  24. J

    Java Java- reverse sentence

    Thank you for an elaborate explanation. Starting to make some sense now. Another question, if you don't mind. Can you explain these lines as well: lastchar= word.charAT (word.length ()-1); if (!Character.isLetter(lastchar)) word=lastchar + word.substring(0, word.length ()-1)...
  25. J

    Java Java- reverse sentence

    I think you have misunderstood me. The code has already been written. That is not my concern. I want to understand what is going on in it. No, I am not too lazy to read up on it. I have read up on it. It's just the tone of the explanation in book is not in layman terms. Also, it takes time to...
  26. J

    Java Java- reverse sentence

    I meant , if the program prompts the user to input a sentence, will this way still work? Can you give an example? I am not able to grasp what you are saying.
  27. J

    Java Java- reverse sentence

    Thank you , Mark and Jared. Mark- Yes, that is correct. I have used substring . When I assign a substring a number value like in the given example ; it gives out an error. Yes, another person used a loop for my problem . Here is the code for that: http://tinypic.com/view.php?pic=jai2dl&s=7...
  28. J

    Java Java- reverse sentence

    Well , what I did reversed the order of the letters along with the sentence. I just want the sentence to be reversed. Sorry, I didn't quite get what you said there. Can you give me an example? Thanks. I want to know, if I can reverse just the sentence not letters without the use of loop?
  29. J

    Java Java- reverse sentence

    We are asked to reverse a sentence , example: I am going. ==> .going am I Attempt: import java.util.Scanner; public class Assign2 { public static void main (String [] args) { String line= new StringBuffer().reverse().toString(); String line2 = new...
  30. J

    Java Java - using String Method

    How do I implement digits into the split characters ? Like I type in any four digit number and prints it in a vertical fashion. Never mind , I got it.
  31. J

    Java Java - using String Method

    Write a program that reads four-digit integer as a string , such as 1998 and then displays it, one digit per line, like so: 1 9 9 8 Attempt: Scanner keyboard2 = new Scanner (System.in); String integer2= "Input a 4 digit number:"; System.out.println(integer2); How do I make it read...
  32. J

    Physics- Pressure Problem , help

    Yeah, how do I go about it?
  33. J

    Physics- Pressure Problem , help

    Two containers contain the same gas at different temperatures and pressures, as indicated in the figure. The small container has a volume of 1 L, and the large container has a volume of 2 L. The two containers are then connected to each other using a thin tube, and the pressure and temperature...
  34. J

    Newton's law of gravity problem

    Homework Statement After a spacewalk, a 7-kg tool is left 54 m from the center of gravity of a 21-metric ton space station, orbiting along with it. How much closer to the space station will the tool drift in two hours due to the gravitational attraction of the space station? Homework...
  35. J

    Alternating Series Test

    Yes, I have seen this. Ah, makes sense. Thanks.
  36. J

    Alternating Series Test

    Yes, I am aware of the Geometric Series test. That was not my question. My question is how did you derive to answer zero when you replaced n with ∞. I am aware that (2/3)^n is a geometric series.I am having trouble with taking the limit of (2/3)^n. i.e. when lim n-->∞ 1/n = 1/∞ = 0...
  37. J

    Alternating Series Test

    Can you please explain how you applied n --> ∞ to (2/3)^n = (2/3) ^∞ How do i solve this?
  38. J

    Alternating Series Test

    Homework Statement summation --> (-1)^n+1 (2/3)^n (I don't know how to do the symbol for sum) The Attempt at a Solution I) lim n-->∞ (2/3)^n = limit does not exist ? It diverges ? P.S I am not sure if this is true. Any explanation will be a great help. Thanks.
  39. J

    Physics- center of mass problem ?

    Homework Statement The coordinates of the center of mass for the extended object shown in the figure are (L/4, −L/5). What are the coordinates of m1? (Assume m1 = 4 kg, m2 = 2 kg, and m3 = 3 kg. Use any variable or symbol stated above as necessary.) Here is the diagram ...
  40. J

    Physics - elastic problem

    2vcos(56) + vcos(56) = 2vfx => 3vcos(56) 2vsin(56) + -vsin(56) = 2vfy => vsin(56) tan-1 ( y/x) => (1/3) => 26.3 degree
  41. J

    Projectile motion question

    Break the overall velocity into x and y components. x direction <=> 3cos(20) = ? y direction <=> 3sin(20) = ? Use quadratic equation to find the overall time. 0= 1/2 (9.8)t^2 ( value for a) + 3sin(20)t (value for b) + 1.4 (value for c) Total distance traveled can be...
  42. J

    Physics - elastic problem

    Homework Statement Two balls of equal mass collide and stick together as shown in the figure. The initial velocity of ball B is twice that of ball A. (Take θ = 56°.) (a) Calculate the angle above the horizontal of the motion of mass A + B after the collision. (b) What is the ratio of the...
  43. J

    Physics conversion problem ?

    What is pc? I don't see any pc in the given problem :/
  44. J

    Physics conversion problem ?

    The electron-volt, eV, is a unit of energy (1 eV = 1.602 10^-19 J, 1 MeV = 1.602 x 10^-13 J). Since the unit of momentum is an energy unit divided by a velocity unit, nuclear physicists usually specify momenta of nuclei in units of MeV/c, where c is the speed of light (c = 2.998 108 m/s). In the...
  45. J

    Physics- mechanical energy

    ME= 2*(1/2 ) 74 (.28)^2 = 5.99 j
Top