# All Questions

5 views

### How could I upload a XLS file to Cloud and then plot it?

I want to upload a file to the Wolfram Cloud and plots the list: So I use the following code: ...
5 views

### formulate a condition that function f(x,y) must hold in order to be considered as “associative”

Let f(x,y):{0,1}^2->{0,1} be a Boolean function. Answer the following "warm-up" questions: a. Prove or dispute: The function f can be one-to-one. b. Formulate a condition that function f(x,y) must ...
13 views

### Computing a map between two lists

What I want is a little difficult to explain. So I try to it with an example. I have 2 lists, each of which has $(n-1)^2$ elements. Each element is an integers between 0 and $n-1$, inclusive. For ...
18 views

### ball lens minimum aberration

this is my project(simulation) a set of parallel rays goes trough a ball lens(circular lens).because of spherical aberration refracted rays will not meet in a single point.find the distance which ...
14 views

### Faster way to build a set height in the z-axis direction in the thickness plane graph?

test image can be a Plot, ParametricPlot, RegionPlot, ContourPlot etc.!! ...
10 views

### Put/Get don't accept a string-valued expression as filename [duplicate]

I'm trying to do the following with an expression: filename=StringJoin[{"myfile", ToString[someNumber],".m"}]; expression >> filename; But mathematica ...
29 views

### Curve fitting of a list

I have list obtained using an integrals. I want to obtain an analytical formula that fits my list using curve fitting. Please suggest a simple analytical structure that fits my curve. ...
19 views

### Histogram from a list of matrices

I have a list of around 100 matrices, that looks like this ...
41 views

### Grid lines extending too far

The grid lines in the following plot extend beyond the data and, in particular, into the numbers along the axis. ...
16 views

### How to automatically Import, Name and Export multiple images?

Sorry for the very basic question but I'm really new to Mathematica. I have a directory(myDataDir) full of images (myImage1.tif, myImage2.tif...) I have a piece of code (let's call it ...
39 views

### Wrong Definite Integral result

When I calculate the definite integrate of (a+bt)*cos(nt). Integrate[(a + b t) Cos[n t], {t, t1, t2}] MMA gives a correct answer: ...
33 views

### Open Mathematica in text editor displaying just the code

I need to translate some code to another language and I don't have a working copy of mathematica. All I need it to do is display the code exactly as it would in mathematica, without any of the fancy ...
27 views

### Using RegionPlot3D to make a cone under restrictions

I have to plot a cone that satisfies this statement: Use the RegionPlot3D command to draw a picture of a cone with its point at the origin. The other end of the cone is a circle with radius 5 ...
19 views

### Using real numbers gives suspicious result

In the code below when I use a real number for number 4 in the exponent in the irf function, it returns wrong result. ...
202 views

### How to wrap a plot around a circle?

Consider the code a = Table[BesselJ[i, x], {i, 0, 3}] Plot[a, {x, 0, 20}, Axes -> False] producing I'd like to transform the plot into a circle. In other ...
30 views

### How to replace colours in an image from Wolfram Alpha [on hold]

I recently saw this post on the Wolfram Blog. I have tried doing the exact same thing on the blog but I'm not getting the same results. I'm getting this image: Instead of this: I'm also ...
27 views

### Proof that $(1+\epsilon)^n = O(n\epsilon)$ [on hold]

How to prove that $(1+\epsilon)^n = O(n\epsilon)$ ? So far I proved the following: By the binomial, $(1+\epsilon)^n > n\epsilon$ Also $\epsilon^n$ = 0 when n-> infinity.
58 views

### Problem in Plot at start [duplicate]

The derivative can be used to calculate roots. However the same function cannot be plotted.The error is at start point of domain: ...
28 views

### Mapping also for one element (or telling it how to do so if head got changed)

Some code generates a polynomial, and has the form: expr = Plus[a[i],b[i],c[i],d[i]] I need to apply f to each term. To do ...
35 views

### Handling Accuracy and Simplifying

I have the following problem. I have a system of non-linear equations that I log-linearize around a certain point, let's call it point A, using a function that I ...
49 views

27 views

### How can i insert mathematica graph in eps format into word file without lossing a right vertical line? [on hold]

How can i insert mathematica graph in eps format into word file without lossing a right vertical line? if any one know please help me
67 views

### Can not understand the code to plot Fourier Series approximation of the line

I'm reading the CDF file from Making Formulas… for Everything in wolframalpha blog. When I step into In[9] and In[10], I'm fully confused. Who can tell me what does the two functions mean? The ...
42 views

### Improve on timing of NMinimize

I got a little performance problem with the function NMinimize (it takes mathematica approximately 10 minutes to compute the results). Here i s my sample code: ...
61 views

### Randomly changing matrix entries

1.Write a block of code that generates a 4x4 matrix with randomized real number entries each between 0 & 1, then selects 3 matrix entries at random, and finally replaces these 3 entries with a ...
24 views

### Nested For loop in Mathemaitca for solving FDM problem

I am solving a FDM problem in Mathematica My equation is d[Rho]/dt + beta*Rho= alpha*q dq/dt + v*dq/dx +alpha*q= beta*rho nx = nt = 5; ...
31 views

### Non linear model fit

I need to fit this, but for some reason I cannot... data = {{0.617,0.8}, {0.605,0.6}, {0.5997,0.4}, {0.5972,0.2}, {0.5985,0.1}}; soln = NonlinearModelFit[data, {y - 2478.82*wlog[kc + 1]}, {y,w,k}, ...
44 views

### Using FindFit to return a list of possible best fits

Can I use some variant of FindFit that will return a list of the best fit and some worse fits, not just the best fit? This is for a function where the residual function can have several local ...