# Questions tagged [condition]

The tag has no usage guidance.

15 questions
Filter by
Sorted by
Tagged with
1 vote
104 views

### Boundary сonditions specified in different domains

I am modeling mass transport phenomena involving convection and diffusion within a two-dimensional box. The box has a height ranging from 0 to h along the y-axis and is divided into two domains along ...
257 views

### How to combine multiple pure conditions with an AND operator?

I have a list of Pure conditions {con1[#]&,con2[#]&,con3[#]&} and want to combine them in one Pure Function ...
267 views

### Define a function on a single element but linear in sums

I have tried searching around but I couldn't find the solution to this very simple setup. I want to define a function $f(x)$, which should satisfy $f(x+y)=f(x)+f(y)$, and whose action I only want to ...
102 views

### How to evaluate conditional roots in ContourPlot3D?

I have the following Mathematica code: ...
• 2,443
72 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, ...
• 307
35 views

### Indefinite time for Reduce a set of conditions

Following command is taking too ling time to run. ...
96 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 ...
76 views

### Right writing of While loop

Help me pls write While loop correctly. I have next code: ...
• 1,883
168 views

### Checking conditions of two-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? <...
1 vote
64 views

### Unset Variable Using condition or If

Using Condition ...
• 197
49 views

### weird behavior in pattern-matching and condition

I'm confused by the following three different results involving pattern matching and condition. ...
• 543
74 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!&...
• 1,143
54 views

### Assessing conditions on list of solutions

I have a list of solutions from Solve[] in the form ...
• 349
1 vote
78 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 ...
• 23
1 vote
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 \$...