Recent content by DiamondV

  1. D

    Finding the Equation of a Plane from 3 Coplanar Points

    Homework Statement The method that we are taught on how to determine the equation of a plane is as follows when given 3 coplanar points: 1. Determine the vectors 2. Find the cross product of the two vectors. 3. Substitute one point into the Cartesian equation to solve for d.Homework...
  2. D

    What increases in nucleus as a result of alpha and beta decays

    Homework Statement Well one of the questions that I'm not too sure the answer to is what parameter in the nucleus increases as a result of alpha and beta decay.Homework EquationsThe Attempt at a Solution Not too sure, I mean atomic number decreases and so does mass number so. But what...
  3. D

    Functions in C to calculate hours, minutes, seconds from milliseconds input

    They also gave another example of int timestamps = 321635432; with correct output being 17:20:35 So its definitely in 24hr clock. For that input my code outputted: 89:20:35 I tried this code aswell, no luck int get_hour(int timestamp){ int hour; hour = timestamp/3600000; return...
  4. D

    Functions in C to calculate hours, minutes, seconds from milliseconds input

    Homework Statement Write three functions int get_hour(int timestamp), int get_min(int timestamp), int get_second(int timestamp) which will respectively return the hour of the day, the minute of the hour, and the second of the minute from a value given as parameter which is in milliseconds...
  5. D

    How Does Binding Energy Affect Mass in Nuclear Reactions?

    Homework Statement We just started binding energy things in class starting off with e=mc^2 and well in my notes it says. "If weakly bound nuclei transform into more strongly bound nuclei, the total mass can be reduced and the mass energy of the final state is lower than the mass energy of the...
  6. D

    How does a mass on a piston keep pressure constant as water is heated?

    Homework Statement I'm doing a class on thermodynamics and energy and well there's this chapter about pure substances and subcooled liquids, saturated liquids, superheated, etc. stuff like that. The chapter begins by showing a piston-cylinder in an initial state containing liquid water and a...
  7. D

    Why do eigenvectors exist if the matrix is invertible?

    Oh. Not really. Our lecture notes haven't shown any graphs with vectors on them or any sort of visualisation for this. I just know that there's these things called eigenvectors and eigenvalues that are really useful for some reason.
  8. D

    Why do eigenvectors exist if the matrix is invertible?

    Homework Statement Find the eigenvalues and associated eigenvector of the following matrix: Homework EquationsThe Attempt at a Solution We have a theorem in our lectures notes that states that if a matrix is invertible the only eigenvector in its kernel will be the zero vector. In order...
  9. D

    Why does while(input!='q' && input!='Q') work but || doesn't?

    Homework Statement Write a program that reads in any characters from the keyboard, sums up only characters corresponding to a digit and prints the result on the screen. The program will exit when the character 'Q' is entered (upper or lowercase). Example: Input = 9 8 q Output = The total is...
  10. D

    Converting matrix determinant factorizations to match solution forms

    Yeah. I've gotten the right answer now, I made it complicated for no reason.
  11. D

    Converting matrix determinant factorizations to match solution forms

    I used that formula above, to get the roots and then i used the factor theorem to get the facctors.
  12. D

    Converting matrix determinant factorizations to match solution forms

    I never used wolfram while i was doing it. I used the x = -b formula to get the roots which gave me x=-1/2 and x=1
  13. D

    Converting matrix determinant factorizations to match solution forms

    Homework Statement Homework EquationsThe Attempt at a Solution The answer in the solutions is given as : (2x+1)(x-1)(1-x), they did their matrix differently so that's how they got that answer. I used wolfram alpha to factorise my quadratic on the last line and it gave me alternative forms...
  14. D

    Why do RS and gated latches output 0 when both inputs are 1?

    Awesomee. thanks so much. this cleared up so many things. :)
  15. D

    Why do RS and gated latches output 0 when both inputs are 1?

    Q1: So basically. Reset rests all values back to the defaults?(Q default would be 0 and Qbar would be 1?). Q2: Following from that default logic above, if reset overides set then why is Qbar now 0?