Recent content by arpace

  1. A

    Simple factorial and matrix question

    if I have n slots [1,2,3,4,5,...n] where I must use numbers from 1 through n, and I have to ensure that none of them were reused... the way I figure to make sure that none of the numbers are reused is to multiply the values in each slot and compare them against n! e.g. [1,2,3,4,5] would be...
  2. A

    What is causing the discrepancy between the Hermite curve and the sine function?

    figured out that you need to divide the resultant point's distance to get it a result that is on the circle; yet, even so, it doesn't yield the same result, and would take slight modification to get the same result as Math.sin()
  3. A

    Where to get this book?

    Maybe you might want to try Amazon, Chapters, or even, if god don't forbid it, a bookstore. Or, if you are in Toronto, as I am, and happen to have a login for the public library's portal to safari, as I do, you can choose from a vast array of up to date books and instructional videos for free...
  4. A

    Is the Official Google Answer to this Controversial Interview Question Correct?

    well, the bias is not actually 50/50, as it is usually 105 boys to 100 girls; therefore, it should be 51:50 or 0.51219...repeated to infinity. Tell me if I am wrong.
  5. A

    Hermite/quadratic bezier curve vs (sin and cos)

    seriously? no one?
  6. A

    What is causing the discrepancy between the Hermite curve and the sine function?

    So I have a Hermite curve with the control points: //point# (x,y): p0 (1,0) p1 (1,(Math.sqrt(2)-1)) p2 (Math.sqrt(0.5), Math.sqrt(0.5)) I also have a very basic algorithm to find the point on the locus at a given degree between 0 and 45 degrees using the control points. I could...
  7. A

    Hermite/quadratic bezier curve vs (sin and cos)

    So I have a Hermite curve with the control points: //point# (x,y): p0 (1,0) p1 (1,(Math.sqrt(2)-1)) p2 (Math.sqrt(0.5), Math.sqrt(0.5)) I also have the algorithm to find the points on the locus between 0 and 45 degrees: //L0 is the point on the line between p0 and p1 //L1 is the...
  8. A

    Equation of a rotated parabola knowing only 3pts the equation has to satisfy

    I know that I would have to rotate it back to 0 degrees; yet, in order to do that don't you need to know either the tangent or the axis of symmetry to find the degree it needs to be rotated by? The second point is always the vertex; yet, the points 1 and 3 are not an equal distance from the...
  9. A

    Equation of a rotated parabola knowing only 3pts the equation has to satisfy

    I am trying to determine the tangent of the vertex and the axis of symmetry of a rotated parabola, not knowing the equation of the parabola, and only knowing 3pts the equation has to satisfy. Can anyone help out with this? I have three points, the second is always the vertex, and pt1 and...
Back
Top