Skip to main content

Questions tagged [parameters]

3 votes
3 answers
242 views

Map a function with a parameter

I can get the minimum and maximum of a list by using #[list] &/@ {Min, Max} I now want to use RankedMin and ...
Mitchell Kaplan's user avatar
2 votes
3 answers
318 views

Finding parameters of function given its zeros and extrema

Let me use as an example a cubic function (the original problem is much more complicated) f[x_] := a x^3 + b x^2 + c x + d; I know that the function has: zeros ...
Teodoro Marinucci's user avatar
0 votes
1 answer
88 views

Finding nonnegative solutions for systems of equations with parameters using constraints on parameters

Given {c[0, 3, 4] + z[0, 2, 3] == c[2, 3, 4] + z[0, 2, 4], y[0, 1, 2] + z[0, 2, 3] == c[0, 1, 3] + c[1, 2, 3], y[0, 1, 2] + z[0, 2, 4] == c[0, 1, 4] + c[1, 2, 4]} ...
მამუკა ჯიბლაძე's user avatar
3 votes
1 answer
97 views

Find parameters b, c in a parameterized matrix A(b,c) to match two smallest eigenvalues to target values

I have matrix A that is dependent on two parameters b and c, so A = A(b,c). I need to find values for parameters b,c so that two smallest eigenvalues of my matrix A will be some exact numbers (in my ...
CaptainParsifal's user avatar
1 vote
1 answer
97 views

Manipulate Not Updating Plot When Parameter Changes in Mathematica [closed]

I am using Manipulate to change a parameter in a system of differential equations solved with NDSolve in Mathematica. The system of equations is as follows: I am using Manipulate to allow interactive ...
Raihanah Nazihah's user avatar
1 vote
3 answers
211 views

How can I fit two datasets simultaneously using two different functions but with the same parameters?

There are two sets of data: firstHalf and secondHalf. Both firstHalf and secondHalf are fitted using the models modelPositive and modelNegative, respectively. Both models use the same parameters: MS, ...
Cansu's user avatar
  • 13
3 votes
1 answer
259 views

How do #1 and #2 work in a function defined by 2 variables?

Can someone please explain the function of #1 and #2 in a pure random function of two variables? For example, if I had something ...
am567's user avatar
  • 997
0 votes
1 answer
134 views

Elegant way with minimal redundancy for handling function parameters and starting values when plotting and fitting

The following code shows how I handle making up a function, finding starting values, fitting and plotting. You see that handling the parameter names, starting values, plotting values is highly ...
DrSvanHay's user avatar
  • 167
1 vote
1 answer
108 views

Solving and plotting roots of a non polynomial equation with parameters

In Mathematica 12, I want to find the roots r of this equation in terms of the parameters M and Q, then plot r versus Q for some values of M. ...
Houhou Trad's user avatar
2 votes
1 answer
146 views

Expression as parameter to function that evaluates it, best way to do it?

I need a function fSum that computes the angular sum for some expression, like this: fSum[3 Sin[2 x], 0, 2 π] Or from a predefined function, like this: f[x] = 2 Sin[3 x]; fSum[f, 0, 2 π] Or plots it ...
Mikl's user avatar
  • 101
0 votes
2 answers
108 views

Problem with $ sign in temporary function parameter

I am having a problem with $ sign in the name of a parameter to a temporary function. The functions I have should compute the angular sum (or turning angle) for some expression generated by function <...
Mikl's user avatar
  • 101
7 votes
3 answers
524 views

How to plot a surface given implicitly by 3 equations in 5 coordinate variables?

I have 3 implicit equations in 5 variables: $f_1(S, y_h, y_d, x_h, J)=0$, $f_2(S, y_h, y_d, x_h, J)=0$, and $f_3(S, y_h, y_d, x_h, J)=0$. These equations determine a 3D surface in $S-y_h-y_d$ ...
yuhao chen's user avatar
1 vote
1 answer
91 views

Problems with Solve. Only works for specific parameters. Solve function do not "start"

I have the following problem I want to solve the following equalities. My used code: ...
Tremonia's user avatar
0 votes
0 answers
114 views

Find the condition under which an inequality is satisfied

I need to find the conditions among the variables under which the inequality est-tru>0 holds. ...
Dotman's user avatar
  • 590
3 votes
0 answers
123 views

How can I calculate P-Value for a custom distribution?

I used DistributionFitTest but it works only with a defined distribution. This is the distribution that I used: ...
A Day's user avatar
  • 59

15 30 50 per page
1
2 3 4 5
8