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.2Write a program to read in starting values A, X1, Y1 and perform the following iteration:
X i+1 = Y i2 - X i
Y i+1 = X i -AN 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 biand output the result.
Q.4 Write a program to perform; Integration( 0 to 1) e-x^2 dxusing 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.
Democrat wants to run election like in India. Chaos and Confusing to voters.
ए १ पनि पुगेनछ ?
नोबेल शान्ति पुरस्कार र अशान्त राष्ट्रपतिको बालहठ
200 denaturalization cases per month to the Department of Justice for the 2026 fiscal year.
ALERT: JUDGE RULED NEPAL TPS CAN CONTINUE
Breaking News: Ninth Circuit Rejects Government Bid to Undo Nepal TPS Order, Leaves Protections in Place
Funny when Nepalis talk about Epstein and injustice
मिरो प्रेडिक्शन जन्मेर एमेरिकामा आखा खो ल न पायेका नागरिकता बारे
नेपाली वालमार्ट चोर
H1B
When will Nepali women be equal?
मानसिक सन्तुलन, एक कहालीलाग्दो घटना सिक्नुपर्ने कुराहरु
Why Prachanda seems to be the smartest of them all?
When will the culture of impunity end?
बालेंन आए पछि आशाका किरण देखिन थालेका छन् !!
नेपाली ससुरोले वर्जीनियामाँ आफ़नो छोरी नाती र ज्वाईलाई खुकुरी प्रहार
बालेंन मेयर बाट प्रधान मन्त्रि हुने भो ?
Can we really get rid of Nepotism in the government?
Sukulgunda 2.0 / www.sukulgunda.com
आरको नेपालीले बेजत गर्यो फेरी अरविंग टेक्सासमा बुढ़ाहरू लाई स्कॉम गरेर
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.