23 Topics
|
|
need a program to perform polynomial division with linked lists or arrays. i already tried multiplication,subtraction and addition but stucked in division can anyone help me out on this. |
|
Program Design |
|
Hello, I wrote a library for arbitrary precision arithmetic recently and spent a long time implementing efficient multiplication algorithms. Now I am looking to see if it is possible for me to optimize anywhere else. One place that I thought should be more optimizeable is my division algorithm. Right now … |
|
How to dynamically add div in asp web page ?ie, if mssql server returned n rows from a query, i must place all these n rows in seperate div which has to be created dynamically.!!pls help (d case is when displaying search results in a web page like shopping sites) |
|
Looking for a politcal map showing countries. Colors can be added to the countries and information is shown when a region is selected. Do you know if there are any possible ways to do this? I avoid using Flash or Java. |
|
How do I put the following output in a table format as shown below in the code? |
|
Hi folks. I have a strange thing happening here. I have a loop where counter gets incrememnted by 0.1 starting from 0 and up to 1. In each iterration I use the counter in an expression with modulo operator. I get incorrect result when the counter has values of 0.8 … |
|
Hello to everyone! This is my first post here, I hope you can help me. I'm making a class work in python and I'm a little lost: I have to use classes to represent monomials and polynomials, and the classes should contain methods to add, substract, multiply and divide them. … |
|
what I'm pretty sure I learned in school and what like every website said when I tried to look this up online was that the C++ code for generating a random number with floor: 1 and ceiling 100 (err I guess 101) is: [CODE]int number = rand() % 100 + … |
|
Hello! To get straight to the point, I can't seem to get division to work. I haven't been programming in Assembly long, and I've been trying to get this to work for a couple of days now with no success. Anyway, here's my code: [CODE=assembly] section .text global _main extern … |
|
Hi to all, I am new to this forum..If i did any thing wrong in this thread please correct me... Let me tell you something about my project .... I am working on ARM7-LPC2148 processor with Graphical LCD. Now i am making a calculator which should be like as our … |
|
Hello, I am trying to write a algoritm that calculates the second largest divisor of a number. But i have absolutely no idea what calculations are required for this. [CODE] for (ulong i = 1; i < Number; i++) { Number = .....? }[/CODE] Already know the largest common diviser … |
|
I have created class menu and class number. I would like that my functions in class do sum, subtract, multiply, and divide. I've done sum, but I have problems with other functions. When I do difference, it is actually sum my numbers, and result of multiplication and division is 0 … |
|
I am trying to divide a integer (2's complement) by a power of 2 and then round that number toward zero. I am only allowed to use bitwise operators such as shifts, ~ ^ & | etc. I've came up with 2 expression but they dont seem to work. Can … |
|
I am fairly new to programming but have been working on putting together a group of functions into one program. It is coming along nicely, but for some reason I can't get the loop on the divisibility function to work properly. When you prompt it to quit to return to … |
|
|
I am trying to edit my current homework assignment to include a loop that lets the user repeat the computation for new values until the user says they want to end the program. I was given a hint to use integer division and the % operator to implement this function. … |
in my code [B]Devide [/B]method is not working it gives an error "ExceptionHandling.Program.Devide(int, int)': not all code paths return a value" When i change public int Devide method in to void,the programe is workig , plz explain me what is the wrong with my code, im new to programming , … |
|
This function I did to improve calculator program by eliminating problems with Pythons problem of dividing integer with integer and giving integer division result. |
|
Hi, here is the thing, I'm trying to make my university grading table on C++, when i fill in the grades it should tell me what i have accumulate. the thing is that when i insert the text grades it shows a zero when i click the buttom. the math … |
|
Hello, I'm having a problem trying to trying to store a local variable in my asm program. I push 3 parameters: nbrElts (number of elements in the array), nbrArray (the address of the array), and result1 (the average). I'm trying to divide by the number of elements that I push … |
|
Hello, I am having a problem with divisions.. prob: 1st container div, in this div theres another division TOP whose position is relative.. in this div.. theres another div named searchbox .. and its top is 50px.. IE shows its 50px down from the TOP division but firefox places it … |
|
[CODE] ;==================Prompts=============== warning db "Invalid order. The dividend should be greater than the divisor",0 prompt1 db 0dh,0ah,"Please enter a dividend ",0 prompt2 db 0dh,0ah,"Please enter a divisor ",0 Display db 0dh,0ah,"Quotient: ",0 Display2 db 0dh,0ah,"Remainder: ",0 ;==================Variables============= dividend word ? ; Holds the dividend divisor word ? ; Holds the … |
|
Hello! I'm kind of new in assembly programming and I've been struggling with the following problem today: How to print an integer, using BIOS interrupt [B]10h[/B], with its [B]0Eh[/B] in AH register, as its function to print a character to the screen... For example, how to print the last digit … |
The End.