Ali Guzel

Mr. Ali Guzel

50 Reputation

5 Badges

16 years, 44 days

MaplePrimes Activity


These are replies submitted by Ali Guzel

@Axel Vogt 

It worked!!

Thanks Sir

@Carl Love 

 

Thanks Mr. Carl..  I am very satisfied..

I love Maple. 

You can close this dialog...

Happy and healthy days to both of you..

 

@acer 

 

I applaud you Mr. Acer cheerfully...

You are the man.

 

Thanks very much  :)

@Ali Guzel

Same problem. I want to get the same result using animate command with background option...

 

test.mw

 

 

@Ali Guzel  

 

Thanks for your effort  Mr. Kitonum,

But this is a 2d problem..  There must be an easier way to animate an obj fn on background (feasibleRegion)..

Ali

 

@Ali Guzel  

 

For a state of the art program like Maple, this simple animation should not be a problem...

My problem is sytactical.. I read all animation help docs but couldn't figure it out..

@Kitonum 

Dear Kitonum,

I am trying to animate obj[max) = c1*x1+2*x2 over the feasiable region:

4*x1 + x2 <= 12, 
    x1 - x2 >= 2, 
           x1 >= 0, 
           x2 >= 0

Thanks for prompt reply,Sensitivity_question_for_graphical_analysis.docx

Ali

@Carl Love Sensitivity_question_for_graphical_analysis.docx

Dear Mr. Carl,

I am trying to animate obj[max) = c1*x1+2*x2 over the feasiable region:

4*x1 + x2 <= 12, 
    x1 - x2 >= 2, 
           x1 >= 0, 
           x2 >= 0

Thanks for prompt reply,

Ali

question_on_animate_with_background.mw
 

 

restart:  with(plots):

cnsts := [ 4*x1 + x2 <= 12,
             x1 - x2 >= 2,
                  x1 >= 0,
                  x2 >= 0 ];

[4*x1+x2 <= 12, 2 <= x1-x2, 0 <= x1, 0 <= x2]

(1)

feasibleRegion := inequal(cnsts, x1 = 0 .. 4, x2 = 0 .. 4):
display(feasibleRegion);

 

 

animate(plot, [[c1*x1+2*x2], x1 = 0..4, x2 = 0..4],c1 = -10 .. 100,
                frames = 22, background = feasibleRegion)

 

 


 

Download question_on_animate_with_background.mw

@Ali Guzel  

1 2 Page 2 of 2