• Discoverability Visible
  • Join Policy Restricted
  • Created 11 Aug 2017

Hw3 prob 3.11

  1. Kunal Samel

    For the Ritz method, the governing differential equation is such that whenever we try n=4,5 or more, we get back the same polynomial for n=3. Is this correct? I think it is necessary since for n=4,5 we would still have only 3 equations to solve for constants

     

    thanks

    Kunal

    Report abuse

  2. Lohit Gudivada

    Dear all,

    I have been able to obtain the variational statement for this question but I am having difficulty with the exact solution. Solving exactly means solving the given differential equation? How do we solve the differential equation since it contains a discontinuous function (Q(x))?

    thanks,

    Lohit

    Report abuse

  3. Lohit Gudivada

    When we divide it into 2 domains, and solve the 2nd order ODE separately, we will obtain 4 constants whereas we are only given 2 boundary conditions. I am thinking maybe we can enforce continuity of phi at L/2 to obtain the 3rd condition. I am not able to obtain the 4th condition to solve  all the constants completely.

    Report abuse

  4. Lohit Gudivada

    Should we use continuity of d(phi)/dx at L/2 as the 4th condition? Isn't anyone else facing this issue?

    Report abuse

  5. Kunal Samel

    i was substituting the  trial functions in the differential equation. I realize that i should have substituted them in the variational statement and then integrated it

    Report abuse

  6. Imad Hanhan

    Hello all,

    When solving using the Ritz method with n=4 and n=5, I can't seem to get a final expression, as if I'm missing some some boundary conditions or perhaps doing a step incorrectly. For n=4, after substituting the trial expression (which satisfies the boundary conditions) into the functional and solving delta I = 0, I get
    a3=-1.2*(0.215*Phi_0+1.3*a4). That leaves one coefficient still unknown. Is that true? Or am I missing something?

    Thanks,
    Imad

    Report abuse

  7. Fei Tao

    For Ritz method, after substitute the trial expression into the integration, it is better to take the partial derivative with respect to a_i instead of letting delta I =0. It is more straightforward.  For example, for n= 4, after substituting the trial expression (which satisfies the boundary conditions) into the functional, you should have (partial I)/ (partial a3) =0 and  (partial I)/ (partial a4) =0

    Report abuse

  8. Haodong Du

    Hi Imad,

    Seems like you missed the boundary condition. You should let your trial function be admissible first.

    Report abuse

  9. Imad Hanhan

    Haodong,

    For n=4, the function: Phi(x)=Phi_0+a3*(x^2-L*x)+a4*(x^3-L^2*x) satisfies Phi(0)=Phi_0 and Phi(L)=Phi_0.

    Which boundary conditions am I missing?

    Thanks,
    Imad

    Report abuse

  10. Haodong Du

    Hi Imad, 

    That looks fine to me. Then you need to take variation of I. delta I = ** delta_a3  + ** delta_a4, the coefficient of delta_a3/a4 should vanish to make delta I zero

    Report abuse

  11. Imad Hanhan

    Thank you Fei and Haodong. Fei thank you for that correction, that's where my mistake was.

    -Imad

    Report abuse

  12. Haodong Du

    You are welcome. Actually I'm saying the same thing in my second reply. You do variation, you take partial derivative by a3/a4. They are the same thing. deltaI=delta_a3*(partial I/partial a3)+delta_a4*(partial I/partial a4). Because your delta_a3/delta_a4 is arbitrary, your partial derivatives must be zero. You are not making any mistake when you say taking variation.

    Report abuse

  13. Fei Tao

    Imad, you are welcome. Yes, they should get the same result. Taking partial derivative with respect to coefficients is derived from delta I =0.  Thank Haodong for the clarification. 

    Report abuse