代码搜索:Disc
找到约 1,656 项符合「Disc」的源代码
代码结果 1,656
www.eeworm.com/read/452964/7428642
txt 例13.1.txt
例13.1 有一元二次方程ax2+bx+c=0,其一般解为
x1,2=-b±b2-4ac[]2a,但若a=0,或b2-4ac
www.eeworm.com/read/452713/7434642
cpp c13-1.cpp
#include
#include
using namespace std;
int main()
{float a,b,c,disc;
couta>>b>>c;
if (a==0)
cerr
www.eeworm.com/read/450546/7482246
cpp c13-1.cpp
#include
#include
using namespace std;
int main()
{float a,b,c,disc;
couta>>b>>c;
if (a==0)
cerr
www.eeworm.com/read/443686/7628607
cpp speciallist.cpp
//: C05:SpecialList.cpp
// From Thinking in C++, 2nd Edition
// Available at http://www.BruceEckel.com
// (c) Bruce Eckel 2000
// Copyright notice in Copyright.txt
// Using the second version of
www.eeworm.com/read/197606/7984565
asm quad.asm
;
; file: quad.asm
; function quadratic
; finds solutions to the quadratic equation:
; a*x^2 + b*x + c = 0
; C prototype:
; int quadratic( double a, double b, double c,
;
www.eeworm.com/read/398147/8002110
asm quad.asm
;
; file: quad.asm
; function quadratic
; finds solutions to the quadratic equation:
; a*x^2 + b*x + c = 0
; C prototype:
; int quadratic( double a, double b, double c,
;
www.eeworm.com/read/195683/8135759
c al4_6.c
/*案例代码文件名:AL4_6.C。*/
/*功能:求一元二次方程的解。*/
#include "math.h"
main()
{ float a,b,c,disc,x1,x2,p,q;
scanf("%f,%f,%f", &a, &b, &c); /*输入一元二次方程的系数a,b,c*/
disc=b*b-4*a*c;
if (fabs(disc)
www.eeworm.com/read/195683/8135840
c al3_11.c
/*案例代码文件名:AL3_11.C。*/
/*功能:设计一个顺序结构程序,求方程的根。*/
#include "math.h" /*为使用求平方根函数sqrt(),包含math.h头文件 */
main()
{float a,b,c,disc,x1,x2;
printf("Input a, b, c: ");
scanf("%f,%f,%f",&a,&b,&c);
www.eeworm.com/read/145379/12731222
htm leftbeh.htm
/*
* Storing this varible on the navigator object makes it truely global on NN4,
* but is no help on NN3, so we need the page global variable in NN3 which i