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

0
votes
0answers
40 views

complex ordinary differential equation of a real variable

reading a paper i have found the following differential equation: f''[z] - (q^2)*f[z] == i*DiracDelta[z] here f[z] is a complex function of the real variable z ...
0
votes
0answers
26 views

How to interpolate and obtain this graph?

I was interpolating with software mathematica v9, but how can I obtain a curve similar to this?, in a easy way
3
votes
4answers
82 views

indefinite integral computation $dx/(e^{-x}-x)$

Hi i'm trying to carry out the following indefinite integral: $$\int \frac{1}{e^{-q} - q} \, dq$$ mathematica is not helping me, and i think it is not solvable by substitution method. any idea on ...
0
votes
0answers
26 views

Splitting a list into two lists, depending on a condition.

So I have this list of n real numbers called A, which is sorted least to greatest. Let B be a list of n real numbers with NormalDistribution[]. IF A+B = Sort[A+B], then we keep it, and if A+B != ...
0
votes
0answers
67 views

Mathematica Integrate gives back the integrand

i'm trying to Integrate the following function: (q (1 + q) - E^-q Sinh[q])/(-q + Cosh[q] Sinh[q]) - ( 2 q Tanh[q])/(-q + Cosh[q] Sinh[q]) I already solved ...
1
vote
1answer
37 views

Reduced Residue System in Mathematica

How can I create the standard reduced residue system modulo $m$ in Mathematica for a given positive integer $m$? For example, if I input $10$, I would like it to give me the list $\{1,3,7,9\}$. ...
2
votes
1answer
77 views

Fourier series of oscillation in form $\cos(2 \pi \frac{k}{T}+\phi)$

I would like to calculate the fourier coefficients of $\cos(2 \pi \frac{k}{T}+\phi)$ where $T \in \mathbb{N}$ is the period and is arbitrary but fixed, $k \in [1, N-1]$ is the number of oscillations ...
3
votes
7answers
301 views

Best Math Plotting Software for Electrical Engineering

I am an electrical engineering undergrad. I would like to learn a math plotting software which would be helpful in visualizing topics in advanced calculus (my immediate need). It would also be helpful ...
1
vote
0answers
27 views

Can nodes of Gaussian quadrature shift range?

I used my Python program to generate Gaussian's nodes and their weights. My python program could generate nodes as default in rage of (-1, 1). And my friend used Mathematica to generate them also but ...
0
votes
1answer
20 views

Filling between two curves in Mathematica [closed]

I want to fill region between 2 curves, but in mathematica 8.0 FilledListPlot[list1, list2, Fills -> {RGBColor[f, f, f]}] doesn't work. can someone help me? Thx
6
votes
1answer
158 views

Odd Mathematica series result

I asked Mathematica to evaluate $$\sum_{i=1}^{\infty} \cos(i a)\cos(i b)$$ where $a$ and $b$ are unspecified real numbers, and it told me the answer was simply $-\frac{1}{2}$. This is clearly wrong, ...
2
votes
0answers
34 views

Algorithm for FindSequenceFunction

What algorithm might Mathematica be using to compute FindSequenceFunction? Does anybody know if there is any online material on this topic?
3
votes
4answers
166 views

A limit question (JEE $2014$)

The following is a JEE (A national level entrance test) question: Find the largest value of the non-negative integer ( a ) for which: $$ \displaystyle \lim_{x \to 1} \left( \dfrac{-ax + \sin(x-1) + ...
0
votes
0answers
37 views

list of all irreducible polynomials of degree at most n over the field Z/PZ.

I am trying to write a mathematica coding to give me the list of all irreducible polynomials of degree at most n over the field Z/PZ. I started by defining univariate polynomials of the form p = a_0 + ...
1
vote
0answers
25 views

Two factor ANOVA discrepancy with Mathematica

I have a set of two factor data I am doing ANOVA analysis on, both with Mathematica's package and manually (because learning!) Using one set of example data (found here 1) both my manual calculation ...
0
votes
2answers
186 views

Is this computation erroneous?

The solution to $\lim_{n\to\infty}\frac{n^{100}}{2^{n/100}}$ should be $\infty$ because $n^{100}$ grows much faster than $2^{n/100}$ But if you input ...
4
votes
1answer
65 views

Finding the period of the solution to $y'(x) = y(x) \cdot cos(x + y(x))$ with Fourier transform; how to interpret complex result?

A question elsewhere on this site asks about detecting the frequency of oscillations in a system defined by differential equations. The equation is $y'(x) = y(x) \cdot cos(x + y(x))$. The solution ...
1
vote
0answers
41 views

How to evaluate Bessel functions $K_{i x+\frac{9}{4}}(2\pi)+K_{i x-\frac{9}{4}}(2\pi)$ with $x>1.5*10^8$ in Mathematica 7?

I am trying to evaluate Bessel functions $K_{i x+\frac{9}{4}}(2\pi)+K_{i x-\frac{9}{4}}(2\pi)$ with $x>1.5*10^8$ in Mathematica 7. This function is the first Polya approximation to Riemann ...
0
votes
1answer
108 views

Partition a set into n subsets with elements with sum equal to m

For example, given the set $a_n = \frac{n}{20}$ for $\,n \in \{1,\,2,\,\dots,\,19\}$, I would like to get all possible partitions of this set in 4 subsets such that the sum of their elements is always ...
1
vote
0answers
42 views

Plotting in Mathematica

I'm new to mathematica. How would I plot the following functions in the polar complex plane? $$ \phi={-k\over 2\pi r}\cos(\theta_0-\theta) $$ and $$ \psi={-k\over 2\pi r}\sin(\theta_0-\theta) $$ ...
0
votes
0answers
85 views

In Maple or Mathematica, syntax : Finding the fundamental sol. of the Heat eq., with Dirac-Delta initial condition

I use this question as a case example for later solving more complex equations of this type : When trying to find the fundamental solution of the Heat equation using Maple (software) , I get the ...
1
vote
0answers
95 views

What is the Fourier series of $e^{\mu\cos\theta}$?

Motivation: I want to solve this convolution problem on the circle: find $f$, given $g$ and $$ g(\theta) = \int_{S^1} e^{\mu\cos(\theta-\phi)}g(\phi)\ d\phi. $$ To do this, I want to find the Fourier ...
0
votes
3answers
77 views

Plotting a region in $3D$ space

I would like to know if someone knows of a software where I can plot the following region $$ D = \{ (x,y,z) \in \mathbb{R}^3: 0 \leq x \leq 1 , \; x^2 \leq y \leq x, \; \; 0 \leq z \leq x \} $$ ...
1
vote
0answers
37 views

Roots and Weights

I use a Mathematica package to compute roots and weights (and other things) but the package gives me only the expression of the roots in $\omega$-basis (basis of fundamental weights) and in the ...
2
votes
1answer
44 views

How does the base of a group determine the “sort” of the elements in the group

I'm trying to study groups in Mathematica, and I've asked a question on Mathematica.SE that perhaps only someone from Math.SE could answer. Related: How does ...
5
votes
3answers
115 views

Find min of $\frac{\left( \sum kx_k \right) \left( \sum x^2_k \right)}{\left( \sum x_k \right)^3}$

With $n \ge 2$ and $x_1,\ x_2,\ \dots,\ x_n > 0$. Find the minimum of: $$ M = \frac{(x_1 + 2 x_2 + ...+ nx_n)( x^2_1 + x^2_2 +...+x^2_n)} {\left( x_1 + x_2 +...+ x_n \right)^3}$$ For specific ...
1
vote
0answers
88 views

Which symbolic programming language for manipulation of nonlinear equations?

I have a set of (multivariate, nonlinear) equations which I want wo modify according to my own rules, i.e. not in a standard ways such as matlab's simplify function. I am looking for a mathematical ...
1
vote
1answer
33 views

Mathematica DSolve input

I'm trying to solve this differetial eqation. dy/dx=3y^(2/3). This is my input: DSolve[{y'[x] = 3 y[x]^(2/3), y[2] = 0}, y[x], x] This is my output: DSolve::deqn: "Equation or list of equations ...
0
votes
2answers
58 views

Difficulty finding Expectation of a special function

I have a special function given as: $${\rm f}\left(r\right) ={1 \over \beta\lambda}\,2^{r/\beta} \exp\left({\left[2^{r/\beta} - 1\right]K \over \lambda}\right)$$ I should find the Expectation of ...
0
votes
1answer
47 views

Mathematica Homework Question

I had a mathematica assignment the other day that was fairly simple. I thought I did it correctly, but I guess not. Question: Write a single Mathematica Command which will display (plot) both $y = ...
0
votes
0answers
16 views

Mathematica question about value of a function

I wrote this on Mathematica. *f[x_] := Prime[x + 1] - 1 g[x_] := (6 - (f[x]*f[x]) - f[x])/(2*log[f[x]]) + 2* ExpIntegralEi[2*log[f[x]]] + LogIntegral[f[x]] - (2*x*x) - (2*x) N[g[1200]]* I pressed ...
0
votes
0answers
30 views

Condition number of covariance matrix

I am interested in generating a covariance matrix of dimension say 100. I managed to get a correlation matrix with finite condition number. To construct a covariance matrix I need to have standard ...
1
vote
1answer
113 views

Good software package to help Maths learning

I'm a mature student enrolling at a Maths degree course soon at the university. I'd like to be able to use some software package to help me visualize equations, graphs, play around with variables with ...
0
votes
1answer
85 views

How to Expand $f(x) = \sqrt{x^2-y^2}$ about $x=y$

How would one go about expanding $f(x) = \sqrt{x^2-y^2}$ about $x=y$? You can't do a Taylor series, because $f'(x=y)$ diverges. I tried a few other things, but to no avail. Interestingly enough, ...
2
votes
1answer
150 views

Can wolfram alpha compute symbolic vector derivatives

Can Wolfram alpha be used to find out say $$\nabla_x\left(\|y-Ax\|_2\right)$$ What command do I use? I tried some obvious ways, and googled a bit, but didn't find anything.
0
votes
1answer
30 views

fourier transforms with Woflram Alpha

I'm studying Fourier transform at the moment and I've noticed some weird irregularities between my textbook and Wolfram Alpha's answers. Say I ask Wolfram the following: fourier transform ...
3
votes
1answer
114 views

Fourier series for $e^x$

I'm trying to teach myself partial differential equations from Strauss' book. I have run into a very bizarre problem - I cannot figure out what is the Fourier series of $e^x$! And not even Google has ...
0
votes
1answer
102 views

Solving an ODE with Mathematica, using Lagrangian mechanics

Question: The velocity of light above a hot surface decreases with the height from that surface. The velocity is given by $v=v_0(\frac{1-y}{\alpha})$ where $y$ is the vertical distance above the ...
0
votes
1answer
83 views

Using Mathematica to know the number primes that are contained in a given interval

So I want to know basically how to determine how many prime numbers (integers that can only be divided by 1 and themselves) are contained in a given interval. Thank you.
0
votes
1answer
103 views

Solving a nonlinear system of differential equations in MATLAB or Mathematica

Is it possible to solve the system $$\dot{W}=A\left(k-\frac{M}{W}\right)$$ $$\dot{M}=B\left(k-\frac{M}{W}\right)$$ with initial conditions $$W(0)=w_0$$ $$M(0)=m_0$$ in MATLAB or Mathematica? If so, ...
21
votes
8answers
3k views

LaTeX/TeX Vs. Mathematica for Typesetting [on hold]

I know Mathematica like the back of my hand, but I do not know a speck of $\LaTeX$ or $\TeX$. With regards to mathematical typesetting, is there something significant I can do in $\LaTeX$/$\TeX$ that ...
1
vote
3answers
3k views

How to plot a phase portrait for this system of differential equations?

I beg your help.. I'd like the phase portrait for this system. I don't know how to use Mathematica/Matlab ... :( If anyone can make this portrait and post a print screen here, I would thank you ...
1
vote
1answer
31 views

inequality, complex number [closed]

let $b>0$, $y:[0,b]\rightarrow\mathbb{C}$ and $y(0)=0$, where $\mathbb{C}$ denotes the space of complex numbers. Is the following inequality true or not? $$|y(x)|\le \max_{\tau\in[0,b]} |y'(\tau)| ...
1
vote
2answers
111 views

Graphing a function f(x,y) on a restricted set of values for (x,y)

I'm having a hard time with this certain problem. Suppose that $S=\{(x,y): x^2 + y^2\leq 4\}$ and define $f:S\rightarrow\mathbb{R}$ as $f(x,y)=-x-2y-2y^2+cos(x\pi /4)$. How can we produce a (3d) ...
3
votes
1answer
69 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
69 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
97 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
96 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
58 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
148 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 ...