Browse W
Alphabetical listing with fast deep pagination.
66619 items • Page 1007 / 1333
Write a function matrix_multiplication() to multipy two matrices and put the res
Write a function matrix_multiplication() to multipy two matrices and put the result into a third matrix The function takes six arguments altogether i e pointers to the matrices to…
Write a function matrix_multiplication() to multipy two matrices and put the res
Write a function matrix_multiplication() to multipy two matrices and put the result into a third matrix. The function takes six arguments altogether, i.e. pointers to the matrices…
Write a function matrix_multiplication() to multipy two matrices and put the res
Write a function matrix_multiplication() to multipy two matrices and put the result into a third matrix. The function takes six arguments altogether, i.e. pointers to the matrices…
Write a function max_product that takes v a vector and n , a positive integer, a
Write a function max_product that takes v a vector and n, a positive integer, as inputs and computes the largest product of n consecutive elements of v. It returns the product and…
Write a function member called ascendingOrder() to the linked list to check if t
Write a function member called ascendingOrder() to the linked list to check if the elements in the list are in ascending order or not. If the list elements are in ascending order,…
Write a function method1(v,w) which takes as input two vectors v and w and retur
Write a function method1(v,w) which takes as input two vectors v and w and returns true if every element in v is in w and returns false otherwise. Use the following pseudocode as …
Write a function move() that takes the following arguments, in this order: 1. bo
Write a function move() that takes the following arguments, in this order: 1. board: A game board. 2. movement: A string that represents what kind of movement that Starman needs t…
Write a function myNewtonBasin1D.m with the following definition function [x, fl
Write a function myNewtonBasin1D.m with the following definition function [x, flag, z] = NewtonMethodID(f, df, x0, tol, max!ter) where ·f, df are the function we are looking for t…
Write a function myNewtonBasin1D.m with the following definition: function [x, f
Write a function myNewtonBasin1D.m with the following definition: function [x, flag, z] - NewtonMethod1D(f, df, x0, tol, maxIter) where · f, df are the function we are looking for…
Write a function mySoundex($name) that computes the Soundex code for the given p
Write a function mySoundex($name) that computes the Soundex code for the given parameter name. Soundex is a set of rules that transforms an English name into a hashcode that can b…
Write a function mySoundex($name) that computes the Soundex code for the given p
Write a function mySoundex($name) that computes the Soundex code for the given parameter name. Soundex is a set of rules that transforms an English name into a hash-code that can …
Write a function mySoundex($name) that computes the Soundex code for the given p
Write a function mySoundex($name) that computes the Soundex code for the given parameter name. Soundex is a set of rules that transforms an English name into a hash-code that can …
Write a function myinteg which calculates the integral of the Matlab built-in hu
Write a function myinteg which calculates the integral of the Matlab built-in humps function by using mytrap function. The humps function has the following form: humps(x)=(x-0.3)^…
Write a function name evenNumbers that accepts an input stream and an output str
Write a function name evenNumbers that accepts an input stream and an output stream as parameters. 8 THE evenNumbers PROBLEM Write a function named evenNumbers that accepts accept…
Write a function named CHECK to implement the following flowchart. Preserve all
Write a function named CHECK to implement the following flowchart. Preserve all registers used in the function. Some things to keep in mind; It is not necessarily the case that on…
Write a function named CHECK to implement the following flowchart. Preserve all
Write a function named CHECK to implement the following flowchart. Preserve all registers used in the function. Some things to keep in mind: It is not necessarily the case that on…
Write a function named ComputeStats( ) that takes four arguments and returns voi
Write a function named ComputeStats( ) that takes four arguments and returns void. The first two arguments are an array of integers and the size of the array. The array holds the …
Write a function named ComputeStats( ) that takes four arguments and returns voi
Write a function named ComputeStats( ) that takes four arguments and returns void. The first two arguments are an array of integers and the size of the array. The array holds the …
Write a function named ComputeStats( ) that takes four arguments and returns voi
Write a function named ComputeStats( ) that takes four arguments and returns void. The first two arguments are an array of integers and the size of the array. The array holds the …
Write a function named Gauss() that takes x and n as arguments and that returns
Write a function named Gauss() that takes x and n as arguments and that returns the sum of the first n terms of the series. You should not use factorial() or pow(). 2 Exercise 6.4…
Write a function named Ls that uses turtle graphics and the function capitalL to
Write a function named Ls that uses turtle graphics and the function capitalL to draw a sequence of letter L's of specified size, position and orientation. Begin drawing each lett…
Write a function named \"XYtoPolar\" that has 2 double value parameters and 2 do
Write a function named "XYtoPolar" that has 2 double value parameters and 2 double reference parameters that converts x,y coordinates to polar coordinates. The prototype is: void …
Write a function named \"loadStateDict(filename) that takes a filename and retur
Write a function named "loadStateDict(filename) that takes a filename and returns a dictionary of 2-character state codes and state names. The file has four columns and they are s…
Write a function named \"location_of_target\" that takes as its arguments the fo
Write a function named "location_of_target" that takes as its arguments the following: An array of integer values; An integer "target value". The function should determine whether…
Write a function named \"shiftRight\" that takes as its arguments the following:
Write a function named "shiftRight" that takes as its arguments the following: (1) an array of floating point values (double type); (2) an …
Write a function named \"shiftRight\" that takes as its arguments the following:
Write a function named "shiftRight" that takes as its arguments the following: (1) an array of floating point values (double type); (2) an …
Write a function named addarray() that returns the sum of the elements of an arr
Write a function named addarray() that returns the sum of the elements of an array of int values.Your function should take to two parameters, the array, and the number of elements…
Write a function named append that accepts three arguments. The first two argume
Write a function named append that accepts three arguments. The first two arguments passed to append are c-strings to be appended (the second c-string is appended to the first). …
Write a function named arrayToFile . The function should accept three arguments:
Write a function named arrayToFile. The function should accept three arguments: the name of a file, a pointer to an int array, and the size of the array. The function should open …
Write a function named arrayToFile The function should accept three arguments: t
Write a function named arrayToFile The function should accept three arguments: the name of a file a pointer to an int array size of the array The function should open the specifie…
Write a function named arrayToFile. The function should accept three arguments:
Write a function named arrayToFile. The function should accept three arguments: the name of a file, a pointer to an int array, and the size of the array. The function should open …
Write a function named arrayToFile. The function should accept three arguments:
Write a function named arrayToFile. The function should accept three arguments: the name of a file, a pointer to an int array, and the size of the array. The function should open …
Write a function named arrayToFile. The function should accept three arguments:
Write a function named arrayToFile. The function should accept three arguments: the name of a file, a pointer to an int array, and the size of the array. The function should open …
Write a function named bitCount( in bitcount.c that returns the number of 1-bits
Write a function named bitCount( in bitcount.c that returns the number of 1-bits in the binary representation of its unsigned integer argument. For example, 59-Ob011 1011. The num…
Write a function named bitcount () in bitcount.c that returns the number of 1-bi
Write a function named bitcount () in bitcount.c that returns the number of 1-bits in the binary representation of its unsigned integer argument. Remember to fill in the identific…
Write a function named cellParse that takes in a cell array with each element be
Write a function named cellParse that takes in a cell array with each element being either a string (character array), or a vector (containing numbers), or a Boolean value (logica…
Write a function named change() that has an integer parameter and six integer re
Write a function named change() that has an integer parameter and six integer reference parameters named hundreds, fifties, twenties, tens, fives, and ones. The function is to con…
Write a function named change() that has an integer parameter and six integer re
Write a function named change() that has an integer parameter and six integer reference parameters named hundreds, fifties, twenties. tens. fives, and ones The function is to cons…
Write a function named charCount() that accepts two character arrays of the same
Write a function named charCount() that accepts two character arrays of the same length as parameters, and returns how many of the letters in the corresponding positions of the tw…
Write a function named class_presidents that tallies votes for presidents of two
Write a function named class_presidents that tallies votes for presidents of two school classes. Somehow the vote tallies for sophomore and junior class presidents got mixed up! Y…
Write a function named cointoss that simulates the tossing of a coin. When you c
Write a function named cointoss that simulates the tossing of a coin. When you call the function, it should generate a random number in the range of 1 through 2. If the random num…
Write a function named concentric that uses turtle graphics to draw a concentric
Write a function named concentric that uses turtle graphics to draw a concentric (same center) circle of specified radius. The function concentric takes two parameters: 1. t, a tu…
Write a function named countMultiples, which takes in a given integer n, counts
Write a function named countMultiples, which takes in a given integer n, counts how many non-zero numbers in the input are a multiple of n, and returns this count. The function re…
Write a function named courseLoad. The function courseLoad takes two parameters
Write a function named courseLoad. The function courseLoad takes two parameters 1. light, an int that is the threshold for a light course load 2. heavy, an int that is the thresho…
Write a function named cup that uses a turtle parameter t to draw a cup consisti
Write a function named cup that uses a turtle parameter t to draw a cup consisting of three sides of a square. Your function should not change the position or orientation of t bef…
Write a function named dicepair that calls the die function to simulate the sum
Write a function named dicepair that calls the die function to simulate the sum of a pair of dice. Test the function by calling it from main 100 times and displaying the resulting…
Write a function named fcheck() that checks whether a file exists. The function
Write a function named fcheck() that checks whether a file exists. The function should accept an ifstream object as a formal reference parameter. If the file exists, the function …
Write a function named fileStats. The function fileStats takes two string parame
Write a function named fileStats. The function fileStats takes two string parameters: inFile, the name of an input file and outFile, the name of an output file. The function fileS…
Write a function named findingpair that takes a value to search for and a list o
Write a function named findingpair that takes a value to search for and a list of pairs. This function must search for the given value as the first element of a pair in the list. …
Write a function named func that subtracts one from the value of each leaf node
Write a function named func that subtracts one from the value of each leaf node in a binary search tree. Your function should not rebalance the tree. Just subtract 1 from the leaf…