Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2015-01-30 10:44:04

Emad
Guest

convert sum into equation.

I have a summation function and I want to convert it into a fucntion of K alone.

summation cos(theta_i), from i=0 to k.

how can I get the above summation into a function of k alone.


Best.

#2 2015-01-30 10:51:24

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: convert sum into equation.

Hi;

What is theta_i?


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#3 2015-01-31 16:19:01

Emad
Member
Registered: 2015-01-31
Posts: 3

Re: convert sum into equation.

theta_i is angles in degree. from 1 up to k.. k is finite number.

I want to minimize this term ... j(K) = summation from i=1 to k ( cos( theta_i)+ Sin(theta_i))

I want to find Theta1,Theta2.... Theta k that minmize j(k)..

Offline

#4 2015-01-31 20:17:24

Bob
Administrator
Registered: 2010-06-20
Posts: 10,058

Re: convert sum into equation.

hi Emad,

Arhhh!  That's made it clearer.  Each term can be simplified like this:

The minimum value of the cosine is -1, so the minimum will be -root(2)

The final answer will be independent of the values that the thetas have.

Bob


Children are not defined by school ...........The Fonz
You cannot teach a man anything;  you can only help him find it within himself..........Galileo Galilei
Sometimes I deliberately make mistakes, just to test you!  …………….Bob smile

Offline

#5 2015-01-31 23:25:57

Emad
Member
Registered: 2015-01-31
Posts: 3

Re: convert sum into equation.

thank you Bob !

I want K to appear in the final expression. K is number of steps or turns, and its an integer value. everytime an incriment of 1 to k, there is a new angle theta.

the problem arises from turns of a robot that walk. so I want to know the minmim steps of the robot to the goal point. each step is 1 meter.

How can I choose Theta_i in order to get min steps for man robot ( K)

Offline

#6 2015-02-01 01:21:55

Bob
Administrator
Registered: 2010-06-20
Posts: 10,058

Re: convert sum into equation.

hi Emad,

You have a summation with different values of theta.  That's what was puzzling bobbym and me.  How can you minimise when you don't know any of the thetas ?

But each term in the summation has a trig expression cos(A) + sin(A) and that can always be written as cos(something) which will always have a minimum value of -1.

So if you have k terms like this the minimum value of the sum is -1 + (-1) + (-1) + ... = -k

From what you say about a robot it doesn't sound as if that helps much, sorry  sad .

How about going back a stage and telling us how the expression arises; why you want a minimum; and where you want to go with this next ?

Bob


Children are not defined by school ...........The Fonz
You cannot teach a man anything;  you can only help him find it within himself..........Galileo Galilei
Sometimes I deliberately make mistakes, just to test you!  …………….Bob smile

Offline

#7 2015-02-02 13:23:25

Emad
Member
Registered: 2015-01-31
Posts: 3

Re: convert sum into equation.

Theta is ranging from 0-90 degree. 

the Idea behind this is, if we have 2 points ( lets say (0,0 ) as initial point and (10,10) as final point ) and we want to move from initial point to final point in steps ( each step is 1 meter ). if we encounter obstackles , then we have some turns, how can we can minimize the turns in order to minimize the steps, and thats only by finding theta_i that results in minmime turns and   therefore steps to final point.

Offline

#8 2015-02-03 20:59:07

Bob
Administrator
Registered: 2010-06-20
Posts: 10,058

Re: convert sum into equation.

So, let's say there is an obstacle at (5,5)  . 

Have I got this right : You want to steer around the obstacle by turning a little bit on each step.  We need to know what is an acceptable clearance distance between the moving object and the obstacle. 

And then, if there's another obstacle,  this will completely throw all the calculations.

It sounds like all the thetas will be the same for a given setup.

Bob


Children are not defined by school ...........The Fonz
You cannot teach a man anything;  you can only help him find it within himself..........Galileo Galilei
Sometimes I deliberately make mistakes, just to test you!  …………….Bob smile

Offline

Board footer

Powered by FluxBB