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

You are not logged in.

#1 Re: Help Me ! » math notation to code notation » 2005-09-08 08:34:37

thanks!!! - btw, if possible,  the point is how can i get to know how can i convert these formulas into algorithms - the standard deviation i knew how to do it, but stuff like calculation integrals and all of these stuff i really don't know - my math notation knowledge got stuck in the middle of highschool, and i choosed fine-arts university, so, during a long time i don't know what is math notation, and that time i had no interest about math notation as i have now (i never thaught those would be helpful for me for picture processing)
Is any open documentation (like from dspace, wikipedia or whatever, or even bibliography) could help me on this task?  or even anyone(s) from this forum can explain how each situation is used in a code notation?
really thanks, for me and all people knows the importance of this help...

#2 Re: Help Me ! » math notation to code notation » 2005-09-06 09:17:47

Here is an example from formulas i got from an ieee paper about using fractals for compressing pictures
Ieee papers normally talk about algorithms, but only formulas like this are shown - for me who are not comfrotable with math notation is very complicated to try to understand it:

are all simple to translate to code notation?

#4 Re: Help Me ! » math notation to code notation » 2005-08-13 07:38:22

an example: standard deviation formula converted to algorithm

the formula is:
D=sqrt{sum from{i=1}to{N}(x_{i}-bar x)^{2}over{N-1}}

the algorithm in sdlBasic ( is

'- standard deviation
   dim x[n]
while 0=0
prints("Standard Deviation"):prints("")
prints("OpenOffice formula format:")
prints("D=sqrt{sum from{i=1}to{N}(x_{i}-bar x)^{2}over{N-1}}"):prints("")
prints("getting random values..."):prints("")
for i=1 to n
close #1
prints("running the formula..."):prints("")
for i=1 to n
for i=1 to n
prints("standard deviation: "+str$(d)):prints("")

my main interest is being able to convert formulas like from here: to algorithm

Board footer

Powered by FluxBB