Weka - Data mining Tool W eka is a tool for big data and data mining. It is used to various classification, experiments, and analysis over large data sets. Installation Guide -weka You can download Weka from here and follow the normal installation procedure. After completion you will get following window, here you can begin your classification or experiment on different data sets with Weka.
4.Write a program to solve the quadratic equation ax ^ 2 + bx + c = 0, where x = (√-b + -b ^ 2-4ac) / 2a.
#include <stdio.h>
#include <conio.h>
#include <math.h>
void main ()
{
int a, b, c;
float x, y;
printf ("Enter the value of a, b & c =");
scanf ("% d% d% d", & a, & b, & c);
x = pow ((- b + b * b-4 * a * c), 0.5) / 2 * a;
y = pow ((- bb * b-4 * a * c), 0.5) / 2 * a;
printf ("value of x =% f", x);
printf ("value of y =% f", y);
getch ();
}
Comments
Post a Comment