1
vote
1answer
102 views

how to find curve fitting parameters without an explicit relation between x and y?

Let's say I have some experimental data (x,y) and I want to find some fitting parameters. But in my mathematical model, the fitting parameter are not in a simple equation that relates x and y. For ...
-1
votes
1answer
64 views

Logic Gates - How to show eight ways an AND function can be realized using negative and postivie logic [closed]

I am asked to use negative and positive logic (using bubbles on the gates) to show eight ways that an AND function can be realized. Im not too sure how to do this. The only way I can create an AND ...
0
votes
1answer
64 views
1
vote
1answer
67 views

Overlap an image in real time

I made a real-time face detector with Mathematica, and I want to put an image where it detects the face. Here is my code: ...
6
votes
1answer
76 views

Select From List of Nested Associations

I have an association: ...
1
vote
0answers
68 views

Code turns dark blue after trying to run it [closed]

I have a large amount of data in my N-Body Code. I imagine Mathematica doesn't really like this, but is there any other reason for my code turning a navy blue colour after I try to run it?
1
vote
2answers
114 views

Solving a second order non-linear differential equation

I am trying to solve the following equation DSolve[{u''[t] + 4 u[t] + 0.1 u[t]^3 u'[t] ^2 == 0, u[0] == 1, u'[0] == 1}, u, t] Unfortunately Mathematica is ...
0
votes
0answers
26 views

How to Insert Page Break at end of Repeating Block with “Evaluate and Delete”?

This is with version 10.0.2 I have simple notebook template to generate some bingo cards. I would like to have them print two to a page. However, no matter what I do with the page break it will not ...
5
votes
2answers
110 views

Discretizing regions with pointy boundaries

I'm trying to discretize a region with "pointy" boundaries to study dielectric breaking on electrodes with pointy surfaces. So far I've tried 3 types of boundaries, but the meshing functions stall ...
3
votes
2answers
149 views

How to save all notebook outputs as pdf file

I have produced a lot of graphs and tables in my notebook. I am trying to save all these outputs as pdf file. As we know form Rodney and form Mr. Wizard , we can not use save as function. I have ...
0
votes
0answers
72 views

Expand a fitting using FindFit[]

I need to implement multidimensional optimization using FindFit[]. But it's essential to exclude some parameters from the main procedure of optimization and to move on from direct optimization in ...
0
votes
0answers
36 views

How many CPUs does gridMathematica support?

In the features section it is written that: gridMathematica is an integrated extension system for increasing the power of your Mathematica licenses. gridMathematica Server gives Mathematica users ...
9
votes
3answers
238 views

Label multiple edges between same vertices

I have a simple graph with multiple edges between two vertices, say: Graph[{ Labeled[a -> b, "A"], Labeled[a -> b, "B"] }] Unfortunately, Mathematica ...
11
votes
1answer
205 views

Filling to Axis as Arrow

In version 9 I could do the following with the output as shown. ...
1
vote
0answers
44 views

How to input a dynamically changing parameter in NDSolve? [closed]

I am trying to solve a system of DEs with additional conditions, and one condition depends on a parameter. Let us consider the following example: ...
1
vote
1answer
63 views

Simplification of algebraic expression

I found an entry of a matrix from two different methods using mathematica. Which are given as; g/(Sqrt[2] Sqrt[1 + g^2 - Sqrt[1 + g^2]]) and ...
2
votes
3answers
163 views

Using DiscretePlot to graph the Riemann sum of a parabola

I want to graph the Riemann sum (upper sum) of $y=x^2$ with $1\leq x\leq 4$ using 6 rectangles. I want the rectangles to be green. On the Wolfram Mathworld website, I can render exactly what I want ...
0
votes
0answers
38 views

Define column types in a Dataset - Failure on append and Typesystem

I have a basic function that populates a Dataset according to user specified parameters. ...
2
votes
2answers
135 views

How to apply # on different lists? [duplicate]

If I have list1 = {1, 2, 3, 4} list2 = {5, 6, 7, 8} How can I do so, that function[#1, #2] takes ...
2
votes
1answer
96 views

PDE: Solving Burgers' equation with initial value given by a self consistency equation

I would like to solve in Mathematica the well known inviscid Burgers' equation \begin{align} \begin{cases} u_t(x,t) + u(x,t)u_x(x,t)= 0 \\ u(x,0) = m(x) \end{cases} \end{align} where $$m(x) ...
1
vote
1answer
54 views

Get the path of the Image in Mathematica

When copying the Image from the hard drive to the Mathematica notebook, what can I do to have the path of the Image? I tried Imort[img] // Path where ...
6
votes
1answer
181 views

Incorrect evaluation of integral involving a DiracDelta, whose argument has infinitely many zeros

Let's say $X>0$ is a random variable with probability density $p_X(x)={\rm e}^{-x}$. Define the random variable $Y=\sin(X)$. From the transformation theorem for probabilities we know that its ...
0
votes
0answers
40 views

Independent Set Sorting

Let's say I have a graph g, and I wanted the largest independent vertex set of g. I would write then, ...
6
votes
3answers
80 views

Controlling the size of Histogram in PlotLegends -> Histogram

I stumbled across this in the Mathematica documentation and thought it was pretty nifty except that the Histogram that appears as the plot legend is too small so the numbers on the histogram overwrite ...
1
vote
0answers
44 views

cut and project tilings — Amman Beenker tilings

A certain research paper gives a recipe for building Amman-Beenker tilings as a special type of cut-and-project algorithm. The result is usually a pleasant kind of aperiodic tiling shape. The ...
4
votes
1answer
92 views

Display level of recursion of a recursive function during execution

Given a recursive function, is there some simple way to display or store the value of recursion or "how many levels deep" the function is at a given time? For instance, if we wrote the recursive ...
2
votes
0answers
50 views

Embed 3D objects from Mathematica, in a pdf

Acrobat Reader 9+ supports interactive manipulation of 3D objects. See this file for example - another widely used example are PRC objects which may be produced by Asymptote. Exporting animations ...
4
votes
1answer
122 views

Solving 2-D Mechanical Systems

I'm trying to use Mathematica to solve a particular 2-d mechanical system. The system comes from "DESIGN AND OPTIMIZATION OF AN EIGHT-BAR LEGGED WALKING MECHANISM IMITATING A KINETIC SCULPTURE, “WIND ...
1
vote
1answer
72 views

Strange timings of integrals involving Hermite's polynomials

I have used Mathematica to calculate tunneling for quantum harmonic oscillator. The code is simple: ...
4
votes
1answer
55 views

How to convert expression with Subscript to string

I've tried ToString[], but it doesn't work properly with subscripts: How to convert expr with subscript to string with exactly the same FullForm that "expr" has?
0
votes
1answer
48 views

how to create Panel for Plot?

Can You advice me how to put the whole thing below into an interactive Panel, so I can values of parameters dynamically - type other values (alpha, beta, x0, y0, R, tmax) and plot updates ...
0
votes
0answers
41 views

About installing Mathematica on Ubuntu 14.04 LTS

I followed the first set of instructions here to install it from a ".sh" file, http://support.wolfram.com/kb/12453 At Step 4 and 5 I chose the folder "~/Desktop/Mathematica" as the folder to create ...
1
vote
2answers
104 views

Creating a right hand in graphics3d to illustrate the right hand rule

I would like to make a small right hand with fingers that curl to illustrate the right hand rule in graphics3d. Does anyone know if this is possible? For an example of what I'm looking to plot, see ...
0
votes
1answer
41 views

Refercing generic derivatives

I have a list of rules to the values of the derivatives of a generic (real valued, 3 variables) function, for example: df/dxdydz(0,0,0)-> 0.7. I would like to be able to generically reference this ...
2
votes
1answer
62 views

ListContourPlot: Not all labels are shown

I am trying to create a contour plot for the data I have, and I want to show all the labels on the plot but I am getting only 3 labels using ContourLabels, how can ...
4
votes
3answers
135 views

Getting terms and only evaluate specific parts

I want to expand the expression but I do not want it to evaluate. Sum[(HoldForm[1/(2 # - 1) - 1/(2 # + 1)] &)[i], {i, 1, 6}] However if you evaluate this you ...
0
votes
2answers
56 views

How to create a custom filling with ListPlot

We have the following simple example ...
2
votes
0answers
37 views

Export Time-dependent STL Graphics

I have recently found that Mathematica may export files (.stl) which may be used for Blender (3D pictures and animations). However, I am interested in mathematics visualization, and I suppose that ...
0
votes
1answer
53 views

How to combine multiple rules? [closed]

I have 2 rules: Rule[#, SomeFunction[#]] &/@ SomeFunctionArgs; Rule[#, OtherFunction[#]] &/@ OtherFunctionArgs; I want to have one function that combines ...
3
votes
1answer
66 views

How to make the result of Piecewise be a closed interval?

Description This question comes from two questions. Namely Q1 and Q2 The defintion of B-Spline basis function as shown below: Let $\vec{U}=\{u_0,u_1,\ldots,u_m\}$ a nondecreasing sequence of real ...
1
vote
1answer
53 views

ListPlot3D with the color choosen from another list [closed]

I have a data set for doing a ListPlot3D in the required format as data={{x1,y1,z1},{x2,y2,z2}......{xN,yN,zN}}. I also have another list with N values ...
1
vote
2answers
52 views

Integrating a compound expression

I have an integral of the form I[r]=∫(arExp[-r]-brSin[k(r-d)]Exp[-r])BesselJ[0,kr]dr where Besse1J[0,kr] is the modified ...
0
votes
0answers
71 views

map of Europe as histogram

I want to make a histogram using the map of Europe, such as this or similar: thanks to all
0
votes
0answers
28 views

Initiating another Kernel?

How can I start a separate kernel to do other work, while I have Mathematica working on a problem that requires lots of computation time? I have a program that must be run for many hours, preventing ...
4
votes
1answer
83 views

Parsing string with nested information

I am trying to parse a string, but I have no idea how to solve the following problem ...
6
votes
1answer
124 views

Extract information from HTML using CSS selectors?

TL;DR Is there any way that we can parse HTML using CSS selectors in Mathematica, the way it is done in for example jQuery? Extracting information from websites, i.e. web-scraping, in Mathematica can ...
1
vote
2answers
64 views

How to take derivative with respect to logarithmic function [closed]

I have a function g as a function of x; i want to take derivative of g with respect to ln x, i.e. dg/d ln x where g= ax^2/(1+ax^2/r^2)

15 30 50 per page