Diferente pentru blog/suma-in-triunghi-rezolvare intre reviziile #37 si #38
Nu exista diferente intre titluri.
Diferente intre continut:
== code(c) | dist = @(x, y, x1, y1) sqrt((x - x1).^2 + (y - y1).^2) sumt = @(x, y) 2 * dist(x, y, 0, 0) + dist(x, y, 3, 0) + dist(x, y, 0, 4)
x=linspace(0, 3, 50) y=linspace(0, 4, 50) [xx,yy]=meshgrid(x,y) contourf(xx,yy,sumt(xx,yy))
x = linspace(0, 3, 50) y = linspace(0, 4, 50) [xx, yy] = meshgrid(x, y) contourf(xx, yy, sumt(xx, yy))
== 'Adapost2':problema/adapost2 se poate rezolva folosind idei din acest post.