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

You are not logged in. Post a replyTopic review (newest first)
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 finearts 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)
nitrofurano:
Math notation is all about concepts. There may or may not be an algorithm, or there could be lots of algorithms!
Here is an example from formulas i got from an ieee paper about using fractals for compressing pictures
That sounds correct, according to my memory of C.
In C, you can declare variable of various lengths, signed and unsigned numbers.
thanks! :)
Wow. It's been a really long time since I did any C programming, and I don't remember what Math functions are available. So, I'll give a couple simple examples in Java, which has similar syntax.
an example: standard deviation formula converted to algorithm Code:' standard deviation setdisplay(512,256,32,1):paper(0xFFFFFF):ink(0x000000):pen(0x000000):cls n=50 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{N1}}"):prints("") prints("getting random values..."):prints("") for i=1 to n x[i]=rnd(1000) next close #1 prints("running the formula..."):prints("") av_x=0 for i=1 to n av_x=av_x+x[i] next av_x=av_x/n sum=0 for i=1 to n sum=sum+(x[i]av_x)^2 next stp3=sum/(n1) d=sqr(stp3) prints("standard deviation: "+str$(d)):prints("") waitkey cls wend my main interest is being able to convert formulas like from here: http://www.google.com/search?q=ieee+papers+pdf&sourceid=mozillasearch&start=0&start=0 to algorithm
I don't use OpenOffice (though it sounds good!), so could you give some examples?
how can i write as code notation (like on programming languages like ansibasic, C, pascal, etc.) all the math notations we can get from OpenOffice's Math editor? these can be functions or algoritms 