MedVision ad

Search results

  1. P

    maths in the hsc

    If you do MX2, then 2U maths will not be counted towards your ATAR. If you don't do MX2 but you do MX1, then 2U maths will be counted towards your ATAR.
  2. P

    The Code Marathon.

    seems right
  3. P

    The Code Marathon.

    That's better but it still fails for a text-file containing: Mathematics is fun. Have a nice day, G. Your program produces 7.
  4. P

    The Code Marathon.

    My bad. I should have defined what a word means. A word is a string containing no spaces. "Mathematics is fun. Have a nice day, G." contains 8 words
  5. P

    The Code Marathon.

    Question: write a program to count the number of words in a text file.
  6. P

    IB Maths Marathon

    Re: International Baccalaureate Marathon 2016 Looking at the first term only when going from line 5 to line 6, you did this: \cos 2x = 1 - 2 \sin ^2 2x I think it was an issue of focus, not of lack of knowledge
  7. P

    IB Maths Marathon

    Re: International Baccalaureate Marathon 2016 This: 4 (1-sin^{2}x) sin x (1-2sin^{2}2x)+sin \ x[1-8 sin^{2}x (1-sin^{2}x)] To this: (4-4sin^{2}x)(sinx-2 \times 2 \ sinx cos x \ 2 sin x cos x)+sin x[1-8sin^{2}x+8sin^{4}x] But it should be: (4-4sin^{2}x)(sinx-2 \times \underline{sin x}...
  8. P

    IB Maths Marathon

    Re: International Baccalaureate Marathon 2016 To the above working out, you can verify the solution by plugging in x = pi/2. RHS yields 20 which exceeds the range of the sine function. So you probably made a small error somewhere pi/2 because sin(pi/2) is easily calculated
  9. P

    The Code Marathon.

    C code. Printing is not perfect when (two or more)-digit numbers exists. #include <stdio.h> #include <stdlib.h> //recursive factorial function int factorial (int num){ if (num == 0 || num == 1) { return 1; } return num*factorial(num-1); } void printSpace (int num){ while (--num >=...
  10. P

    Mathematics

    Thanks. I don't know why I didn't use that fundamental probability concept in this question even though I used it in Q3
  11. P

    Mathematics

    Q4) P(1 machine break down) = 1/45. P(1 machine not break down) = 1 - 1/45 = 44/45. a) P(neither break down) = 44/45 * 44/45. b) P(1 machine break down AND 1 machine no break down(?)) = 1/45 * 44/45.
  12. P

    Mathematics

    Q6) Structure of combination is: _ _ _ a) Pick a 9, then pick an 11 P(pick a 9 from first set) = 1/10. P(pick an 11 from second set) = 1/20. Therefore, P("911") = 1/10 * 1/20 = 1/200. b) Cannot pick 10 otherwise we get a number greater than 100. So pick 1 or 2 or ... or 9 then pick 1 or 2...
  13. P

    Mathematics

    Q3) a) Probability of winning first prize is 20/5000. Now Mary has 19 non-void tickets and the lottery has 4999 non-void tickets. So probability of winning second prize is 19/4999. Therefore probability of winning first & second prize is 20/5000 * 19/4999 = 19/1249750. b) To win second...
  14. P

    Mathematics

    Amount of balls = 9. Q1) a) Pick a yellow ball (3/9), replace, then pick a black ball (2/9). Probability is 3/9 * 2/9 = 2/27. OR pick a black ball first (2/9), replace, then pick a yellow ball (3/9). Probability is 2/27. Add both to get 4/27. b) Yellow first (3/9), do not...
  15. P

    The Code Marathon.

    C code: #include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { int i, j = 0, n = atoi(argv[1]); while (j < 2) { // printing the "arm" for (i = 0; i < n; i++) { printf("*"); } printf("\n"); // printing the "spine" for (i = 0; i < n/2; i++)...
  16. P

    UNSW chit chat thread

    Re: UNSW chit chat thread 2016 I thought first year psyc was bullshit. The only skill I gained from it was a bit more confidence in public speaking.
  17. P

    Prelim 2016 Maths Help Thread

    http://imgur.com/QoGpzut
  18. P

    Prelim 2016 Maths Help Thread

    Why?!
  19. P

    How do I stop making silly mistakes??

    Yes. Find your balance and experiment :) If a process seems easy, it tells you your mind is adapting and will cause it to become autopilot the more you do it, therefore it is recommended that you keep the mind challenged and under stress. The brain is beautiful with it's ability to grow! I...
  20. P

    Site is infected!

    After viewing some of this site's page source, I found some strange things. For some reason, I cannot post up the code here, it shows blank. Basically, it hyperlinks particular words in a post and re-direct user other sites. Like this: VigLink Find "viglink" the page source code and you will...
Top