# All Questions

22 views

My code below shows the function I am putting into the kernel to compute mathskernel.Compute("NSolve[" + yaxisin + ", y]"); where ...
21 views

### Wrapping Text Around Pasted Graphic?

I would like to use Mathematica to create all my documents for my high school math class. I cannot, however, find a way to copy and paste a diagram (let's say from Geogebra) and then place it where I ...
23 views

### Plot does not take range with OptionValue and PlotRange option

I am making a function that is to use Show to overlay a few plots of a function. I want the first Plot in ...
26 views

### How can I pass values to a NamedSlot in TemplateApply

str=";v;v;"; template=StringTemplate@str; TemplateApply[template,CharacterRange["A","Z"]] (*"A;;;D"*) I want to get the result as: ...
39 views

### Why Function is compiled?

Function isn't mentioned in the list of compilable function, but it can generally be compiled when it's formed by compilable functions, a simple example is: ...
28 views

### creation a table from a default module

I have used of bisection method for finding the root of a function: ...
22 views

### Stopping NDSolver at time of error

I am using NDSolver and WhenEvent to solve a system of differential equations. I get this message: ...
25 views

### An conditional Sum of elements in Array

Consider we have: list = {{2, 3}, {3, 30}, {3, 2}, {4, 53}} and we want to compare the first elements and sum the second elements if first elements are similar ...
24 views

### Graphs making on Mathematica by using HAM

I'm working on HAM, on graphs making i encounter a problem over and over again that on even iteration it gives a graph of different shape and on odd iteration it gives totally different shape of ...
52 views

### Using MapThread over 2 lists different length with criterion on minimal differences

Say I have 2 lists ...
21 views

### Replace values in a list based on conditions

I have a list with negative and positive numbers list = {-1, -2, 1, 2} and I want to replace all negative values with 0 and all positive values with 1 ...
38 views

### First Plot misses the Show

g4 = ContourPlot[Sin[x] Cos[y], {x, 0, 2 Pi}, {y, 0, 2 Pi}] g5 = ContourPlot[Cos[x] Sin[y], {x, 0, 2 Pi}, {y, 0, 2 Pi}] Show[{g4, g5}, PlotRange -> All] How to ...
44 views

### Find the tangent at a homogenous point to a curve [on hold]

I'm new to Mathematica. I want to find the tangent at the point $p=(6,5,1)$ to the following curve: ...
276 views

...
43 views

24 views

### ParametricNDSolve of differential equation with singularity

I have a differential equation I would like to solve with the ParametricNDSolve. However, the coefficients in the differential equation are singular at a certain value, so sometimes NDSolve crashes ...
29 views

### How can I import JSON object as a nested association? [duplicate]

Still seems difficult to get an understanding of a JSON object imported using ImportSting[str,"JSON"]. Is there anyway convert it to a dataset perhaps, where queries would be easier than the ...
25 views

### Exporting data in an output file from a Do-loop evaluation [duplicate]

I want to transfer the output of the following evaluation into a two-columned data file where the first column will be values for a and the second column will be ...
56 views

### How do I define a random variable involving Part?

I need to define a random variable that involves Part, but when I try, for example ...
71 views

### solve nonlinear equations with NDSolve

I am trying to solve a set of equations with NDSolve. one of them is mg*yg''[t] == NN[t] - kb*yg[t]^1 - cb*yg'[t], When the power of yg[t] is 1 the equations could ...
30 views

### Multidimensional Interpolation with 3 independent Variables

I have four column data with first 3 column denoting x,y,z and fourth column energy. x variable is actually angle. Now I want to interpolate over all three indepdent variable (x,y.z) with ...
22 views

### Need help with solving inequality under assumptions

I seriously need help for my research. I need to solve an inequality with several assumptions. I tried many times with Reduce but it did not work out properly. Sometimes the results I get are simply ...
76 views

### Significantly different results between Mathematica and Wolfram Alpha with large radicals and small numbers [on hold]

I have some code which involves tiny numbers being put to the power of very large numbers. The function I'm looking at is $\varphi = \omega(T) \left(1 - (1 - \epsilon)^{n_{e}(T)} \right)$ when ...
45 views

### Is Eigensystem::eivin message a bug?

I noticed that in the question Request for clarification of Eigensystem::eivn message the error message Eigensystem::eivn: Incorrect number 2 of eigenvectors for eigenvalue ...
144 views

### How to write an operator that acts on pure function (to give another pure function)

I would like to write an operator oper that acts on a pure function f with an undetermined number of arguments, with the syntax ...
18 views

### CoordinateBoundsArray? [on hold]

I want to use CoordinateBoundsArray but Mathematica does not recognise it. Is it a specific package that I need to explicit include, or is this just due to my ...
98 views

### Cluster numbers into n partitions so that each partitions sum is closest to total/n

For example having data data = {16, 4, 17, 10, 15, 4, 4, 6, 7, 14, 9, 17, 27, 6, 1, 9, 0, 12, 20, 8, 0, 3, 4, 0, 3, 4} I want to cluster them int 4 partitions ...
52 views

### Finding the conditions for degenerate solutions to a cubic equation

I have a cubic equation (corresponding to the band structure of a physical system) given by w in the code below. ...
40 views

### Show a part of the output but be able to work further with the full output [on hold]

Is it possible to display a portion of the output without dropping the hidden data? For example, when I use Shallow, a part of the output is actually dropped.
28 views

### Vectors in Time vs Value line graph

I have some data that varies with time and can be plotted on a line graph of values at irregular points in time. I'm trying to extract some trends from that graph and in doing so I want to treat the ...
35 views

### ListLinePlot partial filling

I use ListLinePlot to plot data: ...
42 views

### Does Sum calculate all terms before summing them?

After calculating the sum of a large number of large objects, using B = Sum[RandomInteger[{0, 1}, {10^6}], {100}]; I find that ...
40 views

### Same scale for all the axes in Plot3D

I can't find this in the documentation. How do you force the same scale for all the axes when making a 3D plot? There is the BoxRatios option, but this only changes ...
59 views

### How to restrict the motion of a Manipulate-generated Locator along a line?

If one uses a stand-alone locator and needs it to only be movable along a curve, say, defined by a function f[x], one can use a simple construct: ...
65 views

### Graphics3D artifact in Mathematica 10.1 64bit Home Edition - Windows 7? [on hold]

Please confirm if you face the same issue in your system (In gnu-linux it is working fine). Notice the right and bottom lines - they appear for some reason in every ...
42 views

### Setting up a system of equations for solution

There are two lists as follows: ...
46 views

### Draw a vector with mathematica [on hold]

at the risk of being trivial I would like to draw the vector $\vec{AB}$ where $A$ an d $B$ have the coordinates $(1,1,1)$ and (1,-1,2) respectively.
97 views

### Using function to transform a list

I have a list like that: {{Integer,String},....}, integer ranges from 1 to 900 and String "I" to "IV". And I need to find which pair of {x,y} each sublist is related to, so i can get a new list like ...
90 views

### Extracting points from the MeshFunctions of Plot3D

I am trying to extract the points from the mesh lines of a 3D plot. (Not my actual function.) ...
11 views

### Probability clarification [migrated]

Consider the reading habits of the X class. If we know that 30% of the class students read USA Today daily, 40% read Salt Lake Tribune daily and 10% read both of them daily, what is the percentage of ...
54 views

### Increasing Plot3D speed when plotted function is Eigenvalue

This is probably a really simple fix, but I'm fairly new to Mathematica and am not sure how to do this properly. I know that trying to plot eigenvalues directly can be computationally expensive, so ...