Zeros to function of 2 variables, Matlab.

Click For Summary
SUMMARY

The discussion focuses on finding zeros for a function of two variables using MATLAB. The specific function provided is Z = 2*A.*(A+B).*(2*A+B)./(B.*B).*(0.25*A.^(-3)+4*(2*A+B).^(-3)+0.25*(A+B).^(-3))-14.44. The user seeks methods beyond built-in functions for single-variable equations, emphasizing the need for techniques suitable for multivariable optimization. The conversation highlights the complexity of solving for zeros in multivariable contexts, particularly when both variables A and B are constrained to positive values.

PREREQUISITES
  • Understanding of MATLAB programming and syntax
  • Familiarity with multivariable calculus concepts
  • Knowledge of optimization techniques in numerical analysis
  • Experience with MATLAB's optimization toolbox
NEXT STEPS
  • Explore MATLAB's fsolve function for solving systems of nonlinear equations
  • Learn about the use of the optimization toolbox for multivariable functions
  • Research gradient descent methods for finding zeros in multivariable contexts
  • Investigate the use of symbolic computation in MATLAB for multivariable functions
USEFUL FOR

Mathematics students, engineers, and researchers working with multivariable functions in MATLAB, particularly those focused on optimization and numerical solutions.

malawi_glenn
Science Advisor
Messages
6,735
Reaction score
2,436
Hi!

I was wondering how you can find zeroes to a function of two variables. I use Matlab.

This is the function:

Z = 2*A.*(A+B).*(2*A+B)./(B.*B).*(0.25*A.^(-3)+4*(2*A+B).^(-3)+0.25*(A+B).^(-3))-14.44;

I know that A and B are positive. But I only know of inbuilt functions and algoritms for finding zeros for functions of ONE variable..

Do you guys know any?
 
Physics news on Phys.org
Normally, you need two equations to minimize for two variables for a global solution.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 32 ·
2
Replies
32
Views
4K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K