代码搜索:Disc
找到约 1,656 项符合「Disc」的源代码
代码结果 1,656
www.eeworm.com/read/281399/9158341
cpp tra2.cpp
#include
#include
#include
int main(void)
{
cout.setf(ios::fixed,ios::floatfield);
cout.precision(3);
double a,b,c;
double X1,X2;
double disc;
www.eeworm.com/read/281348/9161337
cpp 解二維方程式.cpp
#include
#include
#include
int main(void)
{
cout.setf(ios::fixed,ios::floatfield);
cout.precision(3);
double a,b,c;
double X1,X2;
double disc;
www.eeworm.com/read/380126/9161461
c cdrwtool.c
/*
* cdrwtool - perform all sort of actions on a CD-R, CD-RW, and DVD-R drive.
*
* Copyright (c) 1999,2000 Jens Axboe
* Copyright (c) 2002 Ben Fennema
www.eeworm.com/read/380126/9161629
c main.c
/*
* main.c
*
* Copyright (c) 2001-2002 Ben Fennema
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under
www.eeworm.com/read/360311/10103382
cpp xt14-1.cpp
#include
#include
using namespace std;
double q(double,double,double);
void main()
{double a,b,c,p,x1,x2;
couta>>b>>c;
p=-b/(2*a);
try
www.eeworm.com/read/163322/10166464
m c6l3.m
ORDER=3;
T=0.;
S=0.;
H=.001;
TS=.1;
TF=10.;
PHIS=0.;
XJ=1.;
F=[0 1 0;0 0 1;0 0 0];
Q=[0 0 0;0 0 0;0 0 PHIS];
P=[100 0 0;0 100 0;0 0 100];
HMAT=[1 0 0];
HT=HMAT';
SIGN2=1.^2;
PHIN=SIGN2*T
www.eeworm.com/read/163322/10166466
m c6l2.m
ORDER=2;
T=0.;
S=0.;
H=.001;
TS=.1;
TF=10.;
PHIS=0.;
XJ=1.;
F=[0 1;0 0];
P=[100 0;0 100];
Q=[0 0;0 PHIS];
HMAT=[1 0];
HT=HMAT';
SIGN2=1.^2;
PHIN=SIGN2*TS;
count=0;
while T
www.eeworm.com/read/279909/10377973
txt 例4.12.txt
例4.12求ax2+bx+c=0方程的根。a,b,c由键盘输入,设b2-4ac>0。
众所周知,一元二次方程式的根为
x1=-b+b2-4ac2ax2=-b-b2-4ac2a
可以将上面的分式分为两项:
p=-b2a ,q=b2-4ac2a
x1=p+q, x2=p-q
据此编写程序如下:
#include
main();
www.eeworm.com/read/274718/10856376
cpp 11_7.cpp
#include < iostream >
#include < cmath >
using namespace std;
int main( )
{ float a, b, c, disc;
cout >a >>b >>c;
if (a ==0) cerr