Web development and programming
191828 questions • Page 72 / 3837
(a) Write a function function [u, T] = BackEuler (f, df, a, b, N, ya, maxiter, t
(a) Write a function function [u, T] = BackEuler (f, df, a, b, N, ya, maxiter, tol) that implements the Backward Euler method for a scalar differential equation y' (t) = f(t, y). …
(a) Write a function function [u,T] = BackEuler(f,df,a,b,N,ya,maxiter,tol) that
(a) Write a function function [u,T] = BackEuler(f,df,a,b,N,ya,maxiter,tol) that implements the Backward Euler method for a scalar differential equation y' (t) = f(t, y). Here, N i…
(a) Write a function julianday that takes as inputs integer m (themonth) and d (
(a) Write a function julianday that takes as inputs integer m (themonth) and d (the day) and output the number of days since January1. We assume this is not a leap year (no Februa…
(a) Write a program that will prompt a user to enter fifty (50)students informat
(a) Write a program that will prompt a user to enter fifty (50)students information, which will be written to a file called studentsinfo.txt. The filecontains students’ name, age …
(a) Write a program to keep track of cars on a small car lot. This program will
(a) Write a program to keep track of cars on a small car lot. This program will use a class called Car with the following data members: make (Honda), model (Civic), year (of manuf…
(a) Write an Oracle-compatible SQL command to create a stored procedure that let
(a) Write an Oracle-compatible SQL command to create a stored procedure that lets a user add a new row to the general_ledger_accounts table. Name the procedure whatever you want. …
(a) Write an algorithm that takes a list that contains words and find the longes
(a) Write an algorithm that takes a list that contains words and find the longest word that has no repeated characters. If there is more than one word that is longest, your progra…
(a) Write and run a Java program using a while repetition structure that will ad
(a) Write and run a Java program using a while repetition structure that will add a series of numbers (integers) with the following parameters: Starting number is the variable FIR…
(a) Write and submit a Matlab function implementing Romberg integration to withi
(a) Write and submit a Matlab function implementing Romberg integration to within a specified error tolerance (b) Use the function you wrote to estimate the integral of f(x)e from…
(a) Write the definition for a void function larger that takes two integer argum
(a) Write the definition for a void function larger that takes two integer arguments value1 and value2 and swaps their values if value1 is greater than value2. (b) Write a main fu…
(a) Write the definition of a class named \"computer\" which includes the attrib
(a) Write the definition of a class named "computer" which includes the attribute "name" (a string, the name of the computer) and a print method that prints out this name. (b) Als…
(a) Write the method getTotal() which returns the sum of the prices for all Item
(a) Write the method getTotal() which returns the sum of the prices for all Items present in the ShoppingCart
(a) You are building an instruction cache for a MIPS processor. It has a total c
(a) You are building an instruction cache for a MIPS processor. It has a total capacity of 4C = 2c + 2 bytes. It is N= 2n - way set associative (N greaterthanorequalto 8), with a …
(a) You are given a set of n items of sizes a 1 , . . . , a n , and a bin of siz
(a) You are given a set of n items of sizes a1, . . . , an , and a bin of size B . Your goal is to find a maximum cardinality subset of items that all fit inside the bin. That is,…
(a) You are given the following C-like code. There are at least three ways to ev
(a) You are given the following C-like code. There are at least three ways to evaluate the expression in statement A that results in variable y taking three different values. Brie…
(a) You are given the following code. Suppose formal parameters w, x, y, and z a
(a) You are given the following code. Suppose formal parameters w, x, y, and z are passed by value, by result, by value-result, and by reference respectively. There exists some pr…
(a) You are in the directory INTRO. In this directory, create a new directory na
(a) You are in the directory INTRO. In this directory, create a new directory named DIR3. (b) You are in DIR2. Write a single UNIX command to go to a directory SD2. (c) You are in…
(a) You can look for leisure facilities and programme of LCSD through its home p
(a) You can look for leisure facilities and programme of LCSD through its home page http://www.lcsd.gov.hk/en/home.php Suppose you would like to see the badminton courses availabl…
(a) You discover that your school notebook has only k = 6 sheets of paper left i
(a) You discover that your school notebook has only k = 6 sheets of paper left in it. You are attending n = 3 different classes today: Archaeology (A), Buddhism (B), and Computer …
(a) [2 points] What is printed by the following program with a while-loop? Assum
(a) [2 points] What is printed by the following program with a while-loop? Assume that i and j have been declared asintegers. (b) [4 points] Change the while-loop to a for-loop an…
(a) systems documentation is inadequate because of pressures to begin coding a n
(a) systems documentation is inadequate because of pressures to begin coding a new program before documenting the current program (b) Circular Testing takes for time (c) inadequat…
(a) what is the running time? (b) What makes the method described above so fast
(a) what is the running time? (b) What makes the method described above so fast is that, for a vector v of length n=2^(k) the matrix-vector product can be computed in time ... con…
(a) write the definition for a void function larger that takes two interger argu
(a) write the definition for a void function larger that takes two interger arguments value1 and value2 and swaps their values if value1 is greater than value2. (b) write a main f…
(a) writing the definition of the function initialized thatinitialialize x and y
(a) writing the definition of the function initialized thatinitialialize x and y to 0, and z to the blankcharacter (b) write the definition of the function getHoursRatethat prompt…
(a) zoom- This function will take a piece of a given image, blow it up, and retu
(a) zoom- This function will take a piece of a given image, blow it up, and return it as a new image. It takes as parameters a FileImage object and five numbers: upperLeftx, upper…
(a) zoom- This function will take a piece of a given image, blow it up, and retu
(a) zoom- This function will take a piece of a given image, blow it up, and return it as a new image. It takes as parameters a FileImage object and five numbers: upperLeftx, upper…
(a). Construct a deterministic ?nite transducer whose input is of the form (0 +
(a). Construct a deterministic ?nite transducer whose input is of the form (0 + 1 + 2)+$, the set of all ternary numbers terminated with a $, and whose output is the residue modul…
(a). Suppose each node creates a report from its initial configuration and sends
(a). Suppose each node creates a report from its initial configuration and sends that to each of its neighbors. What will each node’s forwarding table be after this set of exchang…
(a). The information domain of a problem must be represented and understood, (b)
(a). The information domain of a problem must be represented and understood, (b). Models that depict system information, function, and behavior should be developed, (c). The model…
(a). The information domain of a problem must be represented and understood, (b)
(a). The information domain of a problem must be represented and understood, (b). Models that depict system information, function, and behavior should be developed, (c). The model…
(a). Write a code for the booleaan method isOrderedUp. Method receives a referen
(a). Write a code for the booleaan method isOrderedUp. Method receives a reference to a PairOfInts object and returns true if the value of the instance int1 is less than the value…
(a). Write a program that reads a list of integers from thekeyboard, creates a l
(a). Write a program that reads a list of integers from thekeyboard, creates a linked list from them, and prints theresult. Insert each integer into thetail. The list of the d…
(a). Write code for a method makeOrderedUp1. The method receives a reference to
(a). Write code for a method makeOrderedUp1. The method receives a reference to a pairOfInts object (pair). It returns a reference to a PairOfInts object whose instance variables …
(a)Understand the concepts cohesion, and how it can be used to decompose problem
(a)Understand the concepts cohesion, and how it can be used to decompose problem definition into separate components(classes). (b)Understand t and coupling and how it is used to a…
(a)Write the definitions of the methods of the class Calendar to implement the o
(a)Write the definitions of the methods of the class Calendar to implement the operations of the class Calendar. (b) Write a test program to print the calendar for either a partic…
(a)Write the pseudocode (go through the Logic Design process that we covered in
(a)Write the pseudocode (go through the Logic Design process that we covered in the Programming Process slides) for a program which calls a function (call it filread() ) to read t…
(a.) Consider the following high level representation of a simple paged memory m
(a.) Consider the following high level representation of a simple paged memory management system and then answer the following questions. logical address physical address f0000.00…
(a.) Write a program to process a collection of daily hightemperatures. Your pro
(a.) Write a program to process a collection of daily hightemperatures. Your program should count and print the number of hotdays (high temperature 85 or higher), the number of pl…
(about 6 developers) wants to replace its home grown bug tracking system Researc
(about 6 developers) wants to replace its home grown bug tracking system Research one of the attached bug tracking packages and prepare a short presentation (2 or 3 slides) to ans…
(airline Reservations system) A small airline has justpurchased a computer for i
(airline Reservations system) A small airline has justpurchased a computer for its new automated reservations system. THepresident has asked you to program the new system. You are…
(arrays) dont include. ( only) Multiply each element in origList with t
(arrays) dont include. (<stdio.h> only) Multiply each element in origList with the corresponding value in offsetAmount. Print each product followed by a space. Ex: If origLi…
(b) (10 points) Complete the VHDL architecture below for the unsigned 12-bit Add
(b) (10 points) Complete the VHDL architecture below for the unsigned 12-bit Adder_Subtracter using behavioral style VHDL. The mode signal when 'o makes an adder, when 1 makes a s…
(b) (13 points) Shortest paths through a vertex: You are given a strongly connec
(b) (13 points) Shortest paths through a vertex: You are given a strongly connected directed graph G-(V, E) with positive edge weights, along with a particular node vo E V. Give a…
(b) (2 points) Recall that n-pxq in an RSA cryptosystem. Specify for each of the
(b) (2 points) Recall that n-pxq in an RSA cryptosystem. Specify for each of the following whether it is true or false. i. n is always odd- ii. ?(n)-(p-1) (q-1) is always even (c)…
(b) (5 points) Suppose you\'re consulting for a company that manufactures PC equ
(b) (5 points) Suppose you're consulting for a company that manufactures PC equipment and ships it to distributors all over the country For each of the next n weeks, they have a p…
(b) (7 points) Here\'s a declaration for a circle class, which is defined by the
(b) (7 points) Here's a declaration for a circle class, which is defined by the radius r and the center (xy). Consider the class is completely defined (even if it is not shown). W…
(b) Assume a router uses 4 buffers to store different traffic flows. It receives
(b) Assume a router uses 4 buffers to store different traffic flows. It receives the packets listed in Table Q2 at about the same time, in the order listed. All buffers are initia…
(b) Compare a 3-stage pipeline computer with a 5-stage one. The 3-stage pipeline
(b) Compare a 3-stage pipeline computer with a 5-stage one. The 3-stage pipeline is better since it takes 3 cycles to complete a job while its counterpart takes 5 cycles. [] True …
(b) Compare and contrast the different memory technologies (SRAM, DRAM, Flash an
(b) Compare and contrast the different memory technologies (SRAM, DRAM, Flash and magnetic disk) used in a memory hierarchy with respect to cost, size, access ime and power consum…
(b) Compare the answers you obtain in (a) with the exact by computing the relati
(b) Compare the answers you obtain in (a) with the exact by computing the relative error in each case. (c) Comment on the results you obtain. (* SIMPSON'S COMPOSITE ALGORITHM 4.1 …
Subject
Web development and programming
Use Browse or pick another subject.