Gulliveig
Computer
- Aug 21, 2008
- 2
Good day,
Suppose I have a 2 rows x 1 col "matrix" named v, e.g.:
1
-5/6
Now I want this vector in lowest integers, i.e.:
6
-5
However, it seems to be difficult to achieve this. I tried to apply this to an ordinary scalar fraction in a solve block, like follows, in the hope to eventually get the factor n with which to multiply the vector's components:
Given
Floor(n*3/4)=n*3/4
n>0
Find ->
I'd expect n=4 here, but: Mathcad complains, and says that the constraint is not valid. Would I omit the constraint, then it would find 0, which although correct is not of much use here.
Any suggestions, also completely different approaches?
Thanks in advance for your replies.
Regards,
//Herbert
PS: Using Mathcad 2001i Professional
Suppose I have a 2 rows x 1 col "matrix" named v, e.g.:
1
-5/6
Now I want this vector in lowest integers, i.e.:
6
-5
However, it seems to be difficult to achieve this. I tried to apply this to an ordinary scalar fraction in a solve block, like follows, in the hope to eventually get the factor n with which to multiply the vector's components:
Given
Floor(n*3/4)=n*3/4
n>0
Find ->
I'd expect n=4 here, but: Mathcad complains, and says that the constraint is not valid. Would I omit the constraint, then it would find 0, which although correct is not of much use here.
Any suggestions, also completely different approaches?
Thanks in advance for your replies.
Regards,
//Herbert
PS: Using Mathcad 2001i Professional