158 Answered Questions for the topic Coding
10/25/21
Best Fit Algorithm Help
def BestFit():
boxes = readCSV()
num_of_boxes = len(boxes)
bin_area = 40
n_bin = 0
area_remaining_in_bins = []
lists = []
for x in range(num_of_boxes):
...
more
10/21/21
How can I add a clickable link to this 3D floating box in html/css?
On this 3d box i made: https://www.lifetimereserve.co/splash/I want to the be able to click the red text that says "lifetime" that is on the front face of the spinning cube. When I add the link to...
more
10/19/21
program that will read in the quantities and prices items from a file then calculates the total price
Write a C++ program that will read in the quantities and prices items from a file then calculates the total price (quantity * price) for each item and saves it in another file including the...
more
10/19/21
program that counts from 1 through 100, and prints “D3” if the number is evenly divisible by 3
Write a C++ program that counts from 1 through 100, and prints “D3” if the number is evenly divisible by 3, “D5” if it’s evenly divisible by 5, “D3&5” if it’s even divisible by three and five,...
more
10/07/21
Please help with Java code
How can I define a for loop for the following output:1+2 = 32+3 = 54+5 = 98+9 = 1716+17 = 3332+33 = 6564+65 = 129any help would be very appreciated
09/28/21
Next Fit Algorithm Help
def NextFit():
boxes = readCSV()
num_of_boxes = len(boxes)
bin_area = 40
n_bin = 0
area_remaining_in_bins = []
lists = []
for x in range(num_of_boxes):
...
more
Coding C++
09/24/21
Help with do while loop
generate a random number between 5 and 250. This will be the number of values in the third set. Display a label such as "3rd set of random numbers" and the number of values in the set.Using a do...
more
Coding C++
09/24/21
How do I make this while loop display 7 integers per line
const double MAXIMUM2 = 50;
i = 0;
while (i < MAXIMUM2)
{
RandNum = rand();
cout << RandNum << ' ';
i++;
}
{
cout << endl <<...
more
Need help with coding...
How do I create a code in Matlab to get the answer to this question?Two boats start together and race across a 60-km-wide lake and back。Boat A goes across at 60 km / h and returns at 60 km / h。Boat...
more
Google collaboratory assignment. Python coding. PlZ HELP
Create a ColabTurtle program (within one code block) that creates a Turtle that will draw based on the commands you give it. The program should contain at least 200 lines of commands. You must use...
more
Coding assignement help? Need assistance PLZ
Create a ColabTurtle program (within one code block) that creates a Turtle that will draw based on the commands you give it. The program should contain at least 200 lines of commands. You must use...
more
08/15/21
need any help plz!
Create 2 int variables, return the statement “There is one negative and onepositive number” if one is negative and one is positive, return thestatement “One of the integers is positive” if one of...
more
08/10/21
Google collab programming python
Can anyone help me out with this?Use Google Collab and create a collab notebook named "PythonActivity2"For this assignment please use your lecture and the Google Collab tutorial to help you...
more
08/02/21
Java programming finding radius of circle
Create a Java function which calculates the radius of a circle: 1. The function should take no arguments. 2. Ask the user to provide the area value of the circle. 3. Calculate the radius based on...
more
07/23/21
Excel: I need to take given data and sort between f, d, or Both. Then I need to separate the data once determined by f or d pounds
So, imagine there is an excel sheet with a column full of f or d values, another with random minute values, and 5 different zone columns with a number in only one of these per row(These 5 columns...
more
07/13/21
Need help trying with nested list problem
HI! I have a list of lists, and within the nested lists are tuples (representative of (x,y) coordinates). I want the nested lists to represent a bin.list_of_list = [[(2,1),(4,2),(3,1)],...
more
07/06/21
Python: First Fit Algorithm
I'm trying to create a First Fit Algorithm. The approach I'm taking is creating a list of empty lists, which are representative of the bins, where they will then be filled by certain area values...
more
Coding Programming
06/28/21
LAB: Warm up: Variables, input, and type conversion. I cannot solve this LAB can someone please help me
(1) Prompt the user to input an integer between 32 and 126, a float, a character, and a string, storing each into separate variables. Then, output those four values on a single line separated by a...
more
05/24/21
Java code needed
Java code needed! someone please help me with this code!Write a program whose input is a character and a string, and whose output indicates the number of times the character appears in the string....
more
05/18/21
need help with python project
this is all my professor gave me and I don't know what to do Write a class called Counter. The class has the variables:
self.count - Keeps track of the current count.
self.initial_count -...
more
05/14/21
Recursion and Stack Overflow Question
Recursion uses something called the “call stack” where recursive calls to functions are stacked. Explain this using a specific example. When might there be a stack overflow?
Coding Python
05/10/21
Python "Mad Libs "
create "Mad Libs" with Python.First, you must find out the age of the user.If the user is less than 6, they cannot play.Based on their age, they will play one of these 3 types of Mad Libs:age 6-12...
more
04/25/21
Using R script functions generate random samples and calculate sample means. Be sure to solve all 3 parts of this problem.
Please show the R script coding/steps to solve this. Please do all 3 parts of this question!!! Thanks in advance!!! :)Assume that we have a normal population with a mean of 10 and a variance of 22,...
more
04/24/21
Solve using R Script to compute a 90% confidence interval for the difference between the average running times of films produced by the two companies
Please solve using R Script and show all coding/steps. Thanks in advance!The following data represent the running times of films produced by two motion-picture companies.There are 2 companies, A and...
more
04/24/21
Using R Script please show the coding/steps to find the 95% confidence interval for the mean change in percent return to investors.
Thanks in advance!!! Please show all work/ coding in R Script, so I can try to understand how to solve problems like this later on.Fortune magazine (March 1997) reported the total returns to...
more
Still looking for help? Get the right answer, fast.
Ask a question for free
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Find an Online Tutor Now
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.