Questions tagged [condition]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
64 views

How to give conditions and solve an integration? [closed]

I want to solve an integration, $\int \frac{da}{\sqrt{\frac{8 \pi G \Lambda}{3}a^2 - K +c_1 a^{-(3k+1)}}}$ Here, how to give conditions k $\ge$ 0, G$>$ 0, $\Lambda$ $>$ 0 and K can be zero, ...
apk's user avatar
  • 307
0 votes
0 answers
35 views

Indefinite time for Reduce a set of conditions

Following command is taking too ling time to run. ...
SK SARIF HASSAN's user avatar
3 votes
1 answer
91 views

Cannot delete list elements within (/;) condition scope

I encountered a problem when trying to delete list elements within the scope of (/;) condition. Although I used the directive list=Delete[list,x], it still couldn't ...
liqi3837671's user avatar
-1 votes
1 answer
75 views

Right writing of While loop

Help me pls write While loop correctly. I have next code: ...
Mam Mam's user avatar
  • 1,753
3 votes
3 answers
125 views

Checking conditions of 2 dimensional table

I have a 2 dimensional table and I would like to test if for each vector, x^2 + y^2 > 5. vector is an element (x.y) of the table. Is it possible to manipulate the elements of a table this way? <...
epselonzero's user avatar
1 vote
0 answers
60 views

Unset Variable Using condition or If

Using Condition ...
eason's user avatar
  • 197
0 votes
1 answer
48 views

weird behavior in pattern-matching and condition

I'm confused by the following three different results involving pattern matching and condition. ...
Lelouch's user avatar
  • 513
3 votes
1 answer
73 views

Condition block scoping

I have a list of functional rules of the type F[x_]:=y;cond[x] with always the same condition. The list is long and rule 1 of programming says: "Do not copy!&...
Hauke Reddmann's user avatar
2 votes
1 answer
53 views

Assessing conditions on list of solutions

I have a list of solutions from Solve[] in the form ...
user12734's user avatar
  • 349
1 vote
2 answers
75 views

how to select elements from do-loop for some condition?

This is my original coding: Do[Print[Det[Table[(-0.15 + 0.001*x)^(i + j), {i, 1, 9}, {j, 1, 9}]]], {x, 1, 10}] I want to select ...
Sophia's user avatar
  • 23
1 vote
1 answer
143 views

Testing a condition on an expression throughout a range [duplicate]

How can one test a condition on an expression throughout a range? My true expression is rather complicated, but consider this minimal example: Is the function $2 - x^2$ positive throughout the range $...
David G. Stork's user avatar