Sabrina Kamal

15 Reputation

One Badge

7 years, 12 days

MaplePrimes Activity


These are replies submitted by Sabrina Kamal

@Carl Love The coding is not working. Do u have any idea? 

@Carl Love The rectangle did combined :) Thank u everyone. But how am I gonna color it into black?

Download DAL_LOOP_t=0.2.mwDAL_LOOP_t=0.2.mw
 

@tomleslie Would be much appreciate if u can help me in this. Thank u in advanced

@tomleslie This is my coding. We r using looping to generate all 21 points(P1 Q1 P2 Q2 P3 Q3 P4 Q4)of the rectangles.

Then we get all the points.

So far I did display n plot all the rectangles but not in one graph. They r not combine. This is the coding

 

So, from your coding and explaination, can I apply your coding?

 

@Kitonum It still can't be read. And prompt error there.

@Carl Love I can not read the `?[]`. Would be really appreciate if you may send the coding via picture. Thank you Carl.

@Kitonum Thank you for the respond. Do I have to write it in loop or outside the loop command?

@Carl Love Thank you Carl but I use Maple 2016. 

@Carl Love Hello Carl. Thank u for the respond. If I may ask what is mean by [1] in eval([P2,Q2], {ans}[1]); and same goes to [2] in eval([P2,Q2], {ans}[2]); ?

 

My selection criterion is based on the angle and quadrant of the rectangle that we are expecting. Since then, we found out for P1 Q1 and P2 Q2 we have to choose the first value while for P3 Q3 and P4 Q4 we have to choose the second value in order to produce the rectangle. But the problem here is that the selection of value is not fixed. 

 

For an example,

ans := solve({eq5, eq6}, {P2, Q2});
            {P2 = 3.261108394, Q2 = 0.9960520750}, 

              {P2 = 1.610473300, Q2 = 3.496052075}
e := eval(P2, {ans}[1]);
                          1.610473300                     #i am expecting it to be 3.261108394
f := eval(Q2, {ans}[1]);
                          3.496052075                     #i am expecting it to be 0.9960520750

For P2 and Q2 we supposedly choose the first point but maple give us the second value instead. Hope you may help me in solving this matter. Thank you Carl :)

Page 1 of 1