wilk007

20 Reputation

4 Badges

7 years, 225 days

MaplePrimes Activity


These are replies submitted by wilk007

@acer and in future i'll do that, it would be a lot easier for those trying to help, and is probably just good ettiqutte for the forum to do so. My bad. 

On a seperate note, it never fails to amaze me how bloody clever you and people like you are. 

:)

@acer But whilst trying to implement your autoplay code to spice up my maple worksheet, it appears as though it doesnt agree with the size command i have in my plot. Hw do i go about making the anmation physically larger (the option i used is, size = [1500, "golden"],). Could you please give me a hand? Thank you, and if you can't don't worry about it as it has been two years haha. Cheers :)

 

To make it a little clearer here is my finished piece of code which i am trying to implement (I tryped it out too in case you would rather copy and past than type it all out again haha):

aniplot := plots[animate](plot, [wave(x, t), x = -20 .. 20], t = -1 .. 1, frames = 45, title = " \n An Animation Illustrating The Position (x) \nand Amplitude (y) of a Wave at Time (t)", titlefont = ["ROMAN", 35], labels = ["Point (x)", "Amplitude (y)"], labeldirections = ["horizontal", "vertical"], labelfont = ["HELVETICA", 20], axesfont = ["HELVETICA", "HELVETICA", 18], thickness = 3, size = [1500, "golden"])

autoplay := proc( anim, {continuous::truefalse:=false} )
  local P, T;
  uses DocumentTools, DocumentTools:-Layout,
       DocumentTools:-Components;
  P := Plot(':-identity' = "Plot0", anim,
            ':-continuous'=continuous);
  T:=InsertContent(Worksheet(Group(Input(Textfield(P)))),
                   ':-output'=':-table');
  DocumentTools:-SetProperty(T["Plot0"],':-play',true);
  NULL:
end proc:

autoplay(aniplot);

 

Image of what it looks like:

All of the other options translate perfectly apart from the size, i can't even change it manually (i cant drag the corners out to resize).

Thanks again :)

@Kitonum and so doesnt really answer the question, oreso finds a way to work around it? 

If I'm wrong I'd love to ear it however i dont think i understand what you mean. 

Thank youu for your help :P

@Carl Love knowing this i understand the question and can actually answer it aha. Perfect, nice one

@Carl Love The question at hand specifies the constraints for the plot, and whilst your method is much more comprehensive than the one i've used, i have to use the impliciplot and fsolve commands to answer the question.

So thank you for your response, and going forwar i will use this method as it does the job much better, for onow i'l have to stick with the other. 

Cheers :)

@Kitonum this is exactly what i was looking for, I'll have to look into that map2 command as i still dont know what it does, just that it works!

This allowed me to specify the two intersections I wanted to include too, which is ace. 

Thank you

@Markiyan Hirnyk you've helped me a huge amount with the info you've provided here, thank you ever so much, and your attachment meant it was even clearer too. Top man, thanks again

@Mariusz Iwaniuk thank you for your help pal :)

@Preben Alsholm but i dont know how to @ a second person in the one comment aha. 

Thank you ever so much for your assistance :)

@John Fredsted  this combined with Preben's fsolve shortcut has relieved more stress than you can imagine. Actually given you are knowledgable of this sort of stuff you know the stress and the eventual relief all too well! 

Again, thank you, i have spent so much time trying to do this and i ended up just finding the answer by trial and error (changing the value of n manually until i found 56 was the correct number). Whilst this wasn't neccessarily wrong, by god this is so much more professional and is for sure the way to do it most efficiently. 

You've made my evening for real.

:)

@ThU because i have no idea how i would go about doing so.

Wait, so i have my final result from above, i make that > 100 and solve for n? Wouldnt that return all values of n above 100? Also, how do i do this using maple commands? Thank you for your help

 

EDIT : Thank you for your help but my query has been resolved now :)

Page 1 of 1