代码搜索:Math
找到约 10,000 项符合「Math」的源代码
代码结果 10,000
www.eeworm.com/read/106729/15623957
java example4_2.java
import java.applet.*;
import java.awt.*;
public class Example4_2 extends Applet
{public static double f(double x)
{double y;
y=x*x*(x*x-4)+4;
//y=x*x*(x+4)-10;
return y;
}
public
www.eeworm.com/read/106670/15630807
c showceil.c
#include
#include
void main (void)
{
printf("The value %f ceil %f\n", 1.9, ceil(1.9));
printf("The value %f ceil %f\n", 2.1, ceil(2.1));
}
www.eeworm.com/read/106670/15630808
c sqrt.c
#include
#include
void main(void)
{
double value;
for (value = 0.0; value < 10.0; value += 0.1)
printf("Value %f sqrt %f\n", value, sqrt(value));
}
www.eeworm.com/read/106670/15630810
c showcosh.c
#include
#include
void main (void)
{
double radians;
for (radians = -0.5; radians
www.eeworm.com/read/106670/15630811
c show_exp.c
#include
#include
void main (void)
{
double value;
for (value = 0.0; value
www.eeworm.com/read/106670/15630813
c show_tan.c
#include
#include
void main(void)
{
double pi = 3.14159265;
printf("Tangent of pi is %f\n", tan(pi));
printf("Tangent of pi/4 is %f\n", tan(pi / 4.0));
}
www.eeworm.com/read/106670/15630817
c showatan.c
#include
#include
void main (void)
{
double radians;
for (radians = -0.5; radians
www.eeworm.com/read/106670/15630820
c show_sin.c
#include
#include
void main(void)
{
double radians;
for (radians = 0.0; radians < 3.1; radians += 0.1)
printf("Sine of %f is %f\n", radians, sin(radians));
}
www.eeworm.com/read/106670/15630821
c showasin.c
#include
#include
void main (void)
{
double radians;
for (radians = -0.5; radians
www.eeworm.com/read/106670/15630822
c showacos.c
#include
#include
void main (void)
{
double radians;
for (radians = -0.5; radians