Andiguys

25 Reputation

One Badge

0 years, 132 days

MaplePrimes Activity


These are replies submitted by Andiguys

@mmcdara Thankyou for providing KKT condition syntax.

I have now considered only two constraints. As from your syntax lets say i got KKT conditions. 
Now there can be 4 cases, how to find optimal K1 and K2 and mu5 (optimal) if greater than zero and mu6(optimal) if greater than zero, by simultaneously optimizing?

Attaching sheet: s_12.mw

@Carl Love I am getting solution for all values of tau0. There is nothing like showing "No improved solution"

I just need a plot from that results which we obtained by using FOR loop. 

I want continuous plot just connecting all the solution at each points of tau0 given. No need to evaluate on other points. Is it possible?


I am attaching sheet: for_loop_question_rec.mw

@acer Can you help me with 2D graph

@Christian Wolinski Can you explain how to give that constraint to solve it?

 

@Carl Love Its working

@Carl Love 
Attaching sheet: Q_LOOP.mw

Does the plot command should be inserted inside the loop for getting results?

@Carl Love Plot code showing error!

@Carl Love 
Attaching sheet: 
Q_LOOP.mw
 

@Carl Love when i remove end from FOR-loop and only give do its showing error "unterminated for loop"

@Carl Love How to use nested loop ? (For loop) 
Problem is marked in yellow background. how the syntax work?

I am attaching a sheet :Q_LOOP.mw

Also can you help in Drawing a 3 D graph where x-axis is Cv, y-axis is tau0 and  s[1] in z-axis
?

@Carl Love Thankyou. The above syntax worked.

in label showing w/n instead of w as given below:- my maple is 2019 version. What changes to make?





 

Can anyone help with above question to plot?

@Carl Love Thankyou i have incorporated that syntax change in my sheet.

I want to simplify Pi;m term  is there any other syntax for it so that the equation is in simple form?

I need to plot 2D graph as mentioned earlier can you help me with the syntax?

@Carl Love 

Let say if I want to plot a 2D graph where the w varies from  52 to 72, I want to show the variation of tau1 and tau2 in a 2D graph? How can i take the value of optimization result i got to plot the graph?
Example:-
Graph1: x-axis is w and y axis is tau1 and tau 2 (variation of tau1 and tau2 as line diagram in the plot)
graph2: x-axis is w and y axis is TRC(tau2,tau1) value

What is the syntax for it ?
I am attaching sheet:Question_loop_divert.mw

@vv Thankyou for reply.

Is there any way to simplify terms. I have used simplify syntax but its not properly simplyfying the equation. Is there any other syntax for that? Because when we analyze the equation it should be presented properly?
I am attaching a sheet:Q5.mw

The equation marked in yellow background need to be simplified in attached sheet.

1 2 3 Page 1 of 3