# All Questions

5 views

### How to terminate early a functional computation

Problem description: Given a list $A=\{1,2,0,7,0,-1,2,6,\ldots\}$ and a list $B=\{0,7,0\}$ write a program that determines whether $B$ appears in $A$ or not. Note: the order of $B$'s items does ...
39 views

### Give a common denominator to a whole list

If I have a list, say ...
19 views

### Where is ExampleData stored on my system

When I enter: Import["ExampleData/numberdata.csv"] Where does Mathematica go on my system to find the file numberdata.csv? Or, what Mathematica command will ...
46 views

Let's consider two balanced dice. I am modelling each of them using ...
58 views

### A quicker than outer

I need to get a matrix $\{a(x_i-x_j)\}$, where $x_i$ form a partition of an interval, $a(x)$ is a given function. I use ...
20 views

### Specify only one jump direction of LocatorPane

Considering LocatorPane: LocatorPane[pts,back,{{xmin,ymin},{xmax,ymax},{dx,dy}}] Is there any way to specify only the jumps ...
22 views

### ExampleData texts [on hold]

Im interested, what books, text are included the ExampleData, like Alice in Wonderland, The Raven... Is there any site, I can check all the text in mathematica? I tried for example Poe: The Black Cat, ...
35 views

### Multiple impacts (Bouncing of an object)

I could animate a 3 pendulum impacting a wall at x=0. I have use Event Locator[] Method for this and used Elastic Impact with the wall. I have pasted the pendulum Mathematica file for reference. Is ...
31 views

### Extracting a random sample from a list [on hold]

This is sample data data = {{1, 1, 1, 1, 1, 1}, {2, 2, 2, 2, 2, 2}, {3, 3, 3, 3, 3, 3}, {5, 5, 5, 5, 5, 5}, {6, 6, 6, 6, 6, 6}} My actual data contains ...
34 views

### Question on TimeSeriesForecast

Now I have a tsm, say tsm=TimeSeriesModelFit[data] Now, while using TimeSeriesForecast to ...
52 views

### how to find circles that intersect a square

I use the following (based on ideas and functions I got as ansers in [1], [2] by, repsectively, @ybeltukov and @J.M.) in order to find random circles with centers inside a unit square that intersect ...
22 views

### Anyway to add Epilog graphics outside of plot area without extending the axes?

I'd like to be able to add a line below the x-axis of my plot but not have the y-axis extending down to cover this region (as it defaults to). For example: ...
53 views

### ReplacePart with processed value [on hold]

To illustrate, suppose I want to change the {2,2} element of a matrix. If I know the replacement value, I can just make the replacement. ...
27 views

### Intersection of two volume

I would like to know the volume of the intersection of a cone and a cuboid : ...
34 views

### Problem with anonymous function. Matlab [on hold]

I have a class. There are some properties and anonymous functions into this class: ...
29 views

34 views

### Eliminating instabilities in a transient finite element solution at a discontinuity near t = 0

I have found a transient solution to the 1D heat equation where the initial condition is discontinuous. The results are accurate except for when time is small. The initial condition looks like this: ...
90 views

### How to draw normal vector in Mathematica? [duplicate]

Question If I have plane equation $x+y+z=0$, then normal vector is $\{1,1,1\}$. Why is it not normal visually? How can I draw it properly? Code ...
21 views

### How to draw normal vector with plot3d? [duplicate]

If I have plane equation $x+y+z=0$, then normal vector is ${1,1,1}$. Why is it not normal visually? How can i draw it properly?
46 views

### How to test if DSolve can solve equation

I have a rather generic system of n first order ODE to solve, of the type $v_i'[t] + \frac{A}{t}v_i[t] = \sum_jI_{ij}[v_i[t],v_j[t]]$,   $I_{ij}=-I_{ji}$. Depending on the form of interaction ...
48 views

### ClickPane and InputField entry in a Manipulate

By clicking at a point on the slope field for an ode, a solution is plotted through that point. Additional clicks produce more plots; the plots are saved in graph ...
35 views

### inverting PowerExpand

Since I couldn't respond to the question "Can you give a situation in which you would want to do this?", I will post this situation as a new question. I am plotting a complicated expression with a ...
41 views

### Info I need to find a command [on hold]

I have a group and I want to open it I´am a noob. ...
49 views

### Solving this system of nonlinear equations

There are many questions about solving systems of nonlinear equations. I think this one has its own specificity. The mathematical problem is to find two vectors $x$ and $t$ in $\mathbb{R}^n$ such ...
61 views

### What´s wrong with my FindFit

I updated the data which is a table I deleted the first coordinate as it was the quote from the document. ...
80 views

### How can I visualize a frequency as square wave?

I'm trying to get a typical square wave of a 16MHz and 50Hz signal withing a y-range of 0 to 1. My code is: ...
25 views

### Trapezoid rule and simpson rule [duplicate]

I want to create a program which can plot the trapezoid rule and the simpson rule of a given function I need it badly for a class presentation truth been told I´am really bad at programing and I need ...
42 views

### How to separate the double columns while reading file

I have a file which has contents of the form 10533 "MENDOZAT " 115.0000 : 1 1.00000 Now I want to separate the words and get it as a list. like ...