# Linked Questions

1answer
1k views

### Code to give center of circle given three points in 2D? [duplicate]

Does anyone know how to make a function like this: C(p1,p2,p3)=center of circle that goes through p1, p2, and p3? This is in 2D
19answers
135k views

### Where can I find examples of good Mathematica programming practice?

I consider myself a pretty good Mathematica programmer, but I'm always looking out for ways to either improve my way of doing things in Mathematica, or to see if there's something nifty that I haven't ...
3answers
4k views

### How to check if a 3D point is in a planar polygon?

Following up on ndroock1's question, I naively tried to apply the solutions to a 3D point and polygon and they didn't work. For example, functions involving ArcTan ...
3answers
2k views

### Fitting data to a circle with FindFit

I'm currently trying to use the Mathematica's FindFit command to fit a curve of some data to the bottom half of a circle. The data is of the form ...
5answers
1k views

### Intersection coordinates of two spheres

I am trying to obtain a list of coordinates at which two spheres intersect. Take for example the spheres: sp1=Sphere[{0, 0, 0}, 1] and ...
1answer
1k views

### Curve fit based on minimal data

Inspired by the fantastic answers here and here, I would like to ask a questions along similar lines. I have 6 curve types that follow these rules: Type A: If point 1 is positive and point 2 is ...
1answer
1k views

### Using perpendicular offsets in FindFit

I want to use perpendicular offsets in the built-in FindFit function. Are there any possible ways or do I have to code everything by myself?
2answers
280 views

### Obtaining arc from a DXF file

I have DXF File that contains an arc. I did the procedure to import a DXF file and generate a Graphics3D as below: ...
2answers
256 views

### Finding mean of data sets with unequal length

I have two data sets on the form (x,y) of unequal length: ...
1answer
552 views

### A problem on generating convex hull

For example, I typed the following: ...
1answer
684 views

### Optimizing best fit circle to given data set [duplicate]

Given a set of data, I have plotted a slowness curve for a p-wave resulting from the given data. A slowness curve is just the reciprocal of the velocity of the p-wave. What I need to do is find a ...