Andiguys

85 Reputation

5 Badges

1 years, 131 days

MaplePrimes Activity


These are replies submitted by Andiguys

@acer How to fetch data generated using for loop to generate the 2D graph below?

Only 1st 3 colums are needed? how to do that,
like example if data generated is :- 

    80, 1, 1.80074340195803263, delta = 0.0578703702395449, e = 0.161839640102812
                                                           
    80, 2, 1.79160585795803287 , delta = 0.0578703702958708,  e = 0.161839639899066
only first three columns needed to be fetched from every row.

Attaching sheet: Question_plot_cv.mw

2D graph with labe needed: 

@acer Hey i dont know how to give path to the file? How to import the data? or how to give directory?

Error : 

@acer Thank you. As you mentioned i have used for loop to generate the data. 

How do I create a 2D graph with x and y axes, where the z value is displayed along the curve at specific points? (With same data?)

@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?

5 6 7 8 9 10 Page 7 of 10