please solve the programme
Develop a java program to find the roots of a quadratic equation ax2+bx+c=0, with the following specification :-
Class name :- Quad
Data members float a,b,c,d, with a,b,c are the co-efficient & d is the discriminant, x & x2 are the roots of the equation
Member methods ? Quad (int x, int y, int z) to initialize a=x, b=y, c=z & d=0.
Void calw ( )- to find d = b2 ? 4ac
If d>0, then print ? root not possible;? otherwise, find & print x1 = (-b+?d)/2a
& x2 = (-b-?d)/2a
View Answers
Ads
Related Tutorials/Questions & Answers:
please solve the programme
please solve the programme Develop a java program to find the roots of a quadratic equation ax2+bx+c=0, with the following specification :-
Class name :- Quad
Data members float a,b,c,d, with a,b,c are the co-efficient
please solve this program
please solve this program Build a package
EMPPACK that contains one stored function Validatesal() and two stored
procedures Insertemp() and Getempdetails().The Insert_emp() procedure
inserts a particular employee
Advertisements
Please Help To Solve My Problem
Please Help To
Solve My Problem PHP
I Have 6 Textbox and 1 ok button.
6 Textbox to Add the 6 Team Name.
Each Team Name In String(Like- A,B,C,D,E,F... With B Team
when A Team Play With B Team Again Then Generate Error.
I Am
Solve
ajax code please help to solve this........
ajax code
please help to
solve this. in this i am trying to get data from datbase and put it in combo box and then display it down using table... null;
}
please help me
when i am running this it show an error
programme
programme Using an ATM, customer can access their bank accounts in order to credit/debit cash and check their account balances.You have to write c
programme to implement a simple ATM for 15 customers. Initially you have to store
please help me to solve this question about array
please help me to
solve this question about array write a program...() > 1)
System.out.println("It is not character.
Please enter...();
if (brr.length() > 1)
System.out.println("It is not character.
Please
java programme
java
programme 1.....
programme for reading 10 values for 10 variables using scanner class
2....declares all types of primitive data inside main method
Solve it
Solve it How to calculate the value which contains oparator and operand both using command line argument
solve this
solve this
Create a student class. The student object should have studentid, studentname, subject and marks as properties. Also generate the getter and setter methods. Create 5 objects of this class and populate values
java programme
java
programme i have to write a java programe that calculates the average of 10 students in Test 1 ,Test 2 and Test 3....Values of the marks in all the test for a student should be hardcore.Ialso have to tell the maixmum
menu driven programme
menu driven
programme calculate the area of circle, square, rectangle in menu driven
programme in java
how to solve
how to
solve log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
log4j:WARN
Please initialize the log4j system properly
data and analytics graduate programme
data and analytics graduate programme Hi,
I am beginner in Data Science and machine learning field. I am searching for
the tutorials to learn:
data and analytics graduate
programme
Try to provide me good examples
compiling programme IJVM
compiling
programme IJVM I TRY AND COMPILE THE
PROGRAMME BELOW BUT HAS ERROR APPEAR ALL THE TIME,,CAN ANYONE CORRECT THE CODE AND WRITE UP THE NEXT METHOD FOR POWER IN THE PROGRAME AS WELL...URGENT
// Program to read two single
solve this pbm
solve this pbm its not working the code for databae access using servlets
solve this pbm
solve this pbm sir rows are also inserting i have checked in the database also the rows are not affected in the table .
The first pbm wich i have sent to you is not yet solved..........
pls give me detail explaination how we
solve this problem
solve this problem I typed this program and compiled.The program is compiled but when i eneterd url in tomcat server. Its not giving error but only... in table
please tell me the solution for thid problem
import java.io.*;
import
how to solve this..
how to
solve this.. Given a list of students and their marks
Name | Science | Math | English | Computer
Ahmad | 28 | 100 | 66 | 34
Samad | 56 | 89 | 55
how to solve this..
how to
solve this.. Given a list of students and their marks
Name | Science | Math | English | Computer
Ahmad | 28 | 100 | 66 | 34
Samad | 56 | 89 | 55
java please please help
java
please please help Dear Friends plz help me to complete this program
import java.util.*;
public class StringDemo {
static String a="{a=100;b=200;c=300}";
public static void main(String args
ModuleNotFoundError: No module named 'solve'
ModuleNotFoundError: No module named '
solve' Hi,
My Python program is throwing following error:
ModuleNotFoundError: No module named '
solve'
How to remove the ModuleNotFoundError: No module named '
solve'