Gabriel Barcellos

40 Reputation

0 Badges

0 years, 161 days

MaplePrimes Activity

These are replies submitted by Gabriel Barcellos

@acer  I don't need a truncated series. Thank you for paying attention to the details. The command
frontend(coeff,[P, eta, n]) was enough to do what I want. It basically consisted of selecting the coefficients in the form 1/eta^n.

Thank you very much, a hug from Brazil.

@acer The first part of the code was successful but the last part I had a small problem, can you help me again?

I decided to print the screen for you understand what is happening. The code only work normally when I work in your archive, when I digite or copy your code I have some problems, how to concert this?

@Carl Love No, there is no difference. When I say difference I mean all aspects, which includes the aesthetic part and the graphic itself. In the aesthetic part is the caption. Only in this part is there a difference. I was unsure because when I need to place a graphic in a magazine I need to go through another program and transform it into a vector graphic.

@acer Thanks for the ACER recommendations. I put photos because I think there is no need and I still think it is not necessary to insert a code or upload a file for a simple command, it is not a complex routine, I just need a modification in the command and the photo fits as an example of my speech . And I also believe it is a different topic, which is why I preferred to start a new question first.


Is there a simpler way to make the selection called B011CONST? In other words, instead of selecting terms counting cosh, select those that do not contain it?

In a way, drafting the code in a more professional way and not as a gimmick above

@Carl Love 

I would love to know more about the subject, this topic is extremely important to me.

And I also raise another question regarding the selection of certain functions with generic arguments. For example, only select those that contain this specific division

In this case x can be any argument and we would then have, for example

  • L(x):=[2*sinh(k+ç]*exp(constant)/[1+2*cosh(k+ç]*exp(constant)][2*sinh(2k+9ç]*exp(constant)/[1+2*cosh(2k+*ç]*exp(constant)] + 3/8 + R(x)

I wish for a new A and B, where A and B

  • A:=[2*sinh(k+ç]*exp(constant)/[1+2*cosh(k+ç]*exp(constant)][2*sinh(2k+9ç]*exp(constant)/[1+2*cosh(2k+*ç]*exp(constant)]


  • B:=3/8 + R(x)

Thanks for your help

@Rouben Rostamian  

Sometimes it may seem like an idiotic question, but when rendering the graphics in Maple the quality of the curves does not come out like the one plotted by you, look at the example below. In your case, both the curves, the legends and the axis come out as if they were already ready for the article (in vectorized form, without loss of resolution), as if you had edited them in your own program.

How do you do this?

Can you understand and tell me why the difference?

I used both commands provided by @Carl Love , initially in "A0teste1" (in black) and followed by @acer recommendation the command "A0TESTE1" (in red) which is modified by @Carl Love in your previous command.

What exactly is the difference between the two? Until then they all give me the same result.

@Carl Love 

I'm sorry for the inconvenient error and before posting the message I checked several times to make sure nothing was wrong. And even so, it ended up making an error.

My natural language is not English and sometimes I use a translator, it was not my intention to write "incorrectly", I am sorry. The correct term would be CORRECT. The error was the translator's

@Carl Love I will give you the example in which I needed to solve as a situation to apply the previous answer.

My fuction is f(x)=tanh(x), so when I applie the terms in f(x) we have

A1 refers to the selected expansion coefficients that accompanied "m", my variable. I needed to take these coefficients in the exponential argument and apply them to the tanh, each one individually and add them together.

With the command you provided me, I arrived exactly where I needed to be, I had opened the accounts in my hand to check.

Regarding your question "What was your result from eval(A1, exp= cos)? I get 5, which is correct because the cos terms sum to 0, as you said."

In that initial case I also got zero, I just tested the validity for that situation and started applying it. Was my previous answer satisfactory to your question? In the sense of also getting zero

Thank you very much again, I was racking my brain for days on that game about the codes! 


@Carl Love Thank you for your willingness to help and resolve my question, hugs!

@Carl Love thank you for your answer!

This is my first question in this forum, I don't know how to write a question or how would be the best form to make a question. In the next question I'll put some more information and the code line - not a photo (print screen).

Page 1 of 1