# Questions tagged [piecewise]

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

308 questions
Filter by
Sorted by
Tagged with
307 views

### How do I insert a circle inside another circle with Piecewise?

I need to create two circles, where one circle is inside the other using the Piecewise function. So far I have ...
85 views

### Piecewise integration fail or something else?

I have a not-so-complicated piecewise cubic function, shown below as the yellow curve on the right. It's derivative is on the left; the blue lines are references. Please see the code below where I ...
85 views

### Difference in Piecewise function

I have two piecewise functions that are defined on values of [0,200]. I would like to find out the maximum difference between the two values. The usual Max[] function does not work because all values ...
211 views

### Piecewise function created from list

I have a list of values called EDFh3. This contained values which are partitioned by 3 where it is in the format ...
213 views

### How to implement a loop inside Piecewise?

I wanna be able to use the Piecewise function such that I don't have to manually enter all the pieces. For example, say I define f[x_]:={x,x^2,x^3} Consider now ...
120 views

### DSolve, Simultaneous Eqns + Piece-wise + boundary and initial conditions

mathematica noobie here but could really use some help. So I have 2 sets of equations: 1) w''''[x]=0 and 2) w''''[x]=q[x] 1) has conditions w=0, w'=0 2) has conditions w''=0, w'''=0 1) ...
264 views

### Plot of piecewise function is not bounded properly

I am trying to plot a piecewise function that gets bounded above and below a certain value (e.g). ...
93 views

### Selecting only list of function output from piecewise function output [closed]

Say I have a piecewise function: V[m_] := Piecewise[{{(1 + m)^2, m >= 1}, {Log[m], m < 1}}] And I input a large list of ...
2k views

### Plotting a piecewise function [closed]

I'm having trouble plotting the piecewise function below. The only way I can replicate this function is using ...
205 views

### Variable Increments in a Table

I am working on a problem involving the piecewise function: $$x^2 \quad \mbox{if } \quad x < 2$$ $$(x-3)/(\sqrt{x-2}-1) \quad \mbox{if } \quad x \geq 2$$ I am supposed to find ...
129 views

79 views

### Extracting function names in Manipulate to label plot

I have previously asked a question in regards to determining the labels of the dynamic graph that I have created, but by using SetAttributes and ...
618 views

### Defining a piecewise function from a sequence of functions [closed]

I'm attempting to define a piecewise function from a sequence of defined functions. I've attempted something like this: ...
207 views

### Problem with a periodic function and NDSolve

I have defined a periodic function $f(t)$ like this (Mathematica 11): ...
93 views

...
116 views

### Mapping a simple 2 variable function

Quick Question: What is the best way to map this function so it performs seperately for 102 different values of x? ...