The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [parametric-functions]

Questions about explicit functions expressed in terms of independent variables, i.e. parameters. Including approaches for rewriting functions using different parameterizations.

Filter by
Sorted by
Tagged with
0
votes
0answers
22 views

Is function polymorphism possible in Mathematica

Is there a way to have polymorphic function definitions in Mathematica? I looked around online and didn't anything discussing it.
0
votes
0answers
21 views

If I create any Plot in Mathematica, the plot is empty

I have no idea what I have done. Even when I open a new notebook and try to plot a simple plot, returned is an empty plot. For example: ...
7
votes
1answer
314 views

Finding a parametric curve fitting a two-dimensional dataset

I have a 2-dimensional data set where I want to find the function that fits best the points. My issue is that I am looking for a function of the for $f(x,y)=c$ with $c$ a constant. I could not find in ...
1
vote
0answers
47 views

Performance Optimizing ParametricFunction

Setting up the system: ...
0
votes
0answers
33 views

How to convert a symbolic recursive formula to a non-recursive one

I am new to Mathematica. I want to convert a recursive formula to a non-recursive one using symbolic math. Specifically, I have a recursive formula similar to this: $a_n = f_a(c_{n-1}, x_{n-1})$ $...
0
votes
0answers
24 views

FindMaximum + NMaximize + Arc of the Cycloid?

I am graphing the parametric equations for the arcs of the cycloid (common, curtate, and prolate). This equation works well: ...
0
votes
0answers
53 views

How to find the parametric equations of the letters to be able to plot them on Mathematica?

I am a French high school student, I discovered Wolfram Mathematica a year ago and I wanted to know how to draw the letters of the alphabet on Wolfram Mathematica. I saw that it was necessary to use ...
0
votes
0answers
38 views

Why some regions in parametric plot are in different color?

I'm using ParametricPlot, I felt there is only one singularity in those equations. But in the plot, it is showing one more region and when i change the range of radius, I'm getting different graphs. ...
2
votes
3answers
129 views

WhenEvent in ParametricNDSolve with parameterized trigger fails?

Edited to add: New information at bottom. Consider the following system of differential equations: ...
1
vote
0answers
55 views

How to find curvature and torsion of a list of points?

I have list of points. The list represent around 1000 points of a curve in $\mathbb{R}^3$. I want to find the curvture and torsion of this curve. How to do this?
2
votes
1answer
105 views

Evaluate a parametric function dependent on a random number of parameters

This is a question related to the evaluation of a parametric function dependent on a random number of parameters. Consider a "blackBox" that returns a parametric function dependent on time (t) and, ...
1
vote
1answer
23 views

Visualizing a multiple parameter integration

I'm really new to Mathematica and all the other answers to similar questions don't seem to help me. I have an integral I'd like to solve, and I'm having problems. My integral looks like this: $\int_{...
0
votes
0answers
40 views

Plotting the solutions of parametric NDSOLVE[] as a function of its parameters

I am trying to solve a 2 set of coupled differential equations one using parametricndsolve and other using *ndsolve . So far I am successful in solving these equations. The solution I found by using ...
2
votes
1answer
27 views

ParametricPlot with condition for parameters

For example ParametricPlot[{Sin[x] - y, Cos[y] - x}, {x, -\[Pi], \[Pi]}, {y, -\[Pi], \[Pi]}] gives What should I do to impose ...
5
votes
2answers
186 views

Problem combining ParametricNDSolve with NonlinearModelFit

Final Edit: I have found a solution! Specifying Method->"LevenbergMarquardt", Gradient->"FiniteDifference" gives the behavior I am looking for. Huzzah! It appears that the crashing behavior was coming ...
1
vote
0answers
30 views

Plotting an NDEigensystem solution over a helicoid

I am trying to plot the solutions of a particular Hamiltonian eigensystem over a helicoid. In other words, my solutions are a function of the radial variables (r,$\phi$). The Helicoid is given by the ...
1
vote
2answers
61 views

Parametric equation of rolling polygon (cyclogon)

Abraham Gadalla tried (but failed) to post the following question. Why does the red point not continue to follow the square (and the curve) for the full range $0\le x\le 2\pi$? ...
1
vote
0answers
63 views

function application f//x when the function has more than one parameter [closed]

I want to use the function apply (or something even better). x//f with a function that has more than one parameter. Here is how it works with one parameter. <...
5
votes
1answer
101 views

ParametricNDSolve fails when I *don't* print the results

Some updates added to end. Truly minimal exampled added at top. Minimal example: ...
2
votes
1answer
60 views

How to Plot modulo function Mod on a function of two variables? [closed]

I know that Plot[Mod[x, 2], {x, -6, 6}] is a Mathematica command to plot the remainder of x over 2 when I range x over reals -6 to 6. How do I plot the same ...
2
votes
4answers
251 views

How to derive trigonometric Cartesian equation from parametric

How can one derive programmatically a Cartesian equation when $x$ and $y$ are parametrically represented by trigonometric functions? i.e.: Given that $x= \cos(2 t)$, and $y = -\sin(t)$, how can I ...
1
vote
0answers
40 views

Manipulating a ParametricFunction to handle units

I have a pretty nice way to handle units on a result from NDSolve, which basically consists of converting all of the units to SI, stripping them, calling NDSolve, and then putting the units back. I'll ...
0
votes
0answers
86 views

Blank graph on offline mathematica

I am looking at the following plot: ...
0
votes
0answers
27 views

parametric to cartesian equation of a paraboloid

I need to found the cartesian equation of the parametric equation of a paraboloid. The following equations describe parallel paraboloids: ...
4
votes
0answers
63 views

ParametricNDSolveValue with SparseArrays

I want to solve large, sparse matrix systems with ParametricNDSolveValue and was hoping to use SparseArray to speed up the computation. However I find that ParametricNDSolveValue doesn't seem to work ...
0
votes
0answers
34 views

Issue with Manipulate (in order to fit) of complicated Parametric NDSolve

So I have a quite complicated ParametricNDSolve : ...
0
votes
0answers
45 views

Fitting data points with a function obtained by ParametricNDSolve+Integrate

My question concerns fitting data points to a function that is a solution of a set of parametric differential equations, then integrated over time. More specifically, I have these parametric ...
0
votes
0answers
28 views

How to calculate function with Expectation , Max and Min ? Is my express is right or not?

I want to do the numerical analysis, here are the functions: i=1,2;j=1,2;"i" is not equal to "j". The following is my code:
4
votes
2answers
69 views

Use ContourPlot data in ParametricPlot

Let me give an example, probe1 = ContourPlot[10 == x + y, {x, 0, 10}, {y, 0, 10}, Frame -> True, FrameLabel -> {"x", "y"}] This plots ...
0
votes
2answers
50 views

Solution to non-algebraic equation with parameters

I have to solve the following equation a Tanh[z-b] = z, with a and b parameters and ...
6
votes
1answer
249 views

Best way to write an equation with subscripts and superscripts

This post is not about a specific Mathematica problem but about to develop the best way to enter mathematical equations with subscripts and superscripts. I have a ...
0
votes
0answers
61 views

How to list all the possible functions of given structure?

I can run this command : Tuples[{ Tuples[{x, y, z}, 2], {a, b, c}}] to list all combinations that looks like: ...
4
votes
1answer
89 views

Changing the parameters

I have a constraint equation $ E(x,y) >0 $. I can plot the region satisfying this in $ (x,y) $ plane. I want to change the parameters $(x,y)$ to $ m(x,y) $ and $n(x,y)$, s.t., $m(x,y) $ and $n(x,y)...
5
votes
2answers
272 views

Find multiple solutions of a nonlinear ODE

I have a nonlinear ordinary differential equation with two parameters c and R in the form of: ...
0
votes
0answers
19 views

Parametrized vector function in PDE with DSolve/NDSolve

I'm trying to solve a PDE for a parameterized function $\vec x(s, t)$ where $t \in [0, T]$ and $s \in [0, T/h]$. This PDE reads as: $\frac{\partial \vec x}{\partial t} = \vec u (s, t)$, $ \vec x (s,...
1
vote
1answer
35 views

ParametricRegion not recognising list of variables

I am trying to use ParametricRegion to plot some parametric equations that can be in various dimensions. The full code is as follows: ...
2
votes
1answer
46 views

Replacing a line by a cylinder

How can I replace the line in the following graph by a tiny cylinder? parametricPlot3D[ {CosSqrt[2]t, Sin[Sqrt[2]t](3+ Cos[t]), Sin[t]}, {t, 0, 100}]
1
vote
1answer
39 views

How to use a table with two variables as the values for a function with two variables (x and y)? [duplicate]

I'm sorry if this is a dumb question. I am a student and have 0 prior experience with Mathematica or any sort of coding and I have looked at various resources trying to figure it out myself but still ...
0
votes
1answer
43 views

Hide details of ParametricFunction

I use ParametricNDSolve to return a particular combination of the (vector) variables, at the end of the integration range. This gives a ...
3
votes
1answer
120 views

Vector ParametricNDSolve and FindRoot interaction

This question came out of this question. I have a set of differential equations, written in vector form. I'm only interested in the value of these at the endpoint, and so I use ...
1
vote
1answer
59 views

Using ParametricNDSolve to solve a hysteretic ODE (Wolfram Mathematica 10.0)

I am trying to solve an ordinary differential equation using ParametricNDSolve and I want to fit the solution to some data to get the value of the parameter. The problem I have is that the ODE is ...
1
vote
1answer
54 views

Area of a parametric plot with interpolating functions

I am looking for the area of a parametric plot defined by two solutions (defined as: VVLt & PVLt) of Numerically solved differential equations. The problem is when i'm trying to integrate the two, ...
1
vote
0answers
121 views

Light beams reflecting from parabola

How can we show the paths of three light beams in Mathematica which bounce back after hitting the parabola, in a single plot? Suppose we have the following code ...
0
votes
0answers
50 views

ParametricNDSolve many functions and plotting

I don't understand why I don't get the plots : ...
2
votes
1answer
62 views

Label curves with corresponding parameter

How can Plotlegend label each curve with the corresponding value of parameter param in the code below? ...
2
votes
2answers
113 views

Generate Piecewise ParametricPlot from Graphics

Some Graphics in Mathematica could also be described by functions, in particular by ParametricPlots. For example, take this ...
3
votes
2answers
101 views

Why the function ScalingFunctions does not work?

Why highlighted in red and does not work function ScalingFunctions -> {None, "Reverse"} in ParametricPlot? ...
1
vote
2answers
112 views

Fitting experimental data with a parametric function

How does one use a fitting routine such as NonlinearModelFit with a ParametricFunction? Example below: First let's generate some data: ...
2
votes
1answer
90 views

ParametricFunction from ParametricNDSolveValue changes when evaluated?

I am new to using ParametricNDSolveValue (and ParametricFunctions in general), so I am hoping that I have made a simple error. First I set up a system of differential equations: ...
1
vote
1answer
76 views

Estimating parameters on system of differential equations

I am looking for some help estimating the parameters of a series of differential equations to assist fitting the experimental data I have collected. The Problem: The equations are based off of the ...