[algogeeks] Re: Programming Question
Thank u very much. On Nov 17, 11:21 pm, "icy`" wrote: > I dont know Pascal too well, but to me it looks like nested "if" > statements. > > If x>y , all the rest of it happens > > Since x is not greater than y, nothing happens. So x and y should > remain the same (10,20) > > On Nov 17, 6:09 am, Vijay Khandar wrote: > > > > > > > In the following Pascal Program segment what is the value of X after > > the execution of the program segment? > > > X:=10; Y:=20; > > If X>Y,then if X<0 then X:=abs(X) else X:=2*X; > > > Plz anyone explain -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
[algogeeks] Re: Programming Question
I dont know Pascal too well, but to me it looks like nested "if" statements. If x>y , all the rest of it happens Since x is not greater than y, nothing happens. So x and y should remain the same (10,20) On Nov 17, 6:09 am, Vijay Khandar wrote: > In the following Pascal Program segment what is the value of X after > the execution of the program segment? > > X:=10; Y:=20; > If X>Y,then if X<0 then X:=abs(X) else X:=2*X; > > Plz anyone explain -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
Re: [algogeeks] Re: ????programming question
> > 3.web crawler. > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
Re: [algogeeks] Re: ????programming question
h can ny suggest me some link for 1. compiler contruction 2. Web OS construction nd suggest some good final year projects.. -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
[algogeeks] Re: ????programming question
@Yogesh: See http://en.wikipedia.org/wiki/Determinant#Calculation, any book on numerical linear algebra, or almost any book on numerical analysis. Dave On Aug 21, 3:21 pm, Yogesh Bhati wrote: > Thanx... > read it sumwhere nd was trying it .bt couldnt find it for n>3 > will try again. -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
Re: [algogeeks] Re: ????programming question
Thanx... read it sumwhere nd was trying it .bt couldnt find it for n>3 will try again. -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
[algogeeks] Re: ????programming question
@Yogesh: There are very few practical uses for matrix determinants. Why do you want to compute one? That asked, if n exceeds 3, the accepted method is to use Gaussian Elimination with partial pivoting, and then calculate the product of the diagonal elements. Negate the result if the number of interchanges in the pivoting was odd. If n is very large, you also have to protect against the product of the diagonal elements exceeding the dynamic range of numbers in your computer. The standard way of doing that is to return the determinant in scientific notation, i.e., a number between -10 and -1 or between 1 and 10 and an integer power of 10. E.g., if the determinant is 1.65E4011, the number 1.65 and the number 4011 are returned, since 1.65E4011 exceeds the dynamic range of doubles. An alternative to Gaussian Elimination with partial pivoting is the QR factorization. Dave On Aug 21, 2:39 pm, Yogesh Bhati wrote: > how to find determinant of a matrix of order n x n. -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.