Recent content by shinokk

  1. S

    Which body has the higher average speed?

    Ohh, snap! It's so obvious that I can't believe I didn't see that. o.o
  2. S

    Which body has the higher average speed?

    t = s/V Since the body travels half the distance with the speed V then: t1= (s/2)/V For the second half of the distance the speed is 2v then: t2= (s/2)/2V But now I see that it would be easier to write t1=s/V and t2= s/2v and later, when calculating the average speed, to just use 2s...
  3. S

    Which body has the higher average speed?

    So, I followed your advices and I got this for body 1: t1= s/2/v t2=s/2/2v From that I got that: Vav1= s/(s/2/v + s/2/2v) and then this somehow equals 4/3V. I don't understand how, but it does according to WolframAlpha. For body 2 I got: s1= v*t/2 s2= 2v*t/2 stotal = 3/2v*t Vav2=...
  4. S

    Which body has the higher average speed?

    The solution in my book is: Vav1= s/s/2v + s/s/4v = 4/3V Vav2= (V*t/2 + 2V*t/2)/t = 3/2V What I don't understand is how s/s/2v + s/s/4v equals 4/3V... I checked with Wolframalpha and it's correct.
  5. S

    Which body has the higher average speed?

    How? The values are not given in the problem statement. Ahh, yes. Then what am I doing wrong? Perhaps the last division by 2 is unnecessary and the result would be 3/2*V for both?
  6. S

    Which body has the higher average speed?

    Homework Statement Two bodies travel the same distance. One body travels half of the distance with the speed V and the other half with the speed 2V. The second body travels half of the time with the speed V and the other half of the time with the speed 2V. Which of the bodies has the higher...
  7. S

    New Forum: Science Fiction Media

    Can't wait for it!
  8. S

    Could Nikola Tesla Really Become a Saint?

    Well, I just read that Nikola Tesla could become a saint. It's in my native language so I translated it to English. Here's the link to the English version: http://followscience.blogspot.com/2012/07/tesla-to-be-canonised.html At the bottom of the post, you can find the link to the original text...
  9. S

    Sum of Pascal Array Problem Homework

    hahahahaha It's a zero. I made some changes so it looks like this: var values: array[1..5] of char ; var i, total: integer; var v:char; begin total:=0; for i:=1 to 5 do begin v:=values[i]; if(v='D') then break; total:=total+integer(v)-integer('0'); end; writeln(total); end. When I copy your...
  10. S

    Sum of Pascal Array Problem Homework

    Well, this kind of works. The only problem now is that I get -240 as the sum of 1, 2, 3 and 4.
  11. S

    Sum of Pascal Array Problem Homework

    It's Windows and crtl-Z would completely eliminate the letter 'D' from the program. Anyway, it's not working either. I'll post it a bit later, I'm not home at the moment.
  12. S

    Sum of Pascal Array Problem Homework

    Ugh: 'string expression expected' '; expected' And even when I try to correct the ';' error, I get it again and again on the same spot. Yes, I have. It's working great, I just can't stop the input with Ctrl-D.
  13. S

    Sum of Pascal Array Problem Homework

    I'm using Turbo Pascal for Windows. I understand what you're trying to say, but I can't get it to work in TPW. Thanks for going to so much trouble just to help me. I'm using Turbo Pascal for Windows and this code doesn't work for me (nothing happens when I hit Ctrl-D). And yes, I am sure...
  14. S

    Sum of Pascal Array Problem Homework

    The exact statement of the problem, roughly translated, would be something like this: Write a program in Pascal which calculates the sum of all the values of the array A. The length of the array is unknown and the input ends when A[i]= D. E.g. 1 2 3 D S= 6 I have to program everything...
Back
Top