代码搜索:Math
找到约 10,000 项符合「Math」的源代码
代码结果 10,000
www.eeworm.com/read/367177/9767960
java bignumber.java
import java.util.Scanner;
import java.math.*;
public class BigNumber {
/**
* @param args
*/
public static void main(String[] args) {
// log10(n!) = log10(sqrt(2 * pi * n)) + n * log
www.eeworm.com/read/366989/9786230
js bevel.js
/**
* bevel.js 1.2 (04-Sep-2008)
* (c) by Christian Effenberger
* All Rights Reserved
* Source: bevel.netzgesta.de
* Distributed under Netzgestade Software License Agreement
* http://www.netzge
www.eeworm.com/read/366932/9791228
c 8remz0.c
#include "math.h"
#include "stdio.h"
#include "8remz.c"
main()
{ int i;
double a,b,eps,p[5];
double remzf(double);
a=-1.0; b=1.0; eps=1.0e-10;
remz(a,b,p,4,eps,remz
www.eeworm.com/read/366932/9791430
c 2powr.c
#include "math.h"
void powr(x,y,n,u,v)
int n;
double x,y,*u,*v;
{ double r,q;
q=atan2(y,x);
r=sqrt(x*x+y*y);
if (r+1.0!=1.0)
{ r=n*log(r); r=exp(r);}
*u=r*co
www.eeworm.com/read/366932/9791440
c 2ntrt.c
#include "math.h"
void ntrt(x,y,n,u,v)
int n;
double x,y,u[],v[];
{ int k;
double r,q,t;
if (n
www.eeworm.com/read/366932/9791442
c 2csin.c
#include "math.h"
void csin(x,y,u,v)
double x,y,*u,*v;
{ double p,q;
p=exp(y); q=exp(-y);
*u=sin(x)*(p+q)/2.0; *v=cos(x)*(p-q)/2.0;
return;
}
www.eeworm.com/read/366932/9791453
c 2ccos.c
#include "math.h"
void ccos(x,y,u,v)
double x,y,*u,*v;
{ double p,q;
p=exp(y); q=exp(-y);
*u=cos(x)*(p+q)/2.0; *v=-sin(x)*(p-q)/2.0;
return;
}
www.eeworm.com/read/366932/9791668
c 9simp.c
#include "math.h"
double simp(a,b,eps,f)
double a,b,eps,(*f)();
{ int n,k;
double h,t1,t2,s1,s2,ep,p,x;
n=1; h=b-a;
t1=h*((*f)(a)+(*f)(b))/2.0;
s1=t1;
ep=eps+1.0;
www.eeworm.com/read/366932/9791673
c 9lrgs0.c
#include "math.h"
#include "stdio.h"
#include "9lrgs.c"
main()
{ double a,b,eps,g,lrgsf(double);
a=2.5; b=8.4; eps=0.000001;
g=lrgs(a,b,eps,lrgsf);
printf("\n");
pr