Hello frind>>

I need solve this equation >> Chebyshev differential equation

in c++ >>Let us solve togather>>>

first the equation is :
http://upload.wikimedia.org/math/c/a/e/cae214684f8d6fcaa89fbbe1a195524b.png

let start with someone >>

Thankyou

I solved but is it true?

#include <iostream>
#include "chebyshev.h"

using namespace std ;
using namespace Chebyshev ;

int main()
{
  double tn ;

  cout.precision(5) ;
  for (unsigned int n = 0 ; n <= 5 ; n++)
  {
    for (double x = -1.0 ; x <= 1.0 ; x = x + 0.1)
    { 
      tn = Tn(n, x) ;
      cout << "T" << n << "(" << x << ") = " << tn << endl ;
    }
    cout << endl ;
  }

  return 0 ;
}

up

Is the program right?

I don't know if its right. But I would suggest to apply the euler method, or better
yet, the RK4 method. Google it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.