| > | restart; |
| > | with(plots);with(student); |
Warning, the name changecoords has been redefined
![]()
![]()
Exercice 21
question b)
| > | Dom:={x>=0,y>=0,x+y<=1}; |
| > | f:=(x,y)->x*y*(x+y); |
| > | inequal(Dom,x=-1..1,y=-1..1,optionsexcluded=(color=white)); |
![[Plot]](images/exo21_7.gif)
| > | Doubleint(f(x,y),x,y,A)= Doubleint(f(x,y),y=0..1-x,x=0..1) ,"=",value(Doubleint(f(x,y),y=0..1-x,x=0..1)); |
question c)
| > | Dom:={x>=0,y>=0,x+y<=1}; |
| > | f:=(x,y)->ln(1+x+y); |
| > | inequal(Dom,x=-1..1,y=-1..1,optionsexcluded=(color=white)); |
![[Plot]](images/exo21_11.gif)
| > | Doubleint(f(x,y),x,y,A)= Doubleint(f(x,y),y=0..1-x,x=0..1) ,"=",value(Doubleint(f(x,y),y=0..1-x,x=0..1)); |
question d)
| > | Dom:={x>=0,y>=0,x*y+x+y<=1}; |
| > | f:=(x,y)->x*y; |
| > | implicitplot(Dom,x=-1..1,y=-1..1,thickness=3); |
![[Plot]](images/exo21_15.gif)
| > | Doubleint(f(x,y),x,y,A)= Doubleint(f(x,y),y=0..(1-x)/(1+x),x=0..1) ,"=",value(Doubleint(f(x,y),y=0..(1-x)/(1+x),x=0..1)); |
| > |
question e)
| > | Dom:={x>=1,y>=1,x+y<=4}; |
| > | f:=(x,y)->1/(x+y)^4; |
| > | inequal(Dom,x=-1..5,y=-1..5,optionsexcluded=(color=white)); |
![[Plot]](images/exo21_19.gif)
| > | Doubleint(f(x,y),x,y,A)= Doubleint(f(x,y),y=1..4-x,x=1..3) ,"=",value(Doubleint(f(x,y),y=1..4-x,x=1..3)); |
question f)
| > | Dom:={x>=y-1,y>=0,x<=4-2*y}; |
| > | f:=(x,y)->x; |
| > | inequal(Dom,x=-1..5,y=-1..3,optionsexcluded=(color=white)); |
![[Plot]](images/exo21_23.gif)
| > | Doubleint(f(x,y),x,y,A)= Doubleint(f(x,y),y=0..x+1,x=-1..2/3) + Doubleint(f(x,y),y=0..2-x/2,x=2/3..4) ,"=",value(Doubleint(f(x,y),y=0..x+1,x=-1..2/3) + Doubleint(f(x,y),y=0..2-x/2,x=2/3..4)); |
question g)
| > | Dom:={x>=0,y>=0,x*x+y<=1}; |
| > | f:=(x,y)->ln(1+x^2+y); |
| > | implicitplot(Dom,x=-1..1,y=-1..1,thickness=3); |
![[Plot]](images/exo21_27.gif)
| > | Doubleint(f(x,y),x,y,A)= Doubleint(f(x,y),y=0..1-x^2,x=0..1) ,"=",value(Doubleint(f(x,y),y=0..1-x^2,x=0..1)); |
| > |
question h)
| > | Dom:={x>=y^2,y>=x^2}; |
| > | f:=(x,y)->x*y; |
| > | implicitplot(Dom,x=-1..1,y=-1..1,thickness=3); |
![[Plot]](images/exo21_31.gif)
| > | Doubleint(f(x,y),x,y,A)= Doubleint(f(x,y),y=x^2..sqrt(x),x=0..1) ,"=",value(Doubleint(f(x,y),y=x^2..sqrt(x),x=0..1)); |
| > |