Homework Answers

Math 50414
Physics 44332
Chemistry 40988
Economics 30643
Programming & Computer Science 26876
Biology 8109
Engineering 6056

Questions answered by Experts: 207 418

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search

Convert the following



1. 1010101110 (Convert to Decimal, Hexadecimal, and Octal)


2. 719 (Convert to Hexadecimal, Octal, and Binary)


3. 634 (Convert to Hexadecimal, Binary, and Decimal)


4. 61E (Convert to Binary, Decimal, and Octal)

Find the dependency of vector (1,0,3),(0,1,2),(2,3,1),(4,1,0)

 Create a public interface Triangle, add the following method signatures:  

  • double area(): calculates and returns the area of a triangle. 
  • double perimeter(): calculates and returns the perimeter of a triangle.   

Create a public abstract class Isosceles that implements Triangle and implements following method: 

  • double perimeter(): calculates and returns the perimeter of a triangle 
  • add fields as private double longside, equalSide. Use getter() and setter() methods to access them.  

Create a public interface Right that extends Triangle, add one more method signature:  

  • double[] angles(): returns an array of measures of three interior angles.  

 

Create a public class RightIsosceles that extends Isosceles and implements interface Right:  

  • double area(): calculates and returns the area of a triangle.  
  • double[] angles(): returns an array of measures of three interior angles fields: longside, equalSide.  

Create the object of class RightIsosceles and print area, perimeter and angles of RightIsosceles triangle. 



Write a program to create a class CirclesWithException with the following information:  

radius in double with private access specifier.  

  • Use public methods setRadius() and getRadius() to access radius of the circle. setRadius() method throws an IllegalArgumentException if the argument radius is negative. 
  • Add a constructor to pass on radius of a Circle. Call setRadius() method to set the radius of circle inside the constructor. 
  • Use printRadius( ) to display the radius if object is created. 
  • Use printStackTrace() and getMessage() methods to obtain information from exception objects in corresponding catch block. 
  • Create three objects of class CirclesWithException with positive, negative and zero radius. 

Write a program that uses java.io.BufferReader to read the lines from the text file that is stored on disk. Handle the exceptions with following two ways: 

  1. Using try-catch-finally block 
  2. By throwing it up the call stack to the caller method. 

Write a function Lagrange_interp which implements Lagrange interpolation to find data at an intermediate data point. Note: The degree of the polynomial will not be known to you unless the problem statement is given. The function should be able to deal with N data points. You can either use dynamic memory allocation for data storage in arrays or in a simpler approach, you may declare the array sizes as a large value.

 Write a python program with algorithm and output to find sum of the following series for n terms: 1 – 2/2! + 3/3! - - - - - n/n!


Write a program to create 2 single dimension arrays in order to store 10 numbers respectively, then merge the values of both the arrays into third array so that the values of first array and second array will be alternate to each other, then display values of the merged array.

Alternate means third array will carry values of first and second arrays as follows:

c[0]=a[0]

c[1]=b[0]

c[2]=a[1]

c[3]=b[1]

c[4]=a[2]

c[5]=b[2]

c[6]=a[3]

c[7]=b[3]

.....


The variance of the number of cars sold per day is 2.27 what is the Standard deviation of the cars per day?


Construct a probability distribution table if we let X the random variable be the number of

boys in the family with 3 children.


LATEST TUTORIALS
APPROVED BY CLIENTS