For questions concerning the popular computational software program published by Wolfram Research. (Note: you are more likely to get quicker and more accurate response if you ask the question on their user forum or on the Mathematica StackExchange site.)

learn more… | top users | synonyms

3
votes
1answer
67 views

Why these integrals are evaluated differently? $\cos(x)/(a-b\cos(x))$

In attempt to solve electrostatics problem I came up to this integral that I am trying to integrate: $$\int_0^{2\pi}\frac{\cos(x)}{a-b\cos(x)} \, dx$$ where $a>b$ and both are real numbers. For ...
0
votes
2answers
62 views

How plot $f(x,y) = \frac{x}{1-y}$ with $x^2+y^2<1$?

How do you plot $$f(x,y) = \frac{x}{1-y} \text{with}~ x^2+y^2<1$$ in Mathematica or Maple?
1
vote
1answer
72 views

Mismatching Results - Keno and Probability

In Keno, a player picks from 1 to 70 (at least in this version), 20 of these numbers are drawn, and the payouts are based on the number of matches. What I have tried to do is to check that the Swedish ...
1
vote
2answers
77 views

Newton's Method in Mathematica? [closed]

Which code should I use it for? FindRoot? or Plot? I am actually new to this program... and I would appreciate if you could tell how to mention the precision. Thanks! Solve the nonlinear ...
0
votes
2answers
49 views

Fraction Cross Multiply

Students first learning about fractions are often taught to "cross-multiply" when dealing with fraction with non-like denominators, however, in Mathematica, with the function ...
4
votes
0answers
120 views

How to integrate $\left(1+\ln(x)\right)\sqrt{1+(x\ln(x))^2}$ with Risch algorithm?

How would you integrate $\left(1 + \ln\left(x\right)\right)\, \sqrt{1 + \left(x\ln\left(x\right)\right)^{2}\,}$ using the Risch algorithm? I want to know this because Mathematica is using the Risch ...
2
votes
2answers
294 views

How to fit a sinusoidal function through 2 points with known slopes?

I can define my sinusoidal function as $y(x) = A\sin(B x+c) + D$ or as $y(x) = A \sin(B x) + C \cos(B x) + D$ Now, I have two points with known slopes that I must fit this sine wave to, thus my ...
1
vote
1answer
56 views

Mathematica question

let $S_p$ denote the sum of digits of $p$. A prime $p$ is said to be stubborn if none of $S_n+1$, $S_n$, $S_n-1$, $S_n-2$, or $S_n-3$ is a prime. Write a Mathematica program that finds the smallest ...
0
votes
2answers
128 views

Concerning the general solutions to linear ODEs Y'=AY when A has multiple eigenvalues

Given linear ODES Y'=AY, where Y is a column vector, A is a 6*6 square matrix. Clearly A has 6 eigenvalues, namely r1, r2, r3, r4, r5, r6. Herein we assume r5=r2, r6=r3.That is, r2 and r3 are two ...
0
votes
1answer
47 views

I need to use RSolve in mathematica to solve recurrence relations [closed]

I need to use the RSolve command in mathematica to solve recurrence relations and then find a9. I looked at documentations and try for about 2 hours no matter what my answer is not coming out right. ...
1
vote
0answers
48 views

Learning Resources: Mathematica Notebooks

A while ago, I stumbled upon someone's list of Mathematica notebooks for learning various topics. I've since lost the link, but I'm wondering now if I could find notebooks again. So my question is: ...
0
votes
1answer
111 views

How do you set the range for ListPlot (mathematica)

I have a large set (about 2050 values) of data that I would like to make a graph out of. The data is in two columns in Excel. I copied the first column and made the list x={0, 3.6, 7.1, 10.7...} and ...
0
votes
1answer
42 views

Why the lower limit of this integral is 1?

I solve this differential equation using Mathematica. But I don't understand the solution. Why the lower limit of this integral is 1? I run: $$\text{DSolve}\left[y'(x)+y(x)=Q(x),y(x),x\right]$$ the ...
0
votes
1answer
149 views

Graeffe's root finding method

What are the practical applications of Graeffe's root finding method?I searched a lot but couldn't find.I found that it is used in aerodynamics and electric circuit analysis.But don't know much about ...
4
votes
1answer
64 views

Notation for derivatives at a certain point

Is the notation for values of a derivative at some point that I used in this question commonly accepted and understandable? Is there a more preferred one? For those who familiar with Mathematica ...
1
vote
1answer
242 views

Wolfram Mathematica - Newton Backward Interpolation?

I have the following task: Create a function (in Wolfram Mathematica), called $\mathrm{NewtonBackward}$[n_,x0_,h_,f_] which interpolates backwards the function $f(x)$ with nodes {x_i = x_0 + ...
0
votes
1answer
50 views

Problem with a loop in Mathematica

I am trying to create a loop in Mathamtica, where i get all $i$'s (with a certain bound, of course) for which the following expression holds: $7^{41\ast i}\equiv 3^{41}\, mod\, p$, where $p$ is just ...
1
vote
0answers
64 views

Functions generating prime numbers in math packages

Does anyone have an idea on how prime number generating functions such as Prime[n] in Mathematica generate the $n^{th}$ prime number?
1
vote
1answer
68 views

Can we effectively solve a system of polynomial equations (numerically).

It is known, and simple, that roots of a one polynomial in one variable $f(x)$ can be found numerically. If we restrict to the reals, one can readily give an explicit bound for any zero of $f$ in ...
1
vote
0answers
51 views

Vector calculus: Finding a model fit from a 2D grid

First of all, I am a biologist. My knowledge of math is very limited. Therefore, I come here for help, but please take into consideration that I may not be very good at asking the question in a good ...
0
votes
1answer
83 views

Write a Mathematica program to find the four known factorions

so i have come up with code that will find the four factorion numbers. I have a bunch of ideas of how it needs to be done theoretically but its still not quite clicking for me not too mention i am new ...
0
votes
0answers
20 views

Is it possible to find an exact expression for system for recursion of non linear equations?

I have a system of N non-linear equations of N unknowns $\phi_i, i \in 1,2,... N$. By specifying the middle two unknowns as $\phi_{N/2} = 0, \phi_{N/2+1} = X$, I get that: \begin{align*} ...
0
votes
0answers
46 views

Malliavin Derivative with Mathematica is it possible?

Note: This question was originally posted on mathematica.SE. Please check there before answering to ensure that it has not already been satisfactorily answered. Is it possible to define a ...
3
votes
1answer
77 views

solving the $ \varepsilon_{ijk}\varepsilon_{lmn}$(Levi Civita)

How can I solve this : $ \varepsilon_{ijk}\varepsilon_{lmn}=??$ I know that It can be solve with 2 determinants but I don't know how.and I don't what are the determinants!
0
votes
1answer
124 views

Solve 4 A (L^(3/4)) - wL (((24 - L) w)^(-3/4)) = -(((24 - L) w)^(1/4)) for L? Using Mathematica

I'm trying to solve $$4 A (L^{3/4}) - wL (((24 - L) w)^{-3/4}) = -(((24 - L) w)^{1/4})$$ for $L$ using Mathematica, and it spits the following out: ...
0
votes
0answers
24 views

Mathematica problem: Solution in terms of predefined functions

Is there a way that I can have Mathematica give me the solution of a problem it has solved in terms of functions that I have predefined?
0
votes
1answer
78 views

Trouble in proving that $\|x\|_p = \max|x_j|$

We define p-norm in this way: $\|x\|_p = \{\sum ^N_j_=_1|x_j|^p\}^ {1\over p}$ We know that It change to $\|x\|_p = \max|x_j| $ when $ p \to \infty $ How can I prove this ?
0
votes
1answer
100 views

Difference between validity and satisfiability?

I am having problems understanding the difference between validity and satisfiability. Given the following: (i) For all F, F is satisfiable or ~F is satisfiable. (ii) For all F, F is valid or ~F is ...
0
votes
1answer
58 views

What is the meaning of log(0,1)[x] in Mathematica 9.0?

everyone.I want to know the meaning of "log(0,1)[2,x]" in the out[8].What's the difference between log[2,x] and log(0,1)[2,x] in Mathematica?
2
votes
2answers
132 views

Convergence of hypergeometric 2F1 with z=-1

Encountering the hypergeometric function $_2F_1(4n+3,\ m+1;\ m+3;\ -1)$ where $n\in\textbf{N}$ and $m\in\{2,4,6,\ldots,4n-2\}$ I'm a bit confused about its convergence. According to Erdélyi's ...
0
votes
1answer
58 views

Understanding the Wolfram Demonstration “Distance of a Point to a Polygon”

I've recently came across a neat Wolfram Demonstration script by Jaime Rangel-Mondragon that calculates the minimum distance from a point to an arbitrary convex or non-convex polygon: ...
1
vote
2answers
93 views

Bessel function to $\sin(kr)$

$J_{\frac{1}{2}}(kr)=\frac{\sqrt{\frac{2}{\pi }} \text{Sin}[\text{kr}]}{\sqrt{\text{kr}}})$ This can be easily obtained by Mathematica, How to do the details?
0
votes
2answers
66 views

simple question: the eigenvectors of a matrix.

\begin{align*}A=\left(\begin{array}{cccc} 1 & 2 & 3 & 4 \\ 0 & 1 & 2 & 3 \\ 0 & 0 & 1 & 2 \\ 0 & 0 & 0 & 1 \\\end{array}\right);\end{align*} The ...
2
votes
2answers
422 views

What does Mathematica do that Wolfram Alpha can't?

It isn't clear to me what Mathematica does that Wolfram Alpha can't do. (Obviously I have never used Mathematica.) Here (http://www.wolframalpha.com/faqs4.html) it says that Wolfram Alpha "has ...
0
votes
4answers
73 views

Statistics independence question

A newly-minted sixteen year old takes the written and road drivers's license test repeatedly until he passes them. It is given that the probability he passes the written test is 0.9, that he passes ...
2
votes
0answers
74 views

Solution of nonlinear waves( breathers)

The sine-Gordon equation is known as $$\frac{\partial^2 u}{\partial t^2} - \frac{\partial^2 u}{\partial x^2} + \sin u = 0,$$ Can you please derive the equation which is known as breather equation ...
5
votes
2answers
168 views

Finding the largest circle that contains a single point in a set (and no other point)

Given a bounded $A \times B$ rectangle with a set of chosen coordinates, generated for example with the command: ...
-1
votes
1answer
226 views

Finding out the nodes from spherical symmetric equation for mathematica and then plotting it in gnu-plot

What I want to do is to draw a curve for the spherical partial differential equation for S at rho=0: \begin{equation} \frac{\partial^2S}{\partial \rho^2}+\frac{d-1}{\rho}\,\frac{\partial S}{\partial ...
0
votes
1answer
140 views

Inverse Fourier transform to find out $\hat c_1$

If we have an integration which is need to solve inversely $$a_0 e^{-r^2/R^2} = \int_0^\infty \hat{c}_1(k) \frac{\sin(k r)}{r} dk,$$ If I transform the $\sin(kr)$, then we get imaginary part. Please ...
0
votes
1answer
82 views

How to plot (y vs x) a not invertible function say F(x,y)=const?

I am trying to plot (y vs x) for a not invertible function PolyLogarithm[1.5,y/x]=const. Any Ideas how to do this, say on Mathematica?
1
vote
1answer
88 views

help to write the Mathematica or Maple code for $\log(1+x)$ as MeijerG

I am having difficulties working with some integral and I believe that if the natural logarithm in that integral is converted to its MeijerG equivalent, then it will be solved easily. can somebody ...
1
vote
1answer
81 views

Plotting large equation in mathematica

I have this rather large equation which needs to be solved with respect to I1 so that I can plot it against X: -1 - (0.742611 I1 (1/(-(-14 + 16/I2)^2 + (1 - 15/I1 + 16/I2)^2) - ( 30 (1 - 15/I1 + ...
1
vote
1answer
164 views

Master degree require Matlab? [closed]

I'm devon. I'm in second year math integrated computer concentrate in statistic. I love math and I'm very interested in finance. So I'm planning to get the master degree in Financial Mathematic. What ...
2
votes
2answers
61 views

applying plus to sublevels of sparsearray in Wolfram Mathematica converts it to a normal list. How to avoid it?

I have a sparse array of tuples of positive real numbers (in fact a probability distribution) say ...
0
votes
1answer
253 views

Fourier Transform for a Convolution

Alright, so I am using the Convolution property of Fourier Transforms to find a function $f(x)$. So the obvious equation: $h(x) = f(x) \ast g(x)$. Definitions: $$g(x)=Rect\left[\frac x w ...
3
votes
1answer
275 views

Switching from Mathematica to MATLAB: As a text editor?

I have been using Mathematica for almost a year, and the most indispensable feature in Mathematica to me has been the ability to write really nice documents and print them into PDF or TEX files. In ...
3
votes
0answers
42 views

How to visualize a function to aid in optimization?

I am working on minimization of a function with more than two parameters. I want to see variations, local extremes, saddle points, etc. of this function to get some idea of how is this function in ...
0
votes
1answer
48 views

Graphing a function

A function is defined in a article equation 37, $$A(t)= 0.456+\frac{2.58}{(1+0.136 t)^{0.249}}$$ The simulation of the equation is: But I have tried like by this: ...
0
votes
0answers
106 views

Plotting graph For Z versus $\rho$ by applying numerical method and explanation of nodes

I want to draw a simulation for a graph by Mathematica but confused that where I have got struck, The equation I need to plot is, $$\frac{d^2Z}{d \rho^2}+ \frac{D-1}{\rho} \frac{dZ}{d \rho}-Z + 3S^2 ...
4
votes
2answers
286 views

Plotting graphs using numerical/mathematica method

From the author's equation 13, 14 We can write by inserting V''(A)=0, Solving for R we get, $$R= \frac{6^{D/4} \sqrt{D}}{\sqrt{-2^{1+\frac{D}{2}} 3^{D/2}+3 2^{1+D} A-3^{1+\frac{D}{2}} A^2}}$$ Now ...