Question
I need to solve this sytem of nonlinear equations using Matlab with Newton.m, newtmult.m or fsolve in Matlab. W=100; s=10; S=23; p=9; q=20; F(1)= 5-(W+S*p)*X1+S*p*X2-S*q*X1^2+S*q*X2^2==0;
I need to solve this sytem of nonlinear equations using Matlab with Newton.m, newtmult.m or fsolve in Matlab.
W=100;
s=10;
S=23;
p=9;
q=20;
F(1)= 5-(W+S*p)*X1+S*p*X2-S*q*X1^2+S*q*X2^2==0;
F(2)= W*X1-(W+S*p)*X2+S*p*X3-S*q*X2^2+S*q*X3^2==0;
F(3)= W*X2-(W+S*p)*X3+S*p*X4-S*q*X3^2+S*q*X4^2==0;
F(4)= W*X3-(W+S*p)*X4+S*p*X5-S*q*X4^2+S*q*X5^2==0;
F(5)= W*X4-(W+S*p)*X5+S*p*X6-S*q*X5^2+S*q*X6^2==0;
F(6)= W*X5-(W+S*p)*X6+S*p*X7-S*q*X6^2+S*q*X7^2==0;
F(7)= 0.039+W*X6+(-W+p*S)*X7-p*s*X8+q*S*X7^2-q*s*X8^2==0;
F(8)= W*X7-(W+p*s)*X8-p*s*X9-q*s*X8^2-q*s*X9^2==0;
F(9)= W*X8-(W+p*s)*X9-p*s*X10-q*s*X9^2-q*s*X10^2==0;
F(10)=W*X9-(W+p*s)*X10-q*s*X10^2==0;
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started