In: Computer Science
Using R Programing
Apply clustering to "Wholesale customers Data Set" and see if you can distinguish between regions. NOTE: the clustering should exclude the region column.
In: Computer Science
Create a graphical spell checker program that The File menu has the three items shown. On Open, the program reads a text file (!) with the current directory set to the directory where your program is located. Save saves the current text in the window to the file selected over a dialog and The Edit menu has one menu item: Spell Check.
In: Computer Science
For a perceptron algorithm with a fixed learning rate(r), prove or disprove that if the classes are not linearly separable, it may not converge. Can you modify the learning rate(r) so that the iterations converge in expectation? Explain.
In: Computer Science
An HTML file is a text file that contains text to be displayed in a browser and __________ to be interpreted (read) by the browser formatting and styling the document
Both C++ and javascript are computer programing languages; what are their differences?
What HTML tag can let you insert javascript in to document
Which attributes of the <script> tag tells the brorwser what kind of scripting language is insterted? (give an example)
in the javascript section of the HTML file, how can you write informatipm to the webpage? (give an example)
In: Computer Science
(a).Verify multiplication of M x N mod 26 = N x M mod 26 = I (identity matrix)
(b). Use Hill cipher to encrypt the message EXAMS
In: Computer Science
Write a c program that prints the final sum of all values from 1 to n only when n is a positive value. The program is to print "Poor!" when the final sum is less than 70, print "Good" when the sum is between 71 and 90. or "Great!" when the sum is 91 or better.
In: Computer Science
In: Computer Science
In: Computer Science
There are four conditions that must hold simultaneously in a computer system for a deadlock to occur. Name each condition and explain what it means.
In: Computer Science
Describe at least four different functions (functionalities) of data mining, and give an example for each one. For example, one function could be classification.
In: Computer Science
please use Jupter notebook in python 3 to answer the following:
Plot the hyperbolic paraboloid given by: z = x**2/a**2 - y**2/b**2. You may use any non-negative integer values for a and b.
In: Computer Science
The citizens of Javaland require a program that calculates the personal income tax owed by
each taxpayer.
Write the code for a class method
calculateTaxableIncome
that accepts the following 5
inputs:
General Income
Investment Income
Other Income
Regular Deductions
Other Deductions
The method calculates the amount of a citizen’s taxable income. Taxable income is obtained
by summing all income and subtracting all deductions. Note that only 50% of Other
Deductions are tax deductible.
The signature for this method is:
public static double calculateTaxableIncome(double generalIncome, double
investmentIncome, double otherIncome, double regularDeductions,
double otherDeductions)
Note that all calculated monetary values should be rounded to 2 decimal places.
Write the code for a class method
calculateIncomeTax
that accepts the following input:
Taxable Income. The method calculates the amount of income tax due to the Government of
Javaland based on a citizen’s calculated taxable income. Income tax is calculated as a
percentage of taxable income based on the following rules:
10% on the first $20,000 of taxable income
12% on the next $20,000 of taxable income
15% on the next $20,000 of taxable income
20% on all remaining taxable income
The signature for this method is:
public static double calculateIncomeTax(double taxableIncome)
Comp 122 Assignment 03 page
2
Note that all calculated monetary values should be rounded to 2 decimal places.
Save these methods’ source code in your methods class
In: Computer Science
Interger Programming and Nonlinear Programing are two important extensions of the basic Simplex Linear Programing model. How does each differ from Simplex in theory and practice? How does Solver adjust for these two extensions? What about Rosenbrock’s method, cutting plane procedure, and interior point methods?
In: Computer Science
PUT IN JAVA PROGRAMMING
The Rectangle class: Design a class named Rectangle to represent
a rectangle. The class contains:
• Two double data fields named width and height that specify the
width and height of a rectangle. The default values are 1 for both
width and height.
• A no-arg (default) constructor that creates a default
rectangle.
• A constructor that creates a rectangle with the specified width
and height.
• A method named findArea() that finds the area of this
rectangle.
• A method named findPerimeter() that finds the perimeter of this
rectangle.
• Create a client (test) class (program) to test and use your
Rectangle class. In the client program, you need to create objects
of the Rectangle type and use those objects to perform some
meaningful and valid rectangle operations (finding area and
perimeter). The test/client class should display all results
In: Computer Science