# Computation Contest #5 [2 SBI]

(Edited)

Here you can solve interesting problems using whatever programming language you like. Also you will earn SBI and sometimes STEM by doing so.
Also you might learn new things by doing so.
The tasks will be rather hard to solve without a programmable computer and some programming skills, but if you want to add a few million numbers by hand or similar, I would still give you the reward.
↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓

# Rules

#### In order to get accepted you need to somehow attach your code.

↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓

# Problem

The problem of this contest is similar to what you did last week:

Integrate that function using a computer, but use a different technique:

1. Generate the taylor polynomial at x=1(using your computer) for about 100 terms of the function you should integrate.
2. Integrate that taylor polynomial using the power rule.
3. Use that integral to calculate the integral.

Use that procedure to integrate said function from 0.9 to 1.1.
Compare the result to what the method from #4 gets.

↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓

To everyone who already participated in a past contest, come back today and try a new problem(tell me if you don't want to be tagged):
@crokkon @kaeserotor @tonimontana

In case no one gets a result(which I doubt), I will give away the prize to the person who makes the most constructive description why the problem is too hard in your opinion.

↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓

@contrabourdon sponsors my contests with 2 STEEM weekly.
You can support him by using a witness vote on untersatz, so he can further support this and other contests.

0
0
0.000

A bonus \$trendotoken tip from ONECENT!
Also consider MAPR fund and MAXUV vote bonds too.
MAP Steem FinTech: growing your STEEM without SP.

0
0
0.000

I have a hard time modelling the taylor expansion already :l Just can't figure out the right expressions right now and have other work to do.

Should be doable with two loops, the outer one gives the order of the derivative, the inner one creates all the elements f'(a), f''(a)/2 and so on. The elements are put into a list since they are just constant factors. Integrating is easy and can be done by using the index of the list i. Simply multiply a factor (x-a)^(i+1)/(i+1)to every list element, put borders in there and calculate upper border minus lower border. Put those values into a list and take the sum over all of them to get the result.

0
0
0.000

I will give you a hint regarding the taylor expansion:

You can first find the taylor expansion of e^x and then divide this taylor expansion by x. Then you already have a part of the taylor series and only need to add the taylor series of 1/x.
This is easy, because deriving 1/x can be done easily and exact in the computer in comparison to deriving e^x/x.

0
0
0.000

Darn, I missed seeing this one. Please keep me on the tagged list @quantumdeveloper 🧮

0
0
0.000

I will add you to the list.

0
0
0.000

Thank you!👍

0
0
0.000