Finding the Roots of Multiple Equations

4 ビュー (過去 30 日間)
Mercury_80
Mercury_80 2020 年 11 月 15 日
コメント済み: Ameer Hamza 2020 年 11 月 16 日
I'm trying to figure out how to get started on a homework problem.
The exact question is stated:
Write a Matlab code that finds a root (intersection) of the following three equations representing 1) a sphere with a radius of 1, 2) a cylinder with radius of ½ around the x2 axis, and 3) a paraboloid around the x3 axis. Establish a tolerance for the solution that you believe is appropriate.
F1 = x1^2 + x2^2 + x3^2 - 1
F2 = x1^2 + x3^2 + (1/4)
F3 = x1^2 + x2^2 - 4*x3^2

回答 (1 件)

Ameer Hamza
Ameer Hamza 2020 年 11 月 15 日
See fsolve(): https://www.mathworks.com/help/optim/ug/fsolve.html from Optimization toolbox to solve these equation.
  2 件のコメント
Mercury_80
Mercury_80 2020 年 11 月 15 日
Thank you! That was helpful.
Ameer Hamza
Ameer Hamza 2020 年 11 月 16 日
I am glad to be of help!!!

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeNonlinear Optimization についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by