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
-1
votes
0answers
39 views

Facing problem using NSolve inside module

I have an equation called P, which is a determinant of the matrix R. This equation P is a function of ...
0
votes
0answers
16 views

Export Graphics3D Object as .fbx file with animation

Suppose I have a Graphics3D object named objanim that is a function of some variable t. I can export this animation to a ...
2
votes
1answer
48 views

How to specify in Parametric Plot that variables are on circle?

I have 2 functions a=2; zx[x_, y_] := x + (a^2*x)/(x^2 + y^2); zy[x_, y_] := y - (a^2*y)/(x^2 + y^2); I want to draw a parametric plot of (zx,zy). Where x and y ...
1
vote
1answer
77 views

Plot of Parametric Equation that describes a Lead Screw

I have a Lead Screw, it looks like this: There are two parameters at the moment of buying one: Pitch and Lead The Lead Screw that I have has a Lead of 2mm and a Pitch of 2mm, but I find a little bit ...
0
votes
1answer
43 views

How do I define a function with a variable and a parameter? [closed]

Let $\alpha \in (0,1)$ be a parameter. I would like to define a function $$ f_{\alpha}(n) := \binom{n}{\alpha n},$$ in order to later get a series expansion ...
0
votes
1answer
53 views

How do I plot a parametric function? [closed]

I want to plot this parametric function: $\qquad x=2\,\cos(\sqrt{12}t- π/3),\,y=4/\sqrt3 \sin(\sqrt{12}t- π/3)$ where $t$ goes from 0 to 8 I tried to make a plot, but I didn't know how because it's ...
3
votes
1answer
67 views

Can we convert any parametric equation to implicit form?

The Archimedes spiral equation in parametric form: fx[t_] := Cos[t]*t; fy[t_] := Sin[t]*t; How can it be converted to implicit form? Is there a general method ...
0
votes
1answer
62 views

Allow Mathematica to solve the differential equations with larger than 16 digits parameters

Consider the system of differential equations ...
4
votes
3answers
131 views

How to plot a super ellipse [closed]

I am trying to plot a super ellipse. It's like a regular ellipse but there are added terms so you can define how box like the ellipse will be and on the other extreme how concave the shape will be. I ...
6
votes
2answers
259 views

How to draw a 3D point moving along a helical path?

I have an animation for a helix being drawn in 3D but I really want to have a point on there that draws the helix. I've seen similar problems on here for 2D and I tried adapting the suggestions but I ...
0
votes
1answer
164 views

Need help on working with parametric function

Here is an ODE solved by ParametricNDSolveValue solver.I got the solution. Now, I need to solve these two equations: p1 = 10 h - l; p2 = 10 h1; where ...
1
vote
1answer
84 views

How to fit spline through points in $ \mathbb{R^3}$?

I have coordinates of points that represent a curve (for example, helix or centerline of moebius strip) in $ \mathbb{R^3}$. I want to fit a Bspline through these points. How to do this in Mathematica? ...
8
votes
2answers
588 views

return {} when the function is given {}

I have a function taking an array as argument and giving an output. However, sometimes my argument is {} (the empty array), then how can I get an output {} when my argument is {}? Actually, I want the ...
0
votes
1answer
32 views

ParametricNDSolveValue vs NDSolveValue

My question is simple. If I define this system of differential equation with NDSolveValue I obtain a pretty result ...
1
vote
0answers
62 views

Is function polymorphism possible in Mathematica [duplicate]

Is there a way to have polymorphic function definitions in Mathematica? I looked around online and didn't anything discussing it.
7
votes
1answer
339 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
48 views

Performance Optimizing ParametricFunction

Setting up the system: ...
0
votes
0answers
35 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
26 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
59 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
39 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
134 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
58 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
108 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
25 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
43 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
207 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
34 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
80 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
102 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
83 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
267 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
89 views

Blank graph on offline mathematica

I am looking at the following plot: ...
4
votes
0answers
64 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
35 views

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

So I have a quite complicated ParametricNDSolve : ...
0
votes
0answers
46 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
29 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
71 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
51 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
315 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
63 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
91 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
295 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
36 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: ...