:confused: HI, I need to create a program which tests whether within a range given by the user, there exists an extreme of quadratic function (y=ax2+bx+c). The parameters (a,b,c) of this function are given by the user. I just started it but I have a problem in completing it. This is how far I can go.
#include <stdio.h>
int x;
int y;
int a,b,c;
honeybleak 0 Newbie Poster
Recommended Answers
Jump to Post#include <stdio.h> int x; int y; int a,b,c; int main() { // put your code here return 0; }
Jump to PostNo, that's not what's being asked for. honeybleak, do you know how to do the calculation on paper?
Jump to PostThat link has nothing to do with finding the global extremum, which is located at -b/2a. (If a = 0 then there is no global extremum.)
Jump to PostI don't think it's a question of math, people just misinterpreted the problem (or had read the first misinterpretation of the problem). Why would I tell anybody what my avatar is?
All 13 Replies

iamthwee
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Cool Nanu 0 Newbie Poster
Rashakil Fol 978 Super Senior Demiposter Team Colleague
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Rashakil Fol 978 Super Senior Demiposter Team Colleague

iamthwee
Rashakil Fol 978 Super Senior Demiposter Team Colleague
soxers12 0 Newbie Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Cool Nanu 0 Newbie Poster

iamthwee
soxers12 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.