0

Can someone help me to solve this algorithm, I tried our school book but can't understand it. I'm not good at math!

Should be simple, but i just can't understand it!

[IMG]http://i38.tinypic.com/5wdau.jpg[/IMG]

Not Yet Answered # [help] C++ algorithm

triumphost 120 Discussion Starter smartness -3 triumphost 120 firstPerson 761 Hey, so I wanna ask how I need to create a method who will remove word if in that word is 2 same chars. Example: "Potato" in this word there is a 2 "o" chars so this word will need to be removed. "Forum" in this word there is no ...

Hi I'm having a problem implementing a mini shopping cart drop down in the header to show the user all the products they have in their shopping cart. It seems the only solution for this is Ajax, and I've looked all over and can't find anything that I could possibly ...

0

Can someone help me to solve this algorithm, I tried our school book but can't understand it. I'm not good at math!

Should be simple, but i just can't understand it!

[IMG]http://i38.tinypic.com/5wdau.jpg[/IMG]

0

If you tellme what exactly your math books says... or at least what the equation represents I can help you from there but just a picture isnt gunna cut it as I cant find that formula anywhere on google... Though just looking at it im pretty sure its one of Euler Maclaurin's summation formulas for polynomials..

I never would have guess but seems like you are doing intergrals of polynomials which means you want to do the anti-derivative... refer to calculus... so assuming that you are at that level and you know that a derivative is the "equation of the slope" of an equation at any given point... you want to go backwards... so that means you are given the "equation of the slope" and find the actual equation of the initial polynomial... This method is know as integrals... which is the same as finding the area under a graph such as a parabola so in this case physics and calculus can help you a lot... hope you took it in highschool...

*Edited 7 Years Ago by triumphost*: n/a

0

Mmm. well I can't tell you what the book says (it's albanian), i maybe could paint some formulas with paint, but I don't know which would help you?

p.s. I'm learning these in C++, not math (i know algorithms are math). We are learning loops (i think)...

0

lol wow what an intense book... in albanian and plus your actually gunna learn loops starting off with integrals oh man good luck in that class... when learning loops the first thing you learn it with is integers then variables not INTEGRALS that is something totally different and unless you know calculus, good luck lol, I guess i cant help cuz I cant read albanian but dam...

0

A few( maybe 2) for loops could solve this problem.

Have a for loop, for variable " i" and "a". The equation is pretty forward,

unless you don't know what the sigma notation does.

What is the "X" variable represents? Is it the user's input ?

This article has been dead for over six months. Start a new discussion instead.

Recommended Articles

Hi. Im using vb 2010. I want to dynamically add textboxes to my form by clicking on a button. I've google searched and so far this code worked:

```
Private Sub btn_addline_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_addline.Click
Dim txtB1 As New TextBox
Dim i
For i = ...
```