Search:

Type: Posts; User: dx2731

Search: Search took 0.10 seconds.

  1. Replies
    7
    Views
    1,159

    Re: Whats wrong with this for loop?

    Sorry, I still dont understand. how does it simplify the code? and how is any calculations associated with the helper?

    --- Update ---

    Please help someone, im sick and I have to had in this crap...
  2. Replies
    7
    Views
    1,159

    Re: Whats wrong with this for loop?

    Okay now I have this code:


    public class climate
    {
    public static void main(String[] args)
    {
    //constants for calculating emissivity
    final double SOLAR_CONSTANT = 1367;...
  3. Replies
    7
    Views
    1,159

    Re: Whats wrong with this for loop?

    I figured it out now. I guess our lecturers dont make themselves very clear :/
  4. Replies
    7
    Views
    1,159

    Whats wrong with this for loop?

    I have this code here:


    for(C0 = 280.0; C0 <= 400.0; C0 = C0 += 5)
    {
    Carbondep = A + B*Math.log(C0/PRE_CARBON);

    //formula to calculate...
Results 1 to 4 of 4