# All Questions

13,772 questions
Filter by
Sorted by
Tagged with
412 views

### Lagrange multipliers code runs forever

I am writing a code for a Lagrange multipliers problem with three variables. My code looks like this: ...
246 views

### Why does initialization slow down manipulate in this case?

I'm trying to manipulate a plot of function with some parameters. The function is a long expression, so I tried to put it inside the Initialization options of ...
2k views

### Finding max value of each column of 4x4 Array

I have the following array in both MatrixForm and List form ...
232 views

### What is wrong with ContourPlot [duplicate]

Why does this plot have a big blank hole in it? ...
587 views

### FindFit: why do I get negative value as result?

I am trying fo fit a model to data using FindFit. ...
108 views

### Linear programming pivot

Here my object is purely pedagogical. When I was a student I hated linear programming because of the numerous operation we have to solve the simplest linear program. So now that I teach linear ...
200 views

### TabView resets to default when selecting data using Control object

I have 3 drop down boxes on one of the tabs in my TabView. Two of the drop down boxes results are used in a Select statement to ...
58 views

### How to stop Replace duplicating a list when using Table?

I have a 3 dimensional list of data pairs in the form: {{{{x11,y11},{x12,y12}},{x1...,y1...}},{{x21,y21},{x22,y22}},{x2...,y2...}}... etc Incidentally the data ...
105 views

286 views

### Solving an ODE using the Taylor Method Help?

Not sure how to proceed after this... ...
280 views

### How to compute values only if input fields are filled?

In the following code how can I keep the DynamicModule from computing values if the input values are not all filled? If I don't specify default values it will show the code used to compute the values ...
98 views

### Finding the right DeleteCases pattern for <<199>>

I have a list in Mathematica with several items like <<199>> and <<104>>, I would like to get rid of them using DeleteCases, but none of the patterns I ...
228 views

### Turning a 2D 3 body problem into 3D not so easy? [closed]

I have programmed a 3 body problem, that can in theory work for more than 3 bodies. I apologize in advance for the length of the code that I posted, I don't really know how much one would need to help....
119 views

### How to get a list of vertices in a convex hull

I have the following convex hull: ...
33 views

### FindRoot for a transcendental function (PolyLog)

I am trying to solve an equation involving polylog using FindRoot, I am not sure how to give the initial guess as I want to solve the equation for a variety of parameters. Here is my code: ...
127 views

### Normal distribution plot construction

How would I go about creating a normal distribution graph with standard deviation given by P[x_] = -x*Log2[x] - (1-x)*Log2[1-x] and mean 6? I want to ...
95 views

### Matrix iteration failing after second step

I am calculating 11x6 matrix using different logics as in below code. Problem is in Do loop in below code where I have two different criteria to update matrix "fd". I am expecting logic in IF which ...
161 views

### DSolve taking a very long time with my ODE and not giving a useful answer

Evaluating with DSolve has taken ~50 minutes to complete when given this ODE: DSolve[y''[t] == Sqrt[1 + y[t]^2], y[t], t] <...
i have some initial state $psi[x,t]$. I perform some operation on it and store the value in another state $pi1[x,t]$. Now on the next step i have to use $psi1[x,t]$ as initial state and perform the ...