# All Questions

16 views

### ListPlot the results of FindMaximum

I want to plot a list of the form whose elements are of the form {value, {x -> value_x, y -> value_y}} The list generated by FindMaximum applied on ...
36 views

### How to map Unevaluated over a list

I have a list {a1, a2, ...... , an}, in which all as have been initialized to a number. I want to get: ...
35 views

### Improve simulation speed using Compile

I have two square matrices, a hermitian matrix h and an unitary matrix v. I am interested in the following function ...
23 views

### Trigonometric simplification

How can I simplify 1/2 (Sqrt[3] Cos[x] - Sin[x]) in order to get Cos[x + Pi/6] on Mathematica? I saw that Wolfram|Alpha lists ...
31 views

### Numerical integral speed

I have the following code to calculate a numerical integral for any given a, however it takes a very long time, even with adaptivemontecarlo, which is not accurate enough: ...
24 views

### Animating an InterpolationFunction and its integral

I have a list of data that I interpolate (Omega[t]) and animate - it is working fine, but an Integrate over the ...
16 views

### plotting Multiple Functions of graph of trigonometry [on hold]

help me solving this question.i'm using mathematica wolfram version 10.the question is 1 a and 1b.if can, show me the answer in mathematica,i'm quite confused
276 views

### A bug in Integrate

Integrate[(1 + 16 Tan[2 x - y]^2)/(1 + 4 Tan[2 x - y]^2), {x, 0, 2 π}] Mathematica (wrong) output is (tested under versions 8 and 10.0, took ~ 1 minute of CPU ...
22 views

...
51 views

### Missing zero in the CoefficientList

The following list has a length only 10 (not 11) CoefficientList[Series[ArcTan[x]/(1-x^2),{x,0,10}],x] {0, 1, 0, 2/3, 0, 13/15, 0, 76/105, 0, 263/315} Should be ...
62 views

### Wrong Limit in Mathematica 10.0.0

Limit[(Log[(3+Sqrt[5])/2]/(2*Log[(1+Sqrt[5])/2]))^(-1-2*n), n -> Infinity] Mathematica (wrong) output: 0 But this is ...
151 views

### Plotting a Hill function [on hold]

I've Just recently gotten this program and cant plot this function, F(X)=1/(1+(X/K)^n) for X=0 to 4 nmol/m^3, K=1 nmol/m^3, F(X)= 0 to 1, and n=1,2,4,8,16 Now I know how to specify the limits and ...
34 views

### How to incorporate the boundary conditions into the differentiation scheme in MMA?

Let that we want to numerically solve the following PDE \label{sde} -r V(S,t)+r S \frac{\partial V(S,t)}{\partial S}+0.5 S^2 \text{sigma}^2 \frac{\partial ^2V(S,t)}{\partial ...
45 views

### Generating and Imaging of the water molecules with Graphics3D

my problem is I don't know how to generate e.g. 20 water molecules: Graphics3D[ Rotate[First@ChemicalData["Water", "MoleculePlot"], 45 Degree, {8, .5, 0}]] ...
41 views

### Wrong Limit with LaguerreL

Limit[(n! LaguerreL[n,-1]/(n^(n+1/4)/Sqrt[2]/E^(n-2 Sqrt[n]+1/2))-1) Sqrt[n], n->∞] Mathematica (wrong) output ...
238 views

### Generate a list of equations of curves and plot them

I want to plot a series of lines. This is how I did it: ...
70 views

### Interpolate/Extrapolate a gate charge curve from 2 different curves

gate charge measured data I have gate-charge measurement plots and excel data for two operating points for a power mosfet. Vds = 60 V, Id = 50 A Vds = 600 V, Id = 8 mA Can i generate a plot with ...
48 views

### How to disable dynamic update in DynamicModule when certain variable is updated [on hold]

I have a UI with DynamicModules. I have a progress bar, whenever the varibale progress updates, the ...
87 views

### ODE fitting to dataset

So, I have a ODE system, it is a complex biochemical kinetic mechanism with six species changing over time. ...
56 views

### convergence problem - triple integral

I have a problem in convergence ... for i=j=5 is enough to calculate what i want. But for os11[100,5,5]=1.59 ( 1.58 is the real ...
161 views

### Converting multi variable expression into a function

So I have this rather complicated looking expression ...
56 views

### The image turns black when I use the mouse to rotate it

All, This code ...
95 views

### Regime Change Stochastic Process

I would like to simulate an Ito process in which the drift and diffusion terms change after hitting a boundary for the first time. For example, a Geometric Brownian Motion X which has 0 drift and ...
43 views

### Missing definition of some parts of function?

I have: BeginPackage["Test1"]; ClearAll[f]; f::usage = ""; Begin["Private`"]; f[x_AA]:= 1; f[x_BB]:= 2; End[]; EndPackage[]; When later, on a notebook, after ...
68 views

### How do I find the constant term of a multivariate polynomial, when (x^0)(y^0)?

So let's say f[x_,y_]:=(2x+2y+1)^2, when I type Coefficient[f[x,y],x y] I recieve 8. But what can I input to recieve 1, when ...
55 views

### Adding a 3D point using Epilog [on hold]

I am trying to add a point using the Epilog option with ContourPlot3D. ...
46 views

### Fitting data to plot using errors as weights

I have some enzyme kinetics data that I want to fit to the Michaelis-Menten curve in order to obtain the kinetic parameters of the enzyme. Is it meaningful, statistically and functionally speaking, ...
44 views

### n dimension vector expression in mathematica

I have a question about how to write the formula in Mathematica. If $w$ is $n$-dimensional vector, with each element as $w_i : i=1,2,3,...n$ and $n$ is symbol, how to write it as vector in ...
32 views

### i need generalized code for genetic algorithm(an optimization technique)? [on hold]

I'm working on GA coding to optimize the locators position in fixturing system to minimize the error in precision manufacturing.I need generalize code for GA (including random population ...
80 views

### Minimize method is not giving minimum. Why?

I was doing an optimization but facing a problem getting what exactly Minimize function do. I run the following code: ...
15 views

### How many workers each company have? [on hold]

If total there are 90 workers between 2 companies and one company have 16 more workers then the other. How many each company have?
68 views

### How to speed or help Solve[] when it is stuck?

The code below generates a system of equations that I need to Solve[] for {c[5], c[6], c[7], c[8]} in terms of {c[1], c[2], c[3], c[4]}. ...
18 views

### About Manipulate : How to make this work properly?

Manipulate[ Plot[PDF[NormalDistribution[mu, sigma], x], {x, -4*sigma, 4*sigma}], {mu, -10, 10}, {sigma, 0, 10} ] I got the following error:
183 views

### Built-in symbols that support operator form

In version 10 some built-in symbols are updated to support operator form like the Derivative. For example, Select, ...
41 views

### Pulling the boundaries from a Solidworks Profile in Mathematica

I'm currently trying to take a 2d profile generated in SolidWorks and use mathematica to analyze it. I need to pull lines that represent the boundaries of the shape from an image of the shape. . My ...
22 views

### PredictorInformation[] doesn't show linear regression coefficients when model has more than 101 features

I need to train a Predictor[] where both features and outcomes are (arrays of) binary variables. (e.g. {{0,1,0,0,0,1}->1, {0,1,0,0,0,0}->0}) For some reason when I train the Predictor[] using a ...
27 views

### Drop elements in Permutations [duplicate]

I have a problem with one excersise. I have a set of {x,y,z,w,u,t}. Then i want to print all possible permutations of the set with length 3 that commits this condition: element "u" not to occur after ...
101 views

### Making ReplaceAll faster

I have a list of functions ncalc that is calculated by ...
109 views

### definite integration very slow

I have to perform definite integration of function of this kind : ...
55 views

### Power::infy: “Infinite expression 1/0. encountered” (ODE Solution using NDSolve)

While solving the following ode, Eq1 = f'''[x] - f'[x]*f'[x] + f[x]*f''[x] - K1*(2 f'[x]* f'''[x] - f[x]* f''''[x] - f''[x]*f''[x]) - f'[x] == 0 with the ...
43 views

### FullSimplify cascades too much/groups variables too eagerly

This is something FullSimplify will give: $$\frac{n (s+\text{s2})-\text{a1} g}{\text{a1} (g-\text{a2} s)+s (s+\text{s1}) (s+\text{s2})}$$ I could find better examples where FullSimplify cascades ...
104 views

### make trace of a matrix listable?

I have a list of 2 by 2 matrices and I want the list of their traces. I have been using Map[Tr,mylistofmatrices] But I wonder if there is a way to make ...
37 views

### NSolve Duration for simultaneous equations solving

At the moment I am asking myself why mathematica gets to point of needing enormous amount of time to solve equations like these when one more "row" or "colum" or both was added in this equations ...
34 views

### Dynamic locator missing when image change

I plan to get corner coordinate of desired image dynamically through LocatorPane[Dynamic[pt],back]. However, I notice that locator on right hand side was ...
57 views

### LogisticSigmoid residue bug?

On version 10.0 for arm: Residue[LogisticSigmoid[z],{z,I Pi}] gives 0 not 1. Can anyone reproduce this?
40 views

### system of nonlinear partial differential-algebraic equation [on hold]

I want to solve 2 coupled partial differential algebraic equations. Below is my program. I am not able to find the solution. Please help for the same. ...
16 views

### How to use PageBreakPalette?

I would like to use PageBreakPallete from http://library.wolfram.com/infocenter/TechNotes/4094/ I did Palettes->Install Palette.. and then in Palettes I have PageBreakPallete. There show Palettes ...
37 views

### Table of sections with CellPrint

I am trying to produce a table of sections with each section containing a DynamicModule. My two questions are: (1) How do I produce grouped sections that are folded ...