Show ALL of your work in order to get credit. There is a Power Point example on Blackboard of a Homework submission under "Course Orientation" area. For questions requiring Python Code - you are required to include a screen shot of the code AND a screen shot of a sample execution in the PDF for your submission. 1. For the sequence: 1/3, 1, 3, 9 a. Find the 40th term b. Find the sum of the first 40 terms
Q: . For each of the following applications, tell whether it would be (1) possible and (2) better to…
A: For each of the following applications, tell whether it would be (1) possible and (2) better to use…
Q: the
A: Assume B=Y,
Q: uppose you have decided to make a simulation of DELHI where a person can move around by using the…
A: There are 23 design patterns which can be classified in three categories: Creational, Structural…
Q: write an algorithm and draw a flow chart then write a MATLAB code in separate script: 1. Finding the…
A: Algorithm: Start Print "Enter the length =" Read length Print "Enter the breadth=" Read breadth Area…
Q: ' We have discussed form element validation on the browser using regular expressions in HTML and…
A: Regular expressions in Javascript: A standard expression is a search pattern made up of a series of…
Q: Write down Python code lines which will retrieve registered courses of a student via an API point
A: ANSWER: JSON file using Python: The full-type of JSON is JavaScript Object Notation. It suggests…
Q: Implement a program using the basic 1/O commands of C, the assignment operator, and arithmetic…
A: Sample Response: //C program to compute area and perimeter of rectangle.#include <stdio.h>int…
Q: Given a dataframe with two columns (x and y), I have found a function on Python that gives a local…
A: Answer is given below-
Q: Create a script in Matlab that converts mp/h to km/h, and force from pounds to Newtons, and prints…
A: Create a script in Matlab that converts mp/h to km/h, and force from pounds to Newtons, and prints…
Q: Give two separate examples of Semaphores in C, with one using GETALL and the other using GETVAL. In…
A: Summary: -We got the output
Q: Consider the function f: Matlab function answer = f() answer 7; %3D end What will be in x after the…
A: function answer = f() Here f is name of function and answer variable is the return variable for the…
Q: Draw the correct histogram of the data, where a value is counted in a class interval if it falls on…
A: A histogram consists of contiguous boxes and it has both horizontal and vertical axis. The vertical…
Q: State the difference between episodic and sequential environment? Also give one example.
A: Given: State the difference between episodic and sequential environments? Also, give one example.
Q: Extend atof to handle scientific notation of the form
A: # include <ctype.h># include <stdio.h> # define MAXLINE 1000 /* maximum input line…
Q: a) Draw the diagram for a DFA that accepts all strings over the alphabet {w,x,y,z} such that all…
A:
Q: Exercise 5 Consider the electrical network shown. 50 V 40 V 32 22 20 30 V 20 V Find current flows…
A: Solution (a)Finding Equations to solve (b) Solving in MATLAB % Define equations as symbolic syms…
Q: You are given a matrix C in Matlab, C = [1, 2, 3; 4, 5, 6; 7, 8, 9; 10, 11, 12; 13, 14, 15] What is…
A: C = [1,2,3; 4,5,6; 7,8,9; 10,11,12; 13,14,15]; % the matrix C (given)disp("Result =…
Q: create multiple graphs with single_call to plot, these statements plot three related functions of x:…
A: The objective is to create multiply graphs with single_call to plot. These statements plot three…
Q: Q3/ create multiple graphs with single call to plot, these statements plot three related functions…
A: In this question, we need to draw three graphs. We define the range first, then we will draw the…
Q: Simulate the midpoint line drawing algorithm to find the first four intermediary pixels of this…
A: Given data: x0=21y0=34x1=10y1=40 To find: First four intermediary pixels of line after (21, 34)
Q: write a code to create a GIF using (imshow) in matlab, with explanation please
A: The code to create a GIF using (imshow) in matlab, with explanation is as follows.
Q: 3. Complete the following steps. a. Select a sample of size 100 from the standard normal…
A: In the qq plot points on the plot fall close to the lines. We should have S shapes but with 100…
Q: Draw a graph of the region on the map and store the graph in the code. Then write an algorithm or…
A: 4 colorable map= It states that no more than four colors are required to color the regions of any…
Q: This mini project has two parts. Given coordinates of five points: A(x1, y1), B(x2, y2), C(x3, y3)…
A: As per policy we can answer only one question for answer of other please ask separately.
Q: a python program that will except a 3x3 matrix and value for translation, then conduct a basic 2D…
A: Input : Matrix value Value of translation factor Output : Translated matrix
Q: reate a python program that will except a 3x3 matrix and new scale value from user, then conduct a…
A: Input : Input matrix values. Input scaling value. Output : Output the scaled value.
Q: Assuming that we have a list of audio music channels, and the user system wants to traverse them one…
A: The given real-life example is a perfect example of an iterative design pattern. The iterator design…
Q: 1 12 123 4444 1234 55555 1 234 5 11 12 13 14 15 23 4 56 789 10 22 333
A: #include <iostream> using namespace std;class pat1{ public: void call1() { int…
Q: Consider your watch as a system. Write the corresponding Textual use case SetTime. Include all…
A: Below is a use case diagram for the question, you can add more features if you want. There is no…
Q: Draw 3D plots that display a surface defined by a function in 2 variables and subplots (not sure if…
A: Explanation: If we need to draw 3d plot then we need need two variable with defined by function: For…
Q: fence around a field is shaped as shown in the Figure attached. It consists of a rectangle of length…
A: Code : %%%% We know W and AW=6;A=80; %First we notice that by the Pythagorean theomrem D^2+D^2=W^2%…
Q: Create a MATLAB script that will do the process of grades computation with the the following…
A: Matlab Code: % Asking the user its name name = input("Please enter student name: " , 's'); % Asking…
Q: Build a regular expression that captures all nonempty sequences of letters other than file, for,and…
A: ^meaning of this symbol is start of a lineLet me divide above expression in two parts(?:)* and…
Q: Write the robot program using the VAL+ for the following automation case. First draw the problem;…
A: Write the robot program using the VAL+ for the following automation case. First draw the problem;…
Q: For each of the following applications, tell whether it would be (1) possible and (2) better to use…
A: As a result: For each of the aforementioned applications. a) Since September 1752, a calendar for…
Q: Draw vector space model by using the following documents. Doc A: Doc B: I am Student Student I am X…
A: VSM is helpful in search engine. For eg, If we have corpus of documents and if we pass a query and…
Q: Draw a proper Use case of social media (notifications that comes from share, likes, messages)…
A: Case and class diagram are used in software engineering to visually represent the functioning,…
Q: The optimization model works fine other than the part highlighted (in purple, second image) in…
A: Linear programming is a set of techniques used in mathematical programming, sometimes called…
Q: What goes into putting together an ADT? Fl in the blanks with your response.
A: Strat: The ADT merely describes what procedures will be conducted but not how. It doesn't describe…
Q: The severity of the tickets would be randomized and write a python program to create a script that…
A:
Q: What is expected is a JFLAP project file consisting of the state diagram of a Turing Machine (TM)…
A: Process Keep the last two bits on the tape and remove the rest of the part. If those two symbols are…
Q: Here are the arrow diagrams of two maps f (on the left) and g (on the right): And here are two…
A: A composite function f o g is written as g(f(x)) where we first use f on x and then g on f(x).
Q: Write the python program to get a mark of a student as input and print the appropriate message…
A: mark=int(input("Enter the mark: ")) print ("Your grade is ") #checking the range of values in…
Q: your simulation. (5 + x != d) = [{(3 != e * 6) && (1== 5/5)} != 4 - 5] Priority: */,% (high) +,- =,>
A:
Q: Implement a java project to help in the study analysis with the following steps: • Read from the…
A: Code: import java.util.*;public class Main{ public static void main(String []args){…
Q: Question 2: An intermediate data called 'det [11:0]' needs to be scaled down by 8. For example, if…
A: Code in step 2
Q: n a 384-well plate luciferase assay, we drugged 4 receptors (A, B, C, D) with their endogenous…
A: Answer: We will discussed here some point in the briefly
Q: ink of a set of naturally occurring unds to represent the operations standard drawing package (for…
A: Introduction: The Oval and Rectangle tools allow you to draw these basic geometric shapes and add…
Q: c light 1=YELLOW Traffic light 2=YELLOW for 2 seconds, State3: Traffic light 1=RED…
A: Consider two traffic lights in a junction that each one has a 7-segment display to show the…
Step by step
Solved in 3 steps with 1 images
- Hello Tutors again- Here is another problem I am running into. I am not sure how to accomplish this. Here are the instructions on how to do it. Add M for male or F for female as a parameter prompt for the Gender field. Save the query with the name Top15ByGender then run the query using F for female as the parameter prompt. Here is the image. Thank you.Complete the docstring using the information attached (images):def upgrade_stations(threshold: int, num_bikes: int, stations: List["Station"]) -> int: """Modify each station in stations that has a capacity that is less than threshold by adding num_bikes to the capacity and bikes available counts. Modify each station at most once. Return the total number of bikes that were added to the bike share network. Precondition: num_bikes >= 0 >>> handout_copy = [HANDOUT_STATIONS[0][:], HANDOUT_STATIONS[1][:]] >>> upgrade_stations(25, 5, handout_copy) 5 >>> handout_copy[0] == HANDOUT_STATIONS[0] True >>> handout_copy[1] == [7001, 'Lower Jarvis St SMART / The Esplanade', \ 43.647992, -79.370907, 20, 10, 10] True """You should consider the following points in your solution: Each octagon side has a length of 40 units. Each octagon has a different color. The border lines should be thick enough. The final shape of the output should be as shown above. You might place the desired colors in a list to access them by index in the drawing loop. Make sure to set properly the starting position (x & y) of your drawing, to maintain the above diagram. Tip: You can use the below colors and fills
- Fill in the loop table with the correct values, Each row should represent the values of the variables at the line with the comment LOCATION. You don't necessarily need to fill out all of the rows on the provided fable. If you don't fill up the whole table, that isn't necessarily wrong! 1 - 2 a - 10 name - 'AL' while i < 9: if name 'AL': 1: 2 nam AL intinl else: if name < 'NAPOLEON': name - 'NASH elif name < 'NATE': name - 'SAM' else: name- 'AL ' # LOCATIONThe accompanying Gradebook spreadsheet contains a partially completed spreadsheet model for computing and summarizing the grades for a class. Complete the spreadsheet model by entering and copying the formulas in the appropriate cells. Cell range H4:H17 should contain the course number grades using the grades from exams and homework assignments and the grade allocation in row 22. Cell range I4:I17 should contain the course letter grades based on the grading criteria in cell range K4:L8. Rows 19, 20, and 21 should contain the average, maximum, and minimum exam, homework, and course number grades. You should only enter each formula once and copy the formulas to other cells. Gradebook Student ID Exam 1 Exam 2 Exam 3 Homework 1 Homework 2 Homework 3 Course Number Grade Course Letter Grade Grading Criteria 000-01-5562 60 50 40 79 92.0 76 0 F 000-01-2667 80 71 70 84 81.0 90 60 D 000-01-7376 65 65 65 60 90.0 94 70 C 000-01-1986…The code below creates a table for the outcomes when 4 dice are rolled, and stores them as a DataFrame. Extend the code to print out the number of ways to obtain 15 as the total when 4 dice are rolled simultaneously.
- Open the Excel file Student_Excel_Intro_Cap1_Year_End_Report.xlsx downloaded with this project. On the Net Sales worksheet, calculate totals in the ranges F4:F8 and B9:F9. Apply the Total cell style to the range B9:F9. Using absolute cell references as necessary, in cell G4, construct a formula to calculate the percent that the Colorado Total is of Total Sales, and then apply Percent Style with zero decimals. Fill the formula down through the range G5:G8. In the range H4:H8, insert Line sparklines to represent the trend of each state across the four quarters. Do not include the totals. Display Markers. Select the range A3:E8, and then use the Recommended Charts command to suggest an appropriate chart. Click the first Clustered Column chart that uses the state names as the category axis. Align the upper left corner of the chart inside the upper left corner of cell A11, and then size the chart so that its lower right corner is slightly inside cell H24. Apply chart Style…I need to add new columns called 'Volume % Change', and "Close % Change" for this dataframe in PYTHON. The formula for Volume % Change is (Current day volume-previous day volume)/previous day volume The formula for Close % Change is (Current day Close - previous day)/previous day Close The output is like the attached image. Please assist! ThanksCreate a table of your courses for this semester with fictitious grades for Test 1, Test 2, and Test 3 with appropriate weighting. The next column should determine the grade using the 'if' function, with plus and minus. The grade cell should show a discrete color scheme with below C- in red; above B in green and, yellow for the rest. This should be done using conditional formatting of cells.
- Below, we'll break down the differences between MonthCalendar and DateTimerPicker.Write a program that receives two 10-cell presentations and inserts the values inside both presentations into the other 20-cell representation.Obtain information about what the colors on an electrical resistor mean. Create a table showing the electrical resistor codes. Your table should have a column with the colors Black, Brown, Red, Orange, Yellow, Green, Blue, Violet, Gray, White, Gold, and Silver, and a column showing their digit values. Imagine that you are making this table for others to use; therefore, include at least one example of how to read the codes on electrical resistors for each of 3-band, 4-band, 5-band, and 6-band codes at the bottom of your table.