473,539 Members | 9,412 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Algorithms / Advanced Math Forum

0
1,790
thread by: rajatkmitra | last post Jun 2 '10 by: rajatkmitra
Hi Folks, I am writing a simple parser to parse SPICE code ( Spice is a transistor level simulator ). The spice code looks like this - ======================== R10 2 3 0.5e-3 C11 4 6 0.2e-6 L13 4 4 0.1e-9 ========================= As you can see each line has 4 items - a character string followed by an integer then another integer and...
11
4,254
thread by: Tsuk | last post Jun 3 '10 by: Tsuk
I am making a tipover solver in C. I'm trying to solve it by creating a tree with all the possible paths and then process all the tree with a level search algorithm, looking for the shortest path. This implementation is pretty easy to do but takes more processing time than I was expecting. So now I'm thinking about do it with a variation of the...
2
3,590
thread by: satinderjeetkaur | last post Jun 7 '10 by: satinderjeetkaur
my question is: consider a discrete memoryless source with source probabilities{0.30,0.25,0.20,0.15,0.10}.find the source entropy,H(X)? please try to answer the question within 2-3 days.actually i am preparing for UGC NET(computer science) so i need help to solve my queries
0
2,036
thread by: satinderjeetkaur | last post Jun 7 '10 by: satinderjeetkaur
i want to have information on discrete memoryless channel.if some figure of channel is given to us.then how to find the capacity for that? some detailed information on discrete memoryless channel.and to find capacity of channel with given probabilities please answer the question as soon as possible its urgent.
5
2,555
thread by: kardon33 | last post Jun 21 '10 by: jkmyoung
Hello Bytes, For reference I'm running Linux Debian x86 but the problem is not related to an architecture. I have a networked system with multiple computers (say 20-50). On each computer there is a directory that needs to be consistent with all other nodes in the system. Each computer has the privileges to make changes to the directory and...
0
2,149
thread by: szewanng | last post Jun 28 '10 by: szewanng
Hi I tried to use the alglib Levenberg-Marquardt algorithm - Nonlinear least squares fitting: Hessian-based or Hessian-free and it works well. http://www.alglib.net/interpolation/leastsquares.php#header1 I need to solve a equation where it gives the best output value C which makes the slope close to 1. It does works however i need to put...
6
2,585
Avatar19
thread by: Avatar19 | last post Jul 7 '10 by: jkmyoung
Hi there, I am not really asking for help in terms of a programming solution but rather if anyone is able to explain the logic of this question to me cause i really cannot make sense of this!!!! Here it is: Introduction For reasons understood only by stock-brokers, one of the signs of a good stock trading strategy is to always buy a stock...
0
2,255
thread by: peridian | last post Jul 19 '10 by: peridian
Hi, I have an image of an equilateral triangle, where the base of the triangle meets the base of the image perfectly. The image itself is square. I need to be able to dynamically plot out points as an overlay on the image, as though plotting a ternary plot graph. Obviously, the image is a square that uses cartesian co-ordinates. If I...
0
6,863
johny10151981
thread by: johny10151981 | last post Jul 26 '10 by: johny10151981
Albert Einstein supposedly said that 98% of the people in the world couldn't solve this one: There are 5 houses sitting next to each other, each with a different color, occupied by 5 guys, each from a different country, and with a favorite drink, cigarette, and pet. Here are the facts: The British occupies the red house. The Swedish owns...
1
2,947
thread by: anne22 | last post Jul 29 '10 by: jkmyoung
i need the algorithm for file allocation methods..
0
2,002
jerone
thread by: jerone | last post Jul 30 '10 by: jerone
I'm having two almost the same images. Only one has an extra transparent blueish circle over a part of the image, and the original not. How do I get the RGBA or ARGB of this circle (thus not the RGB)? I guess the original image should be subtracted form the modified image and from the result I want the RGB + alpha. If code is required I...
3
7,420
thread by: Nguyen2010 | last post Aug 4 '10 by: jkmyoung
Hello All, I very need the code of the second shortest path or k-shortest paths that paths are separate(only same as source and destination) and find them almost parallel(not find the shortest path, remove it then find the second path...). Could you please send me soon. Thank you very much! Nguyen
0
1,977
thread by: mathi02 | last post Aug 10 '10 by: mathi02
hi there, i need to know how to merge over segmented cells that occur due to watershed transformation.can anybody help me with some functions that can do this in matlab or some code that can rectify this over segmentation problem.
1
2,850
thread by: abz89 | last post Aug 12 '10 by: abz89
hi for all byte's member :D just want to ask, recently i've tried many of programming language. And as my test application, i want to create a little program that simulating train traffic. i,e. train go from station A then station B. After that, the train have moving reverse, from B to A train@station A B...
1
6,080
thread by: ripal ruparelia | last post Aug 23 '10 by: Dormilich
how to solve x-e^-x=0 by newton raphson method
4
2,294
thread by: Shilpa Sethi | last post Sep 7 '10 by: jkmyoung
1. Factorial program using a. Iteration b. Recursion 2.for(int i = 0; i < 3; i++) { //linear for(int j = 0; j < 4; j ++){ // log (n) //do constant time stuff } } Will it be O(12) or something else?
3
2,969
thread by: joshuabraham | last post Oct 15 '10 by: Oralloy
Greetings everyone, Does anyone know the best or most commonly used polynomial that approximates the log function (base 2 ,base10..) apart from taylor series.thanks.
5
2,595
Airslash
thread by: Airslash | last post Oct 15 '10 by: Airslash
Hello, I'm currently stuggling with an algorithm for determing the delay between timer calls. Allow me to describe the problem first: A user is able to setup a batch command that will either run at a specified interval or only once at the specific point in time. Due the required flexibility, the user should only be required to set the...
1
3,965
thread by: slao | last post Dec 24 '10 by: Rabbit
I have a program that has dates stored in binary and displayed on the program as YY/MM/DD format. I use XVI32(http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm) to look at the binary file in Hexadecimal and got the following results For example, Hex value: 31 07 01 00 Date value: 85/06/18 (in YY/MM/DD format) Another...
1
2,213
thread by: McLeroy | last post Dec 28 '10 by: Rabbit
what is the name of the game which 2 players complete the squares on paper? i am interested in its algorithm but first i have to get some information about it.
3
2,694
thread by: Waqas Danish | last post Dec 29 '10 by: Rabbit
Hi, I am planning to use Nearest Neighbor algorithm for predicting the user behavior. Basically, I have a large number of reviews along with their star ratings(1-5). For a new user that registers with my system, I want to show him the best matched results when that new user searches for an item. For example, UserA and UserB have rated three...
8
4,776
thread by: vijaydshanker | last post Jan 29 '11 by: shyamendra
I am a student of Software Engineering. Today I asked this question to my teacher in class. But did not get any satisfactory answer Can any one please give me some insight why should i learn this topic in my graduations.
2
3,165
thread by: carma | last post Mar 28 '11 by: jkmyoung
Hello everyone,I am java programmer.I am developing several applications in Swings and other frameworks.I am good in OOPS and most of the Core Java concepts.Currently developing websites in JSP and PHP.But one day i was asked to write an algorithm for fibonacci numbers generation which took more than 10 minutes to write for me(and its wrong...
1
2,276
thread by: ogguhemasundar | last post Mar 28 '11 by: jkmyoung
HI frdz, can any one tel me to find out da complexity of a given algorithms. I dont know about notations. when im reading notations im not getting anything,totally confusing. Hope i can get help!
10
3,030
thread by: sorry | last post Apr 4 '11 by: jkmyoung
if I have while loop like this while(1>i/x) and i-- and x++ and initait value for x=10 and i=n my question is when I want to know value of x what i have to do . i want general idea to solve this Que x=10,i=n while (1>=i/x) {i=i-1; x=x+1} print x

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.