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
5
votes
2answers
154 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
23 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
1answer
40 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
61 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
98 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
35 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
243 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
36 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
81 views

Blank graph on offline mathematica

I am looking at the following plot: ...
0
votes
0answers
24 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
58 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
33 views

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

So I have a quite complicated ParametricNDSolve : ...
0
votes
0answers
40 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
67 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
49 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
212 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
59 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
87 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)...
4
votes
2answers
249 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
34 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
44 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
35 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
38 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
53 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
53 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
119 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
47 views

ParametricNDSolve many functions and plotting

I don't understand why I don't get the plots : ...
2
votes
1answer
54 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
105 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
89 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
109 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
83 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
70 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 ...
0
votes
1answer
68 views

How can I use options for a ParametricPlot3D?

Using this command I can plot three different curves using ParametricPlot3D ParametricPlot3D[{{t x, Sin[t x], 0}, {0 , Sin[t x], t x }, {t x ,Sin[t x], t x }}, {t, 0, Pi}, {x, 0, 4}] However, my ...
0
votes
2answers
57 views

How can I plot a function (unidimensional) in a 3D plot

I would like to plot a figure like that using Mathematica. They figure are three plane wave ( cosine or sin ) all share and have the same coordinate origin. As you observe, the waves propagate along ...
1
vote
1answer
43 views

Parametric Ito Process

Is it possible to make a parametric ItoProcess ? I'd like to write that equation : ...
0
votes
0answers
28 views

Computing the same stochastic ODE many times but with different random seeds

I have this stochastic ODE, where I'm using ParametricNDSolve and WhenEvents : ...
1
vote
0answers
21 views

Discrete variables in ParametricNDSolve [closed]

I'm trying to write a stochastic differential equation, using ParametricNDSolve and WhenEvents : ...
0
votes
1answer
35 views

Transforming ParametricFunction in expression depending on the parameter

As a result of solving an ODE system using ParametricNDSolveValue I obtain 4 functions, each of them a ParametricFunction depending on the parameter specified in <...
0
votes
2answers
101 views

Plotting a parametric solution from NDSolve

Im trying to animate multiple points around multiple parametric plots which depicts orbital motion of body around a planet. Initial conditons are; ...
0
votes
3answers
115 views
0
votes
1answer
64 views

How to plot several animations from a parametric plot loop

I have a piece of code which plots parametric functions using for loops. ...
2
votes
2answers
77 views

Finding the amplitude of function solved using ParametricNDSolve

I have been trying to find the peaks of a function I have plotted using ParametricNDSolve. I have to find these peaks to calculate the amplitude of all the various waves in the observed output. By ...
1
vote
2answers
91 views

Trouble with Calculating Area of Parametric Region

This question stems from an attempt to solve the following question: How to calculate specific area on surface of sphere? First, I parametrize a circular loop: ...
3
votes
1answer
48 views

Plot a parametric curve subject to some condition

I have a parametric curve described by $(x(s,t), y(s,t))$ where I would like to consider $-1\leqslant s,t \leqslant 1$ subject to some additional constraint, say $f(s,t) = 0$. I know I could solve for ...
4
votes
0answers
61 views

How to calculate specific area on surface of sphere?

I am trying to calculate the solid angle subtended by arbitrary-shaped loops on a sphere's surface. First, I parametrize circular loops by: $$\theta(t,k_{x0},r) = k_{x_0} + r \cos(t);$$ $$\phi(t,k_{...
1
vote
2answers
104 views

How to calculate arbitrary area on surface of sphere?

I am trying to calculate the solid angle subtended by arbitrary-shaped loops on a sphere's surface. First, I parametrize circular loops by: $$\theta(t,k_{x0},r) = k_{x_0} + r \cos(t);$$ $$\phi(t,k_{...