using MatLab can someone please explain how to solve for #`1 1. 1D optimization
ID: 3600960 • Letter: U
Question
using MatLab can someone please explain how to solve for #`1
1. 1D optimization Create a function to evaluate the following: Check if the function works properly; what is f(0)? f(x) 2-10xeS" ae Use the "fzero" function to find roots of f(x): Let's find the minimum of (x) by calculus method. Find the places where the first derivative check the second derivative-if positive, a minimum; if negative a maximum. Now, use the built-in function fminbnd to find the minimum (i.e. value of x and f(x) at the m 2· 21)OptimizationExplanation / Answer
clc; clear; y = 0.000000000258; T = 1273; TM = 2163; TMO = -0.5; G2 = 126000; A = 1.2E-29; b = 0.000000000258; x = 2/3*b; Eps = 0.00487903650119246; ny = 0.3; Wi = Wifun function Wi = Wifun(y,T,TM,TMO,G2,A,b,x,Eps,ny) syms G2;syms T;syms TM;syms TMO;syms ny;syms A;syms Eps;syms b;syms x;syms y; G = G2.*(1+((T-300)./TM).*TMO); Ei = -(1/2.*pi).*((1+ny)./(1-ny)).*G.*A.*Eps; Wi = -(2/3).*b.*x.*Ei.*(1./(x.^2+y.^2));
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.