Skip to main content

All Questions

0 votes
0 answers
28 views

Find the function for a decision variable

I'm currently trying to find the equation for a decision variable from a total profit equation using Mathematica. From what I've read, I can use the solve function to do this. Here's a example i found:...
Icebear's user avatar
4 votes
1 answer
136 views

Findroot :unable to find a solution that meets the convergence criteria

The stationary solutions of the Klein-Gordon equation refer to time-independent solutions, meaning they remain constant over time. For the non-linear Klein-Gordon equation, you are discussing:$$\frac{...
Athanasios Paraskevopoulos's user avatar
5 votes
1 answer
230 views

Colouring Bifurcation Diagram

I need to plot the bifurcation diagram for the function given below. g[x_, r_] := 6 x^2 + r x^4 + x^6 Plot[g[x, -4.9], {x, -2, 2}] Bifurcation Code for ...
user444's user avatar
  • 2,644
2 votes
0 answers
217 views

Solving `Integrate` of `InterpolatingFunction` from an `NDSolve`

I am interested in solving a system of Differential Equations, particularly u''[\[Tau]]=-f[t]u[\[Tau]] This system has for initial conditions $u(0)=1/\sqrt{2\cdot ...
Jules Alvarez's user avatar
0 votes
0 answers
101 views

Solving an optimization problem with rather complicated functions

I'm trying to solve the following optimization problem. \begin{aligned} \max_{e, s} \quad & v=\frac{(\lambda + i)U_{emp}+(1-e)U_{unemp}}{i(1-e+\lambda+i)}\\ \textrm{s.t.} \quad & \lambda = \...
ppp's user avatar
  • 765
3 votes
1 answer
200 views

How to find a unimodular integer matrix $T$ satisfying $T^\top A T=B$ given symmetric integer matrices $A,B$?

Given two unimodular symmetric integer matrices $A$ and $B$, I asked how to find a unimodular integer $T$ that satisfies this nonlinear relation between $T$ and $A,B$ like this in Mathematica: ...
zeta's user avatar
  • 251
8 votes
2 answers
388 views

Given square matrices A and B, how to solve T obeys Transpose[T]. A . T = B?

Dear Mathematica experts, Given two square matrices, A and B, how do we use Mathematica to solve a matrix T such that T satisfies this matrix equation? (Here we have A,B,T $\in$ general linear matrix ...
zeta's user avatar
  • 251
0 votes
0 answers
37 views

Use Fitting Parameter from Solve or Nminimize with LinearModelFit

Im Trying to minimize a function by varying parameter "a" with Solve or Nminimize. The Problem is that "a" is dependent on my parameter "R" which is dependent on "a&...
HerbertderGe's user avatar
0 votes
0 answers
59 views

How to speed up maximization of the Solve output?

I am trying to maximize the solution of the system of algebraic equations for different values of parameters. The problem is related to the absorbing times in Markov chains. Here is the code ...
San's user avatar
  • 1
1 vote
1 answer
68 views

Find an instance satisfying equation

I have the following equation with two variables xi and nu. ...
Dotman's user avatar
  • 486
1 vote
1 answer
86 views

Minimization of an implicitly specified function

exp - an experimental data, where expT - temperature, expChi - magnetic susceptibility I ...
Mam Mam's user avatar
  • 1,883
0 votes
0 answers
92 views

Why doesn't NMinimize work with NSolve?

Why does NMinimize throw the error and how to fix it? ...
Mam Mam's user avatar
  • 1,883
2 votes
3 answers
287 views

How to solve this equation over the integers with Mathematica?

I try to solve with Mathematica 13.3.1 on Windows 10 the problem $$x^2+2^{x^2+1990}-y^2=2^{y^2+y}+y-1990\land x+y>1990,\, x\in \mathbb{Z},\,y\in \mathbb{Z}$$ which originates from Bauman Moscow ...
user64494's user avatar
  • 27.2k
0 votes
2 answers
108 views

Why can't NSolve find values that FindInstance can?

I am trying to solve for \[Epsilon], given three input paramters n, x and ...
Dotman's user avatar
  • 486
1 vote
0 answers
225 views

Help with code for impulsive optimal control problem

I am using Mathematica 13.3 to numerically solve/generate numerical plots for my impulsive control problem. The optimal control problem is: T is time from0 to T where T is the terminal time K(t), B(t) ...
Lynoure's user avatar
  • 11

15 30 50 per page
1
2 3 4 5
15