Community Profile

Contact

I am trying to visualize this function and eventually its contour lines: clear all [x,y]=meshgrid(-10:0.1:10) d=m...

2 Answers

0

Asked 2 years ago

I am solving this differential equation syms y(x) dsolve(diff(y) == 4/100*y) that gives C4*exp(x/25) What do...

1 Answers

clear all syms x y l1 l2 l3 %%Generate symb var for multipliers v=[x y l1 l2 l3]; g1=(y-3)/sqrt((x-2)^2+(y-3)^2)+l1...

f=@(x) 2-2*x(1)-x(2) %% Check admissibility for j=1:size(sol,1); z=sol(j,1:2) if f(z)>=-1 ...

Solving this I get %% Solve the system given by KKT conditions S = solve(g1==0,g2==0,g3==0, cs1==0, x1, x2, x3...