Posts: 66

Threads: 23

Joined: Aug 2016

Hi, again!

I need your help in PARI/gp. I would like to substitute a value into x of sin(x):

But it returns with error. Why? Please, help me.

Xorter Unizo

Posts: 742

Threads: 113

Joined: Aug 2007

(04/17/2017, 09:48 AM)Xorter Wrote: Hi, again!

I need your help in PARI/gp. I would like to substitute a value into x of sin(x):

But it returns with error. Why? Please, help me.

Code:

`subst(Pol(sin(x)),x,1)`

should work. But why not simply do

?

Gottfried Helms, Kassel

Posts: 66

Threads: 23

Joined: Aug 2016

04/17/2017, 05:53 PM
(This post was last modified: 04/17/2017, 05:54 PM by Xorter.)
(04/17/2017, 04:27 PM)Gottfried Wrote: (04/17/2017, 09:48 AM)Xorter Wrote: Hi, again!

I need your help in PARI/gp. I would like to substitute a value into x of sin(x):

But it returns with error. Why? Please, help me.

Code:

`subst(Pol(sin(x)),x,1)`

should work. But why not simply do

?

Oh, it was simplier than I thought. Thank you, my friend!

Well, because I have found a new type of integration and derivation. These are iterated! And I needed substitution in a function in my gp. Really amazing. I am going to share my results on this forum as soon as possibly.

(May be the key to determine what between addition and multiplication is.)

Just wait a few days, please.

Xorter Unizo

Posts: 66

Threads: 23

Joined: Aug 2016

But somewhy it does not work with gamma function.

Xorter Unizo

Posts: 560

Threads: 20

Joined: Oct 2008

(04/17/2017, 07:05 PM)Xorter Wrote: But somewhy it does not work with gamma function.

sin(x+1) or gamma(x+1)

- Sheldon

Posts: 66

Threads: 23

Joined: Aug 2016

(04/18/2017, 05:37 AM)sheldonison Wrote: (04/17/2017, 07:05 PM)Xorter Wrote: But somewhy it does not work with gamma function.

sin(x+1) or gamma(x+1)

I have determined the graphs with sin functions, but now I would like to work with gamma, too.

These methods are the generalizations of the integration and derivation...

Xorter Unizo