Skip navigation
1361 Views 7 Replies Latest reply: Apr 9, 2012 4:05 PM by ptc-4391462 RSS
ptc-4391462 Bronze 36 posts since
Dec 31, 2011
Currently Being Moderated

Apr 1, 2012 9:27 PM

Solve Block beginner basics

I have a problem with a Solve Block. I wish to solve a system on nonlinear equations for the Stokes Wave Equation using "given" and "find" notation.

My first attempt at what seems to be a straight forward problem comes up with an "undefined variable" which I cannot seem to rectify. Experienced users will I am sure pick the error at light speed and help me out .

Thanks Ross

Attachments:
  • AlanStevens Platinum 1,258 posts since
    Jun 8, 2010
    Currently Being Moderated
    Apr 2, 2012 1:43 AM (in response to ptc-4391462)
    Re: Solve Block beginner basics

    See attached.

     

    Alan

    Attachments:
      • AlanStevens Platinum 1,258 posts since
        Jun 8, 2010
        Currently Being Moderated
        Apr 3, 2012 3:11 AM (in response to ptc-4391462)
        Re: Solve Block beginner basics

        Your logic is basically ok, but you then have to solve for all the parameters - see attached.  I felt this was unnecessarily cumbersome.

         

        Incidentally, there is something strange about the way you've constructed B33, B35, C1 etc.  I've replaced them with B.33, B.35, C.1 etc.

         

        Alan

        Attachments:
          • AlanStevens Platinum 1,258 posts since
            Jun 8, 2010
            Currently Being Moderated
            Apr 4, 2012 1:20 AM (in response to ptc-4391462)
            Re: Solve Block beginner basics

            . Is there a difference between the text toolbar subscript and the matrix toolbar subscript and how these are treated in the solver?

            Cheers

            Ross

            Yes.  Try your version.  You'll find the solver doesn't like it.

             

            Alan

            • mzeftel Gold 2,704 posts since
              May 11, 2010
              Currently Being Moderated
              Apr 5, 2012 2:19 PM (in response to AlanStevens)
              Re: Solve Block beginner basics

              Ross,

               

              I'm investigating user problems with solve blocks. Another issue that Alan fixed, but didn't mention is that you used Ctrl= to define your variables. Alan used the definition operator, :=.

               

              Mona

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 3 points
  • Helpful Answers - 1 points