自定义函数求一元二次方程 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<math.h>#include<iomanip>using namespace std;void f1(double…… 题解列表 2021年03月04日 0 点赞 0 评论 208 浏览 评分:0.0
1028-自定义函数求一元二次方程 语言:C++ 摘要:解题思路:注意事项:参考代码:#include#includeusing namespace std;void f1(int a,int b,int d) { int x1=(-b+sqrt(…… 题解列表 2022年10月05日 0 点赞 0 评论 250 浏览 评分:0.0
1028: [编程入门]自定义函数求一元二次方程 摘要:解题思路:注意事项:保留三位小数参考代码:#include <iostream> #include <cmath> #include <iomanip> using namespace std;…… 题解列表 2022年10月11日 0 点赞 0 评论 151 浏览 评分:0.0
自定义函数求一元二次方程 摘要: #include #include #include using namespace std; float a, b, c, d, x1, x2; …… 题解列表 2022年10月11日 0 点赞 0 评论 169 浏览 评分:0.0
[编程入门]自定义函数求一元二次方程 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;float delta_func(float a,float b,float c){…… 题解列表 2022年05月10日 0 点赞 0 评论 142 浏览 评分:0.0
简单方法求解自定义函数求一元二次方程 摘要:解题思路:要求解此题,需要知道以下几点:一、读懂题目意思,题目大意为:用户输入a,b,c; 程序执行完后输出x1,x2二、要得到x1,x2,需求出△值△=b^2-4*a*c三、△分为3种情况,每种情…… 题解列表 2024年01月18日 0 点赞 0 评论 261 浏览 评分:0.0
自定义函数求一元二次方程 摘要:解题思路:根据判别式(b^2-4ac)的结果分成三类讨论注意事项:这里判别式<0时存在共轭复数根,复根的求法为x1,2=(-b±i√(4ac-b2))/2a参考代码:#include<iostream…… 题解列表 2022年03月17日 0 点赞 0 评论 255 浏览 评分:0.0
编写题解 1028: [编程入门]自定义函数求一元二次方程--借鉴大佬的 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;float delta_func(float a,float b…… 题解列表 2022年03月09日 0 点赞 0 评论 217 浏览 评分:0.0
[编程入门]自定义函数求一元二次方程-题解(C++代码) 摘要:```cpp #include #include #include using namespace std; int main(){ int a,b,c; float x1,x2…… 题解列表 2020年05月20日 0 点赞 0 评论 566 浏览 评分:0.0
[编程入门]自定义函数求一元二次方程-题解(C++代码) 摘要:就是麻烦一点。。。 ------------ ```cpp #include using namespace std; int main() { double a,b,…… 题解列表 2020年04月15日 0 点赞 0 评论 414 浏览 评分:0.0