Search:

Type: Posts; User: Buckeye Bing

Search: Search took 0.01 seconds.

  1. Thanks much. Appreciate the help.:biggrin: ...

    Thanks much. Appreciate the help.:biggrin:

    Looks like I got a little sloppy but also learned a couple things. Works now. For loop also needed to define low and high but does return the correct...
  2. Developing an enhancement to existing program... with errors.

    I had written, with considerable help from this forum, a program the computes the vapor liquid equilibria of a mixture. Now adding a second part that uses the VLE arrays to compute various 'states'...
  3. Replies
    6
    Views
    952

    Success

    Thank you for the detailed lesson. All seems so simple now. Also understand clearly now how sizeof is used to determine array length and size_t is used as a for loop variable. Good learning there.
    ...
  4. Replies
    6
    Views
    952

    I'm misinterpreting something. Getting errors I...

    I'm misinterpreting something. Getting errors I don't understand. Doesn't help that I'm still new to arrays/pointers. Punching above my weight, but trying to learn.


    Goal is to pass the array of...
  5. Replies
    5
    Views
    766

    Use getch(0) to pause your program. It will...

    Use getch(0) to pause your program. It will continue when you hit any key.
    If you want it to be the 'return' key' its a little more involved.
  6. Replies
    6
    Views
    952

    Your return statement is malformed. :o:o:o Think...

    Your return statement is malformed. :o:o:o
    Think I'd know better by now.

    Also a bit chagrined I've omitted some of the keywords handed to me on a platter. :o

    Your other corrections and...
  7. Replies
    6
    Views
    952

    Expected expression... error

    I've revised calc_abv function proposed by laseright and hodor by shifting the array of coefficients to main(). In this manner I can use the same code for the inverse function, calc abw for abv. Just...
  8. Replies
    27
    Views
    1,436

    Thank you for your review and advice. Yes, I...

    Thank you for your review and advice.


    Yes, I found that eventually. In fact, the pointer created the problem. The first pass returned a correct value of 100 (boil pt of water). When the...
  9. Replies
    27
    Views
    1,436

    Until we have a quantum theory of non ideal...

    Until we have a quantum theory of non ideal mixtures...:biggrin:

    I think there's some pretty good data out there but mostly behind pay walls. Dortmund Data Bank is a good source but they are only...
  10. Replies
    27
    Views
    1,436

    For the record: The source data are from Perry's...

    For the record: The source data are from Perry's Chemical Engineering Handbook - 7th ed. Table 2-111 "Densities of Mixtures of (ethanol and water) at 20 deg C. Edwin Croissant fit the data at...
  11. Replies
    27
    Views
    1,436

    [COLOR=#333333] Nice lesson in display. Thank...

    [COLOR=#333333]

    Nice lesson in display. Thank you for that.



    Astute. :cool:
  12. Replies
    27
    Views
    1,436

    Not constants, per se; but coefficients to an...

    Not constants, per se; but coefficients to an empirical model. Valid only at 20 deg C. I would have preferred to use the original octic polynomial shown in the image.
    16201

    But without an...
  13. Replies
    27
    Views
    1,436

    Wow! Just simply wow. I wouldn't have expected...

    Wow!

    Just simply wow. I wouldn't have expected such a thorough and constructive review of my code. Besides improving my program your suggestions have expanded my knowledge of good programming...
  14. Replies
    27
    Views
    1,436

    True. For brevity, I only showed the section of...

    True. For brevity, I only showed the section of code I thought pertinent to the perceived problem. Further, I updated V1 with some features from V2 that do work. Btw, the V1 psat declaration does...
  15. Replies
    27
    Views
    1,436

    Thank you so much for your review and comments....

    Thank you so much for your review and comments. Assistance through the use of ones time is an appreciated gift. To squander that by misstatement or error is discourteous at best. My apologies on that...
  16. Replies
    27
    Views
    1,436

    Thank you laserlight. Passing seed_temp by...

    Thank you laserlight.
    Passing seed_temp by reference does work fine. But it takes a while to run through all the iterations

    The psat declaration is "float calc_psat (float, float, float , float...
  17. Replies
    27
    Views
    1,436

    Pointer help

    Hello, I am a self taught in C, and new at that. I think its a stretch to call myself a programmer. :)

    In the first snippet, I pass the variable seed_temp to the psat function and it works...
Results 1 to 17 of 17