Skip to main content

Questions tagged [findinstance]

The tag has no usage guidance.

1 vote
2 answers
88 views

Improve FindInstance, or better yet just Solve!

This one is seemingly not that complex, yet I am not getting Mathematica to return a solution in a timely manner: (I have 2 variables, t - an angle and k a length) ...
Steve237's user avatar
  • 491
8 votes
3 answers
676 views

How to improve code finding x+y+z+w=40 to generate numbers 1 through 40?

Edit: Appended work to find generators for any number as per azerbajdzan and ubpdqn. See below Ran into this problem and was wondering if there is a more elegant and concise way of coding this if ...
josh's user avatar
  • 2,444
2 votes
5 answers
308 views

Why doesn't `FindInstance` work in finding Heronian triangle?

I was trying to find a triangle whose side lengths are all positive integers and area is rational number (similar to Heronian triangle) with FindInstance, but it ...
138 Aspen's user avatar
  • 1,593
1 vote
1 answer
54 views

FindInstance for Reals

I am trying to find the total number of solutions to: Floor[x]*Ceiling[x]=x^2 between 0 and 100 Now when we do this for Integers, it's just fine with a 100 result: ...
Steve237's user avatar
  • 491
3 votes
2 answers
196 views

FindInstance taking very long

Trying to solve this equation: ...
Steve237's user avatar
  • 491
1 vote
1 answer
91 views

Why FindInstance does not find this solution?

Do you think FindInstance should have found this solution? ...
Nasser's user avatar
  • 147k
0 votes
0 answers
49 views

Checking Positivity

This is my matrix: H = {{2*a1*p4, -p5*a2, p3*a1, 0},{-p5*a2, 2*a2*w1, -p2, -p1},{p3*a1, -p2, 2*a3*w2, 0},{0, -p1*a4, 0, 2*a4*w3}} Where a1,a2,a3,a4 are non-...
SHR's user avatar
  • 1
5 votes
2 answers
526 views

Wrong solution in a geometry problem

I try to solve the simple problem of finding (integer numbers) for the sides of a triangle when its perimeter is 90 and its area is twice, three times or four times this number. My approach is this: <...
Nitra's user avatar
  • 347
1 vote
1 answer
153 views

How to return only the negative complex solutions of DSolve or using FindInstance?

I am using DSolve to find the solutions to two differential equations. The problem is from the first solution, I only want the solution that includes a negative ...
RudyJD's user avatar
  • 121
0 votes
0 answers
55 views

Problem in solving the non-linear equation

Is there any other way to solve an equation rather than solve command also without findroot command in Mathematica? Because the Solve command is not returning any ...
supragyan priyadarshinee's user avatar
1 vote
1 answer
71 views

Randomized values for FindInstance

...
mdansfo's user avatar
  • 21
4 votes
4 answers
207 views

How can I formulate this simple mathematical riddle into a computable Wolfram Language query?

I'm trying to formulate the below question into a computable wolfram language solution, but can't seem to get it right. Question: Place three piles of matches on a table, one with 11 matches, the ...
Jason Roell's user avatar
3 votes
2 answers
309 views

How can I reduce the time to compile this solve?

I want to find five integer numbers $a, b, c, d, e$ so that $a+ b+ c + d + e = 9 k$ and none of two number in which are equal. I tried. ...
John Paul Peter's user avatar
4 votes
1 answer
84 views

How can we find the appropriate values of unknowns such that the following expression must be a real number? `FindInstance`

Question: I have some mathematical functions including various parameters. I want to find instances for the parameters such that the function must be in a real domain after substituting the values of ...
RF_1's user avatar
  • 682
0 votes
1 answer
90 views

Finding only non-negative roots with FindRoot

Given an arbitrary function F, how do I force FindRoot to look only for non-negative roots, returning nothing otherwise?
sam wolfe's user avatar
  • 4,903

15 30 50 per page
1
2 3 4 5