473,396 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

computer program

plz people help me in writing theses programs

Write a computer program (in C or C++) that computes langrange
interpolation polynomials for the function f(x) = Cos(x) at 10 equally
spaced points of the interval [0,2].

Write a computer program (in C or C++) that reads n coefficients of
each of the n linear equations and solves these equations, using gauss
Elimination method and prints appropriate solution

Nov 2 '06 #1
9 1595
"anuj" <an*********@gmail.comwrote:
plz people help me in writing theses programs
plz st00dents do yr own homework L0L!!!11!

Richard
Nov 2 '06 #2

anuj wrote:
plz people help me in writing theses programs
You've phrased your request wrongly (apart from the obscenity of "plz"
and "theses").

What you meant was "please write these programs for me" - to which the
answer is "no". We don't offer a "do your homework for free" service.

If you do some work, make an attempt and post what you've written
together with a description of the problems you've encountered, we'll
help.

Nov 2 '06 #3
"anuj" wrote:
Write a computer program (in C or C++) that computes langrange
interpolation polynomials for the function f(x) = Cos(x) at 10 equally
spaced points of the interval [0,2].

Write a computer program (in C or C++) that reads n coefficients of
each of the n linear equations and solves these equations, using gauss
Elimination method and prints appropriate solution
Could you, given enough time, do this with pencil and paper and a scientific
calculator? If not, this is a math question, not a computer programming
question. Wikipedia is often a good starting point for questions such as
this.

Did you mean LaGrange? Spelling is important when dealing with computers,
they are very unforgiving. There are tons of hits on <lagrange
interpolationon Google.
Nov 2 '06 #4

anuj wrote:
plz people help me in writing theses programs

Write a computer program (in C or C++) that computes langrange
interpolation polynomials for the function f(x) = Cos(x) at 10 equally
spaced points of the interval [0,2].
Def:
http://mathworld.wolfram.com/Lagrang...olynomial.html

Do it this way:
http://mathworld.wolfram.com/NevillesAlgorithm.html
Write a computer program (in C or C++) that reads n coefficients of
each of the n linear equations and solves these equations, using gauss
Elimination method and prints appropriate solution
http://mathworld.wolfram.com/GaussianElimination.html
The first exercise is trivial, and the second one is harder.

Once you have some code, show it to us and we will offer handy
suggestions.

Nov 2 '06 #5
On Thu, 02 Nov 2006 11:02:47 +0000, Richard Bos wrote:
"anuj" <an*********@gmail.comwrote:
>plz people help me in writing theses programs

plz st00dents do yr own homework L0L!!!11!

Richard
OMG .. OH NOOES!! WHAT EVER SHALL WE DOES NOW?! I NEED THIZ EDJUCÆISHÅN
FĂ…R MAI FUTURE EMPLĂ…YMENT! PLZ GIVEZ IT TO ME -- PLEEEZ!

--
Lars Rune Nøstdal
http://lars.nostdal.org/

Nov 2 '06 #6
Lars Rune N?stdal <la*********@gmail.comwrote:
OMG .. OH NOOES!! WHAT EVER SHALL WE DOES NOW?! I NEED THIZ EDJUC?ISH?N
F?R MAI FUTURE EMPL?YMENT! PLZ GIVEZ IT TO ME -- PLEEEZ!
S1f, f00! Mai d3gr33 R teh pr3ciousssss!!

(It's rather nice that programming is somewhat more difficult to cheat
at than, say, English. All those free essay sites should be
imprisoned for contributing to the delinquency of minors.)

--
C. Benson Manica | I *should* know what I'm talking about - if I
cbmanica(at)gmail.com | don't, I need to know. Flames welcome.
Nov 2 '06 #7

Christopher Benson-Manica wrote:
Lars Rune N?stdal <la*********@gmail.comwrote:
OMG .. OH NOOES!! WHAT EVER SHALL WE DOES NOW?! I NEED THIZ EDJUC?ISH?N
F?R MAI FUTURE EMPL?YMENT! PLZ GIVEZ IT TO ME -- PLEEEZ!

S1f, f00! Mai d3gr33 R teh pr3ciousssss!!

(It's rather nice that programming is somewhat more difficult to cheat
at than, say, English. All those free essay sites should be
imprisoned for contributing to the delinquency of minors.)
A google search will turn up source code for both of his assignments
(and a few thousand hits each at least).
--
C. Benson Manica | I *should* know what I'm talking about - if I
cbmanica(at)gmail.com | don't, I need to know. Flames welcome.
Nov 2 '06 #8
dc*****@connx.com wrote:
A google search will turn up source code for both of his assignments
(and a few thousand hits each at least).
But it does require a bit of understanding to pick a program that
actually solves the problem; picking an essay that is at least *about*
King Lear is not too difficult.

--
C. Benson Manica | I *should* know what I'm talking about - if I
cbmanica(at)gmail.com | don't, I need to know. Flames welcome.
Nov 2 '06 #9

Christopher Benson-Manica wrote:
dc*****@connx.com wrote:
A google search will turn up source code for both of his assignments
(and a few thousand hits each at least).

But it does require a bit of understanding to pick a program that
actually solves the problem; picking an essay that is at least *about*
King Lear is not too difficult.
Back in the day, we would trudge on down to the Academic Computer
Center and crack open TAOCP (Knuth) volume <1/2/3as needed, and
translate his algorithm from MIX into whatever we need, put in a
citation and turn it in. {I even wrote my own MIX emulator so that I
could be sure I had it right.} One has to wonder deeply if there has
ever been a computer science problem posed that has not already been
solved by Knuth back in the 1970's.

Which goes to show -- when you tell where you found it, it's research.
When you just snag it and turn it in, it's plagiarism.
;-)
--
C. Benson Manica | I *should* know what I'm talking about - if I
cbmanica(at)gmail.com | don't, I need to know. Flames welcome.
Nov 3 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
by: Anon Email | last post by:
Hi everyone, Let's see, now. This question is about the capabilities of ANSI C++. I want to write and compile code in ANSI C++ that, when compiled, will make the computer speaker beep; or, at...
11
by: bart | last post by:
Hello, I'm so sorry, but i don't understand the concept of the .net environment yet. I made a simple program that retrieves the hostname and ipaddress of the local computer. But when i give...
9
by: John | last post by:
Tried this on microsoft.public.access.gettingstarted - no response - perhaps more appropriate here. I'm not a database user, simply helping someone get started with a new computer. The old...
2
by: subsanta | last post by:
My computer has so many problems and ive looked around on the internet and ive managed to fix some of them. I know that i have a few viruses on my computer, but i cant get rid of them, in one case i...
4
by: driplet | last post by:
Hi there: I made a very samll windows application program in C++. I found my computer becomes very slow after this program loaded. I checked windows task manager and found this small program takes...
2
by: Steve | last post by:
Hi All I have several POS programs (Windows forms VS 2005) Some customers have multiple copies of the programs, all networked to the 1 SQL Server 2005 Database which resides on 1 of the...
0
by: Winder | last post by:
Computer Data Recovery Help 24/7 Data recovering tools and services is our focus. We will recover your data in a cost effective and efficient manner. We recover all operating systems and media....
4
by: =?Utf-8?B?Qm9iQWNoZ2lsbA==?= | last post by:
Hi, I am using Visual Studio 2003. After moving my project to a new development computer my project compiles and works on the new development computer but the program will not work when I...
0
by: jdrott1 | last post by:
our business uses modem connections to transmit data back and forth. it uses a third party program to collect all the information. some times this third party application on the remote computer...
2
by: brett | last post by:
ok, it appears that i have run into a spot that i am not able to figure out on my own. Let me first say that i have hobbled together this SUB from things i found on the internet and tutorials....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.