All Questions

0
votes
0answers
5 views

Writing a conventional free-standing application in Mathematica (CDF)

I intend to write a small program that can be exported to CDF and consist of two main parts: A. The construction of a layered structure consisting of different materials. B. Superimposing ...
1
vote
0answers
12 views

List interpolation

Hi mathematica people! So i am looking for the best way to interpolate a function given a list of its values. I have an iterative algorithm which needs high precision otherwise the numerical noise is ...
0
votes
1answer
26 views

Diffentiating a function f with respect to x

I have a tabe y={10,20,30,40...} and x={62,63,64,65...} y is a function f and this function needs to be interpolated. How do I defferentiate the function f with respect to x?
1
vote
1answer
23 views

Displaying a list in form of an upside down pyramid graphic

I was wondering how to display a list like this: list={{0,1,1,0},{1,0,1},{1,1},{0}} in form of an upside down pyramid, that is the first element of the list is ...
4
votes
1answer
25 views

How to print $\odot$ without it being cropped? (\[CircleDot] symbol)

Preamble: In some applications (astronomy, cosmology, etc), it is useful to measure things in solar quantities, say distances in $R_\odot$ or masses in $M_\odot$, and so on. Now and then I see ...
2
votes
3answers
51 views

How to make a function from body with variable number of arguments?

Suppose I have an UNKNOWN function, which generates formulas with different number of x-s. For for definiteness let's suppose that function is follows: ...
0
votes
0answers
21 views

Question about treillis structures

I have difficulties finding a command to plot multiple segments connected in nodes in Mathematica. Ultimately, my goal is to modelise something like this by entering nodes coordinates. Also, the ...
2
votes
0answers
24 views

How to get this grid normal height?

When I execute this ...
0
votes
0answers
15 views

prime number greater than 100 [migrated]

I 'm confused about prime number. It is possible that we can find a not prime number that is greater than 100 and not divided by {2,3,5,7,9}. because someone said to me that we can check if a ...
0
votes
0answers
30 views

How to solve this Partial differential equation?

I want to solve a Partial differential equation: ...
3
votes
2answers
64 views

Filling an area with cushion effect

This code: (by @kguler, can be found here, as an answer to "How to shade a plotted region in specific direction?") ...
1
vote
0answers
49 views

Plotting phase portrait from NDSolve (i.e., must plot x'[x], where $x=x(t)$)

I'm doing a double pendulum system and I wish to plot the phase portraits for each angle. I've successfully used NDSolve to solve for each of the angles. Let's just ...
0
votes
1answer
37 views

sluggish 3D graphics

After I plot two concentric cylinder, I see that rotating the 3d object is not smooth and it's slow. ...
1
vote
0answers
31 views

How to define the symbolic expression $V = \frac{1}{N} \sum_{i=1}^N ( y_i(g) - z_i)^2$ in Mathematica?

I want to define this expression symbolically: $V = \frac{1}{N} \sum_{i=1}^N ( y_i(g) - z_i)^2$ in which $\{y_i(g)\}_{i=1}^N$ is to be understood as a symbolic sequence that depends on a vector $g$. ...
0
votes
1answer
28 views

dropOperator done on Matrix of a Matrix - How is this done?

I have implemented this dropOperator from dropOperator from stackexchange and works fine on a single Matrix. But now I have a Matrix of a Matrix and want to drop some rows or columns (in the pic below ...
0
votes
0answers
29 views

How to solve Fuzzy Differential Equations

How to solve Fuzzy Differential Equations using DSolve or NDSolve, Or Differential Equations with fuzzy number as initial conditions
0
votes
1answer
54 views

How To Replace $\rightarrow$ by $==$ in Mathematica's Output when using Solve

I want to create equations out of the output (solutions) produced by Mathematica when using the Solve functions. For argument's sake, consider the following. ...
2
votes
2answers
103 views

How do I add contour labels to contour plot?

I tried ContourPlot[f[x, y], {x, -2, 2}, {y, -2, 2}, ContourLabels->automatic] , but it messes up the contourplot. How can I just add values to the contours ...
0
votes
0answers
36 views

What's wrong in my code for looping?

Here is my code to draw a graph then harmoniously coloring graph: ...
5
votes
1answer
155 views

Wrong with VisibleSpectrum

...
1
vote
4answers
108 views

How to create 3d region of f[x,y] over triangular region on xy plane?

I need to create a VOLUME under f[x,y]= x (y^3 + 1)^(1/2) that's above the triangular region bounded by y=x/3, ...
1
vote
1answer
33 views

Plotting ODE solutions with two parameters

I have a system of two first-order ODEs with two parameters, a and b and I'm trying to plot the solution curve in the X-Y plane at a given initial condition for various parameter values. Can someone ...
-1
votes
1answer
28 views

Finding the number that gives remainder equal to 0 [on hold]

Hi i'm not english so I'll try to explain this as good as I can . If we have for example 250 : 5 = 50 , remainder 0 let's say I don't know the number i'm going to divide (because it is generated ...
5
votes
3answers
558 views

How to build this grid with less code?

I have the diagonal and both upper and lower triangulars of a grid. ...
1
vote
0answers
28 views

Find GeometricTransform from 3D BSplineSurface to a point cloud

I am looking for another way to approach this problem. Any suggestion on how to optimize the computing speed is welcome. I have a BSplineFunction which accurately ...
4
votes
2answers
51 views

Injecting list of controls into manipulate

I am trying to program a method to manually move around graph vertices, and then output the new coordinates. I'd like to turn this into a function that can be called with a variable number of ...
0
votes
1answer
26 views

probability going outside 1 (due to optimization violation of constraint)

I am working on an optimization, which involves the following density: ...
4
votes
2answers
50 views

Count the number of element repeats at various distances

I have a function of x: f[x_] := Abs[Extract[list, x + n] - Extract[list, x]] I then apply this: ...
0
votes
0answers
9 views

Assign a symbolic tensor with determinant greater than zero in Mathematica

I can create a symbolic tensor in Mathematica: $Assumptions = F \[Element] Arrays[{3, 3}, Reals] Is there anyway that I can tell Mathematica, that the ...
0
votes
0answers
18 views

Change of basis from monomial basis to Chebyshev basis of polynomials

I have a certain multivariate polynomial (in 4 variables) written in terms of monomials, and I would like to change the basis into Chebyshev orthogonal basis. Is there any function to do that?
0
votes
0answers
17 views

Derivative with respect to a tensor

I am trying to differentiate a tensor with respect to another one in Mathematica, but I can't do it. Down below is the code I am using: ...
1
vote
0answers
19 views

Compilation of a function that needs to call Subsets

I'm working on a code that runs many (easy) operations on combinations (subsets) of different size (6, 7, 8, 9) taken from a big set of numbers (normally more that 40). So, this means the code has to ...
0
votes
1answer
33 views

Draw an n-gon with Polytopes package?

Given $n$, I'm interested in generating the vertices of a regular $n$-gon. I noticed that this was possible for certain values of $n$ using the Polytopes package; e.g., via ...
4
votes
0answers
20 views

Syntax information “ArgumentsPattern” for function of function?

Is is possible to write SyntaxInformation of "ArgumentsPattern" for functions of the form: ...
0
votes
0answers
35 views

Changing Default Notebook Window Magnification level

I have searched for an answer to this problem in Mathematica documentation, googling, and here on this Mathematica.SE forum. So far, no answer that I can find. When a new Notebook window is opened, ...
3
votes
0answers
53 views

Organizing Wolfram language symbols with Entity

Here's a word cloud tally of the ~5k System names split at camel humps, with the long tail cropped. What resources are available to organize these terms using the new ...
0
votes
0answers
35 views

Solving PDE with conditions

I am new to Mathematica, so it maybe a silly question. So, I'm trying to solve the following PDE with Mathematica: $u=u(x,y)$ $\partial_x ^2 u-6\partial_x \partial_yu+9\partial_y^2u=x^2+y^2$ ...
0
votes
2answers
53 views

TreePlot remove an arrow

Is it possible to make Mathematica make a connection to p2 from both SysVar 2 and SysVar3 like I drawn ? Code: ...
2
votes
2answers
86 views

Calculating a Volume Integral limited by two z planes and a given conical surface [on hold]

I have been given this question to integrate a function over a region, and I have been at it for 6 days now and I can not for the life of me come up with a solution because the integral is way too ...
1
vote
0answers
26 views

How to stop font resize of input?

How do you stop Mathematica from resizing the input font when entering formulas with fractions and such? When I enter a formula with a few fractions the text becomes microscopic. For example: ...
1
vote
0answers
69 views

Why is my output equal to my input?

I tried to solve a system of differential equations with the code below: ...
2
votes
0answers
60 views

Mod[1.2, 0.2] is not equal to zero

I'm new to mathematica but this doesn't seem to make any sence In[1]:=Mod[1.2, 0.2] Out[1]=0.2 Why is it not zero? Edit: This is what I wanted to do: ...
0
votes
1answer
35 views

Taking function output as shown, and processing it regardless of its history

I am making some symbolical calculations for my quantum chemistry class. I am supposed to build a wave function composed of multiple other functions, each of which is also composite of some lower ...
0
votes
1answer
59 views

Problem with DensityPlot Plot3d of Heavisde function

I have problem with heavisde pi or theta function. When I plot them densly i.e. w[x,y] like this w[x_, y_] = Sum[HeavisidePi[x - i/100], {i, 1, 200}]; I get ...
0
votes
0answers
31 views

Fourier plot issue [on hold]

I have a problem with this equation: ...
1
vote
0answers
77 views

Volterra integral equation

I have to find an approximate numerical solution for the equation $$ F(x) - \lambda \int\limits_1^{x} \text{d}s \;s^2 F(s) Z(x-s) = G(x) $$ $$Z(s) = (\psi''(1-2\ h\ i\ s)- 0.5 \psi''(1-2\ h\ i\ s))$$ ...
0
votes
1answer
39 views

Block matrix and calculate it's inverse

How to define the following block matrix $$ A=\begin{bmatrix} H-G_1 & -G_1 & \ldots & -G_1 \\ -G_2 & H-G_2 & \ldots & -G_2 \\ \vdots & \ldots & \vdots & \vdots ...
0
votes
3answers
45 views

TreePlot Vertex Labelling

I have plot: TreePlot[{1 -> 4, 1 -> 6, 1 -> 8, 2 -> 6, 3 -> 8, 4 -> 5, 7 -> 8}, VertexLabeling -> True] Can the labeling on the second level be done as 8, 6 ,4 while keeping the command vertex ...
1
vote
1answer
59 views

How do I change the size of the font for the output of the Print[] command?

I created a Stylesheet that increased the sizes of the fonts for the styles Input, Output and Text. Still, when I use the command Print[] the output comes out tiny. In the code below I added some ...
-2
votes
0answers
22 views

Question on L'hopital Rule [on hold]

Find 1) limit of ( tanx / secx) when x goes to pi/2 from right 2) limit of (1+×)to the power x when x goes to zero And how ?

15 30 50 per page