[Show all top banners]

alpha
Replies to this thread:

More by alpha
What people are reading
Subscribers
:: Subscribe
Back to: Computer/IT Refresh page to view new replies
 C-program experts! PLZ help
[VIEWED 5758 TIMES]
SAVE! for ease of future access.
Posted on 09-29-09 2:54 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Hey guys I need to have the solutions of some questions related to C-Program.
I would be very very grateful to you guys, if you could kindly post the solutions for those questions. Thanks in advance!



Q.1 Write
a program to read in an NxN matrix and square it according the formula

       Sij = Σ(k=1 to N) Aik Akj.
Where A is the original matrix



 



Q.2  Write a program to read in starting values A,
X1, Y1 and perform the following     iteration:



 
      X i+1
= Y i 2 - X i



 
      Y i+1
= X i  -A
                 N times (N read in)



       Then output the
answer X N+1 ,Y N+1 . Don’t use Dimensioned variables.



 



Q.3  Write a program to input two vectors of
arbitrary length N ( the same for both     vectors),

      ai and bi and calculate the dot product
defined as  Σ(i=1
to N)
ai bi  and output
the result.



 



Q.4 Write a
program to perform;  Integration( 0 to 1) e-x^2 dx  using rectangles, i.e. break  up the  region into N+1 intervals, each of
width 1/N, and multiply the width by the values of e-x^2  at the start and end of the interval and
divide by 2 ; Then sum this over all intervals. Leave N variable.



 





 
Posted on 09-29-09 3:33 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

This looks like all your homework.
Have you tried any?
You should try it to get the concept otherwise you will regret in future...

 
Posted on 10-17-09 9:01 AM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

I could help you out with your homework but as I am cash strapped I would need some cash.

But I think that you would have done your homework already by now. If you haven't, just let me know.

Regards,
GarbageGigo

 
Posted on 11-18-09 11:20 AM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

haha, this looks funny..... posting whole homework problems on a forum....

 


Please Log in! to be able to reply! If you don't have a login, please register here.

YOU CAN ALSO



IN ORDER TO POST!




Within last 60 days
Recommended Popular Threads Controvertial Threads
TPS Re-registration case still pending ..
मन भित्र को पत्रै पत्र!
TPS Work Permit/How long your took?
काेराेना सङ्क्रमणबाट बच्न Immunity बढाउन के के खाने ?How to increase immunity against COVID - 19?
Guess how many vaccines a one year old baby is given
अमेरिकामा बस्ने प्राय जस्तो नेपालीहरु सबै मध्यम बर्गीय अथवा माथि (higher than middle class)
चितवनको होस्टलमा १३ वर्षीया शालिन पोखरेल झुण्डिएको अवस्था - बलात्कार पछि हत्याको शंका - होस्टेलहरु असुरक्षित
They are openly permitting undocumented immigrants to participate in federal elections in Arizona now.
Driver license help ASAP sathiharu
Travelling to Nepal - TPS AP- PASSPORT
ढ्याउ गर्दा दसैँको खसी गनाउच
TPS Reregistration and EAD Approval Timeline.......
nrn citizenship
Morning dharahara
Another Song Playing In My Mind
जाडो, बा र म……
1974 AD Pinjadako Suga Remixed
Susta Susta Degree Maile REMIXED version
Elderly parents travelling to US (any suggestions besides Special Assistance)?
कल्लाई मुर्ख भन्या ?
NOTE: The opinions here represent the opinions of the individual posters, and not of Sajha.com. It is not possible for sajha.com to monitor all the postings, since sajha.com merely seeks to provide a cyber location for discussing ideas and concerns related to Nepal and the Nepalis. Please send an email to admin@sajha.com using a valid email address if you want any posting to be considered for deletion. Your request will be handled on a one to one basis. Sajha.com is a service please don't abuse it. - Thanks.

Sajha.com Privacy Policy

Like us in Facebook!

↑ Back to Top
free counters