Recent content by Leannie

  1. L

    Reduced load in a turbine generator

    ok thanks, i thought it wouldn't be as straight forward as that. i will try the an energy conservation equation instead.
  2. L

    Reduced load in a turbine generator

    Homework Statement A turbine generator is delivering a 20MW load at 50Hz, to a local load.; it is not connected to the grid. The load suddenly drops to 15 MW, and the governor starts to open the steam valve after 0.5s. Calculate the frequency to which the generated voltage rises, before the...
  3. L

    How to copy 2 bytes from a file an put into result variable?

    Thanks very much! I will try that as soon as I go into uni tomorrow :D Glad you knew what I meant, I'm rubbish at wording things. Thanks again, think that's exactly what I'm looking for :)
  4. L

    How to copy 2 bytes from a file an put into result variable?

    Hi! I am opening it in binary format as below, I do the same with both files so do this twice. ifstream inFile1("h:\\data1.dat",ios::in,ios::binary); I don't know how write code to multiply the first byte by 256 and add on the second byte though. I want to place this new value in my...
  5. L

    How to copy 2 bytes from a file an put into result variable?

    Hi! I don't know if I am even wording this right but here goes. I have to write a programme to read two data files into C++, then ouput as one file in the same format. The two files are files of 10 bit data. Each 10-bit recorded value is represented by a 16 bit word, of which the top 6...
Back
Top