Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #168 > unrolled thread

calculate the gradient using C program

Started byTumelo <tumelogift@gmail.com>
First post2011-04-01 04:56 -0700
Last post2011-04-07 11:25 -0700
Articles 4 — 4 participants

Back to article view | Back to comp.programming


Contents

  calculate the gradient using C program Tumelo <tumelogift@gmail.com> - 2011-04-01 04:56 -0700
    Re: calculate the gradient using C program Rui Maciel <rui.maciel@gmail.com> - 2011-04-01 18:12 +0100
      Re: calculate the gradient using C program "Pascal J. Bourguignon" <pjb@informatimago.com> - 2011-04-01 20:17 +0200
    Re: calculate the gradient using C program Dann Corbit <dcorbit@connx.com> - 2011-04-07 11:25 -0700

#168 — calculate the gradient using C program

FromTumelo <tumelogift@gmail.com>
Date2011-04-01 04:56 -0700
Subjectcalculate the gradient using C program
Message-ID<abc00cc7-199b-4998-95d6-d587906a81fb@a26g2000vbo.googlegroups.com>
whoever knows how to calculate the gradient of an unknown function
with the change in X equal 0.01 and some Y values given please help in
C programming.
you must use loop for the program to repeat to the nth term

[toc] | [next] | [standalone]


#169

FromRui Maciel <rui.maciel@gmail.com>
Date2011-04-01 18:12 +0100
Message-ID<4d96078f$0$8591$a729d347@news.telepac.pt>
In reply to#168
Tumelo wrote:

> whoever knows how to calculate the gradient of an unknown function
> with the change in X equal 0.01 and some Y values given please help in
> C programming.
> you must use loop for the program to repeat to the nth term

Let me guess: homework?


Rui Maciel

[toc] | [prev] | [next] | [standalone]


#170

From"Pascal J. Bourguignon" <pjb@informatimago.com>
Date2011-04-01 20:17 +0200
Message-ID<87aag94z1a.fsf@kuiper.lan.informatimago.com>
In reply to#169
Rui Maciel <rui.maciel@gmail.com> writes:

> Tumelo wrote:
>
>> whoever knows how to calculate the gradient of an unknown function
>> with the change in X equal 0.01 and some Y values given please help in
>> C programming.
>> you must use loop for the program to repeat to the nth term
>
> Let me guess: homework?

Yes.  And I bet it wasn't even homework about C programming or math, but
about Internet usage.  Tumelo got the wrong answer (usenet).  The right
answer was google (or another search service).


-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
A bad day in () is better than a good day in {}.

[toc] | [prev] | [next] | [standalone]


#186

FromDann Corbit <dcorbit@connx.com>
Date2011-04-07 11:25 -0700
Message-ID<MPG.2807a178c56fd9a0989775@news.eternal-september.org>
In reply to#168
In article <abc00cc7-199b-4998-95d6-
d587906a81fb@a26g2000vbo.googlegroups.com>, tumelogift@gmail.com says...
> 
> whoever knows how to calculate the gradient of an unknown function
> with the change in X equal 0.01 and some Y values given please help in
> C programming.

I know how.

> you must use loop for the program to repeat to the nth term

No, I can do it any way that I like, and using any language that I 
choose.

If *you* want to accomplish this, the first thing to do is to understand 
what a gradient is:
http://en.wikipedia.org/wiki/Gradient

Having a clear definition in mind will assist you in your task.

Now, having understood what a gradient is, write some code that you 
think will accomplish the task and post it here.  Others will then offer 
helpful suggestions to get you moving in the right direction.

Nobody in their right mind is simply going to write the code for you.

HTH

[toc] | [prev] | [standalone]


Back to top | Article view | comp.programming


csiph-web