No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
can anyone please tell me a way to calculate any given factorial number using trees. |
|
if i want to print 2 to the power 3 normally what we do is 2^3. is there any other way that i can print it in the console in the way that we normally write it on a paper. does anyone know it pls tell me. |
|
i have to do a java program to perform polynomial operations. i can manage those operations part. but i have a problem when storing the terms of the polynomial in to a linked list. for example when it is given polynomial("4 2 5 3 6 0"); // 4x^2+5x^3+6 may be … |
|
below is a method describes polynomial multiplication. all the insertTail() and insertFirst() are in the normal format of linked lists. can anyone please show me why it doesnt give me the right multiplication. [CODE] public static void mulpolynomial(String poly1, String poly2) { String[] pp1 = poly1.split(" "); String[] pp2 = … |