cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Solve, Vector with elements are whole numbers.

lvl107
20-Turquoise

Solve, Vector with elements are whole numbers.

  Hello, Everyone.

(2).PNG

       The Question is : How to solve vector v with elements are whole numbers ?

             Thanks in advance for your time and help.

                    Best Regards.

5 REPLIES 5

Hi.

You can't. With hope, for 9 unknown independent variables, you need at least 9 equations, or for some kind of situations, some restrictions. Here, the restriction to be natural numbers seems to be not enough.

Suppose that you know that a + b = 5. Then, you can solve for some "originals" a nor b.

Best regards.

Alvaro.

lvl107
20-Turquoise
(To:AlvaroDíaz)

Change from "whole" to "integer" :

(3).PNG

                      Regards.

Ok, I see now. What you do was a variation of the partial fraction decomposition. What you need to do, them, it's given a rational number, obtain this decomposition. The normal decomposition uses "división entera" (in spanish, don't know the words in english) operation, where can use the mod operator, but usually it's done with celing.

In the attached, your equivalent procedure, with a pseudo cumulant matrix.

Best regards.

Alvaro.

pseudo.gif

lvl107
20-Turquoise
(To:lvl107)

  Or the similar question :

(1).PNG

        How to create a program function to solve vector v ?

              Regards.

lvl107
20-Turquoise
(To:lvl107)

  I don't know how to create a program function to solve vector v, the above, and just solve it with "by hand" :

(2).PNG

           Best Regards.

Top Tags