Skip to main content

Questions tagged [piecewise]

Questions about the Piecewise function, which is represented by different expressions for different ranges of values of its independent variable.

0 votes
0 answers
68 views

Before describing the problem, a short background on how it pops up. I am solving a PDE problem on the [0,1]x[0,1] domain. To this end, I want to find the decomposition of some derivatives of the ...
Paweł Korzeb's user avatar
5 votes
0 answers
147 views

Suppose we have two interpolating functions with exactly touching domains, in our case {-1, 1} and {1, 2}. How to "glue&...
azerbajdzan's user avatar
  • 32.8k
2 votes
1 answer
331 views

I tried to plot the critical meniscus height of a liquid near a vertical rod (pulling upward) (radius, $r_0$) using the nondimensionalized equation (as $z=y/r_0$ and $r=x/r_0$) given in this paper, ...
Gopal Verma's user avatar
  • 1,137
2 votes
1 answer
126 views

I am trying to reproduce a static string profile of this paper, for which I use this Mathematica code: ...
codebpr's user avatar
  • 3,028
2 votes
2 answers
204 views

Simplification functions are usually able to reduce Piecewise to a simple expression when the conditions are not necessary, for example: ...
მამუკა ჯიბლაძე's user avatar
3 votes
0 answers
126 views

I'm trying to solve ray tracing equations for sound wave propagation in Mathematica 14.0. My goal is to handle a discontinuity that occurs when a sound wave crosses an interface between two media, ...
Fábio's user avatar
  • 183
2 votes
1 answer
97 views

and thank you in advance. I am new to using mathematica and any comments would be greatly helpful. I'm trying to find the root of a function ...
user105686's user avatar
1 vote
1 answer
139 views

I want to calculate second integral of following functions in mathematica if possible. $$\int_{0}^{x}\int_{0}^{y}\psi_{i}(t)dtdy=?$$ I have tried the following for the middle functions for example ...
Merakli's user avatar
  • 135
3 votes
1 answer
203 views

I have a function, int1[w] which incorporates two yet-to-be evaluated constants, u a positive real and ...
Richard Burke's user avatar
3 votes
1 answer
125 views

When I ask SeriesCoefficient[] to give me a general term, it outputs a response with head "Piecewise" that contains the general term in the first line and ...
Tom Barson's user avatar
0 votes
1 answer
75 views

...
M. Mo's user avatar
  • 19
0 votes
0 answers
24 views

In the following code, I generate data from a piecewise PDF. Usually, I get a sample size of ns, but sometimes I get an error message: Error: RandomVariate::unsdst:...
M. Mo's user avatar
  • 19
1 vote
1 answer
124 views

I'm working on a piecewise diffusion problem in Mathematica where the diffusion coefficient is 1 in the first region (x ≤ 1) and 2 in the second region (x > 1). The initial condition is also ...
Mikoto's user avatar
  • 366
0 votes
2 answers
182 views

I'm working on a problem involving the transverse vibration of a piecewise beam system. The system consists of two segments with different properties (length, Young's modulus, second moment of area, ...
Mikoto's user avatar
  • 366

15 30 50 per page
1
2 3 4 5
34