|
al=(a.real*b.real+a.image*b.image)/c;
d.image=(a.image*b.real-a.real*b.image)/c;
return d;
}
Complex Cplus(Complex a, Complex b)
{
Complex c;
c.real=a.real+b.real;
c.image=a.image+b.image;
return c;
}
Complex Cminus(Complex a, Complex b)
{
Complex c;
c.real=a.real-b.real;
c.image=a.image-b.image;
re
|
- 페이지 5페이지
- 가격 1,000원
- 등록일 2006.06.01
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
수치해석 방법
2.2.1 Solution of Equation(Secand, False position, Newton)
...............................................................................
2.2.2 Interpolation(Lagrange, Hermite, Spline Interpolation)
..................................................................................
|
- 페이지 19페이지
- 가격 2,000원
- 등록일 2006.12.14
- 파일종류 한글(hwp)
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|
|
at %f\\n\",p2);
while(absol(p2-p1)>=TOL)
{
p1 = p2;
p2 = p1 - f(p1)/fp(p1);
n++;
printf(\"n= %d Pn= %f f(Pn)= %f \\n\",n,p2,f(p2));
}
printf(\"Solution is %f\\n\\n\",p2);
return 0;
}
(2)Result
HW#7
2.4-9
(1) Source code
/*
I sketched the graph of f(x)=x^2 -3 and I concluded that
I will start th
|
- 페이지 10페이지
- 가격 800원
- 등록일 2006.06.01
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
method at p0=-3 , p1=-2
for the value of x with x^3 + 3x^2 - 1 = 0
*/
#include<stdio.h>
#include<math.h>
#define TOL 0.0001
float f(float x);
float absol(float x);
main()
{
int n;
float p0, p1, p2;
n = 1;
p0 = -3;
p1 = -2;
p2 = 0;
while(absol(p1-p0)>=TOL)
{
p2 = p1 - f(p1)*(p1-p0)/(f
|
- 페이지 11페이지
- 가격 600원
- 등록일 2006.06.01
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
ue of x with x= sqrt(3)
*/
#include<stdio.h>
#include<math.h>
#define TOL 0.0001
int sgn(float x);
float f(float x);
float absol(float x);
main()
{
float a, b, p1, p2;
a = p1 = 1;
b = p2 = 2;
while(absol(p2-p1)>=TOL)
{
p1 = p2;
p2 = (a+b)/2;
if(sgn(f(a))*sgn(f(p2))<0)
{
a = a;
b =
|
- 페이지 4페이지
- 가격 500원
- 등록일 2006.06.01
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|