Recent content by SolStis

  1. S

    Need something solving PROBLEM AHOY

    Ok, well in this instance i need it solving for w = 24 and L = 3500, but i would like a general solution so i can apply any values for L and w
  2. S

    Need something solving PROBLEM AHOY

    ok mate, well is there any way i can find it if L and W arnt arbitrary?
  3. S

    Need something solving PROBLEM AHOY

    Need something solving! PROBLEM AHOY! Hi there, Im in dire need of a problem solving because i really cba to do it at this time of nite and need sorting by 2moz morning... putting my faith in PF here... I don't think its too diff I just havnt done any algebra for a while and need some...
  4. S

    Runge Kutta Algorithm Solve Differential Equations for Satellite Travel from Earth to Jupiter?

    Hi, i am trying to solve the following differential equations for a satellite traveling from Earth to Jupiter using a runge kutta algorithm. The equations are: dr/dt=+-(h/r)[((r/r0)-1)(1-(r/r1))]^(0.5) and dr/d(theta)=+-r[((r/r0)-1)(1-(r/r1))]^(0.5). where r0 and r1 are the radii...
  5. S

    Sattelites beyond Jupiter - problem setup

    [b]1. 1. Analytical With the help of `Maths27', formulate the problem of when to launch the satellite, based upon the radii of the orbits of Earth and Jupiter, assuming that both planets have circular orbits and ignoring all potentials except that of the sun. Provide the equations of motion...
  6. S

    How can I fix the bisection method loop when the decimal place value is changed?

    Hi, I've written code to resolve the routes of a function using the bisection method. The code works for the current route brackets (xb and xt) and for a decimal place value of 2. However when the decimal place value is changed the loop gets stuck. Code below: #include <iostream> #include...
  7. S

    Troubleshooting: Array Values Stored as 0.10000001

    Ive came up with a cumbersome solution to it. made an array equal to it and calculated the average of that then used that as the comparison variable. Bit cumbersome but it worked... Thanks for the reply though
  8. S

    Troubleshooting: Array Values Stored as 0.10000001

    I am allocating a value of 0.1 to a position in an array and it seems to be storing itself as 0.10000001. The problem is that once all the values in the array have reached 0.1 the average should be 0.1 and the loop stops, but as it is being stored as 0.1000001 the average is > 0.1 and the loop...
  9. S

    C/C++ C++, Laplace Equation in a 20*20 array

    Have managed to figure that 1 aswell, got some nice surface plots out. Thanks for the help
  10. S

    C/C++ C++, Laplace Equation in a 20*20 array

    Hi, Thanks for the replies. OS: XP SP2, Used qunicy 2005 to compile. I managed to sort the problem out, redefiend the Arrays V0 and diff to 20 20. Also in reply to the question about the loop counts, I counted from i=1 to 18 in calculating the V0 and diff arrays so the values were...
  11. S

    C/C++ C++, Laplace Equation in a 20*20 array

    The code should solve laplace equation through an iterative technique until values change less than the specified tollerence, in this case maxdiff. I've used 3 arrays. one to store all values including initial and boundary conditions, and 2 more to store the new values and differences between...
Back
Top