Chemistry concepts and calculations
117302 questions • Page 2087 / 2347
Write a function (use jes or python) changeRGB that takes four parameters: a pic
Write a function (use jes or python) changeRGB that takes four parameters: a picture , and an amount to change the red ,green , and blue (in that order)pixels,Each amount should b…
Write a function RevertString.m that accepts a string as its argument and return
Write a function RevertString.m that accepts a string as its argument and returns a string that’s a reverted version of that string (string obtained by flipping the argument strin…
Write a function and prototype statement that accepts three parameters. The firs
Write a function and prototype statement that accepts three parameters. The first two parameters are pointers to 1-D arrays of integers. You may assume that the two arrays have al…
Write a function bestCD(cds) that returns the CD structure with the highest numb
Write a function bestCD(cds) that returns the CD structure with the highest number of stars. This function will take an array of CD structures, cds (use the 10 you create in your …
Write a function called approxiinatelntegral that uses a loop to compute a numer
Write a function called approxiinatelntegral that uses a loop to compute a numerical approximation that adaptively changes Ax to smaller and smaller step sizes, until the approxim…
Write a function called evaluate_postfix(), with the following signature: int ev
Write a function called evaluate_postfix(), with the following signature: int evaluate_postfix(string sExp) This function takes a postfix notation string as input parameter (sExp)…
Write a function called nRandomNumbers() to performing the following: . Generate
Write a function called nRandomNumbers() to performing the following: . Generates N random integers between -250 and 250 (inclusive) and save them in a file called number.txt. (Us…
Write a function called rps that will simulate playing rock, paper, scissors wit
Write a function called rps that will simulate playing rock, paper, scissors with the computer. Each time the function is called, the game is played once. The function rps returns…
Write a function called rps that will simulate playing rock, paper, scissors wit
Write a function called rps that will simulate playing rock, paper, scissors with the computer. Each time the function is called, the game is played once. The function rps returns…
Write a function createCDTable(cds) that again takes an array of CD structures,
Write a function createCDTable(cds) that again takes an array of CD structures, opens a file and saves a table listing of your CDs for Artist Title and Price. Here are 9 examples …
Write a function getStockData(company) that takes a company symbol as a string a
Write a function getStockData(company) that takes a company symbol as a string argument and returns these values: the last trade, change, date, open, and previous close. The defau…
Write a function in Matlab to find small images inside of a big image. The color
Write a function in Matlab to find small images inside of a big image. The colors of the small image may be slightly different along with the illumination. The difference will be …
Write a function int CircleStats( double r, double &d, double &c, double &a ); w
Write a function int CircleStats( double r, double &d, double &c, double &a ); which takes the radius (r) of a circle, and sets, into variables in the calling code, th…
Write a function listEvenNumbers2() using an infinite while loop. The function t
Write a function listEvenNumbers2() using an infinite while loop. The function takes NO input arguments. This will be a variation of problem 1, using a loop-and-a-half pattern. Th…
Write a function listEvenNumbers2() using an infinite while loop. The function t
Write a function listEvenNumbers2() using an infinite while loop. The function takes NO input arguments. This will be a variation of problem 1, using a loop-and-a-half pattern. Th…
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 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 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 problem2 in a header file that accepts two arguments: a t
Write a function named problem2 in a header file that accepts two arguments: a two dimensional vector of a template type and a value of the sample template type as is stored in th…
Write a function named solveSystem that has three inputs: %two vectors % consist
Write a function named solveSystem that has three inputs: %two vectors % consisting of the coefficients [a b c] of two line equations of the form ax + by = c and a vector of x val…
Write a function named solveSystem that has three inputs: %two vectors % consist
Write a function named solveSystem that has three inputs: %two vectors % consisting of the coefficients [a b c] of two line equations of the form ax + by = c and a vector of x val…
Write a function plotCDPrices(cds) that plots for you the prices of all your cds
Write a function plotCDPrices(cds) that plots for you the prices of all your cds in ascending order (smallest to largest). Add a title to this plot. This function again takes an a…
Write a function repeat_word_count(text, n) that takes a string text and a posit
Write a function repeat_word_count(text, n) that takes a string text and a positive integer n, converts text into a list of words based on simple whitespace separation (with no re…
Write a function sequence that takes 3 arguments low, high, and stride, all assu
Write a function sequence that takes 3 arguments low, high, and stride, all assumed to be numbers. Further assume stride is positive. sequenceproduces a list of numbers from low t…
Write a function sop(ns, ps) which takes a group of tuples ns (i.e. [(a1,n1),...
Write a function sop(ns, ps) which takes a group of tuples ns (i.e. [(a1,n1),...,(ak,nk)]) as its first argument, and a list of one or more primes ps (i.e., of the form [p1,...,pm…
Write a function that accepts a product code as an input string in the form XXX-
Write a function that accepts a product code as an input string in the form XXX-YYY and validates it as follows: (1) The string length should be exactly 7 characters. (2) The firs…
Write a function that can be useful for future programs (like the next problem)
Write a function that can be useful for future programs (like the next problem) which rounds any POSITIVE floating point value to the nearest integer. The function should "round u…
Write a function that compares two stacks for equality. The function takes two s
Write a function that compares two stacks for equality. The function takes two stacks as parameters and returns true if they are identical. The stacks should remain unchanged afte…
Write a function that compares two stacks for equality. The function takes two s
Write a function that compares two stacks for equality. The function takes two stacks as parameters and returns true if they are identical. The stacks should remain unchanged afte…
Write a function that has a 2D array as a parameter(ie myfunction(int theArray[]
Write a function that has a 2D array as a parameter(ie myfunction(int theArray[][]) ). The function has to ask the user to enter each row of the array as well as store the value. …
Write a function that has two parameters - an integer that is a test score and a
Write a function that has two parameters - an integer that is a test score and a second parameter that is the letter grade. Use the standard grading scale for A, B, C, D, F. If th…
Write a function that returns the average of an array of integers. The function
Write a function that returns the average of an array of integers. The function returns an int and is passed an array of ints and it's size as an int. Write a function that return…
Write a function that takes a two-dimensional list of numbers as a parameter. It
Write a function that takes a two-dimensional list of numbers as a parameter. It returns the index of the minimum row in the list. The minimum row is the row with the smallest sum…
Write a function vowel_indices() that takes a string as a parameter and returns
Write a function vowel_indices() that takes a string as a parameter and returns a list of all the indices of all the vowels in the string. A vowel is one of a, e, i, o, or u. Capi…
Write a function which has 3 integer input values parameters which are 3 distinc
Write a function which has 3 integer input values parameters which are 3 distinct integers unsorted. The function determines which number is the smallest the middle value and the …
Write a function which takes two string variables (not C strings) as inputs and
Write a function which takes two string variables (not C strings) as inputs and compares them. If they are equal, the function should return 0. If the first string is less than th…
Write a function with heath [beta J = my LinRegression (f, x, y), where f is a c
Write a function with heath [beta J = my LinRegression (f, x, y), where f is a cell array containing function handles to basis functions, and x and y are column vectors Con taming…
Write a function, float pos_power(float base, int exponent); which returns the v
Write a function, float pos_power(float base, int exponent); which returns the value of base raised to a positive exponent. For example, if base is 2.0 and exponent is 3, the func…
Write a function, swapSubtrees, that swaps all of the left and right subtrees of
Write a function, swapSubtrees, that swaps all of the left and right subtrees of a binary tree. Add this function to the class binaryTreeType and create a program to test this fun…
Write a function, together with an appropriate test program (function or script)
Write a function, together with an appropriate test program (function or script), which will take a string as input and additional arguments which specify the changes to be made t…
Write a function: void introduction(istream &is, ostream &os, string target, str
Write a function: void introduction(istream &is, ostream &os, string target, stringreplacement); That provides instructions for the user. Note that a user who has played t…
Write a function: which is given a month and year and returns the number of days
Write a function: which is given a month and year and returns the number of days in that month. You should use your is_leap() function as needed to determine the number of days in…
Write a game where you are an X trying to get an ice cream cone in a mine field
Write a game where you are an X trying to get an ice cream cone in a mine field Before the game starts, a field of mines are created. The board has to be first initialized There m…
Write a generic class definition for class PhoneBook that can could be suitable
Write a generic class definition for class PhoneBook that can could be suitable to create PhoneBook objects that use names as person identifiers (which would have type String), or…
Write a generic data type for a deque and a randomized queue. The goal of this a
Write a generic data type for a deque and a randomized queue. The goal of this assignment is to implement elementary data structures using arrays and linked lists, and to introduc…
Write a java RationalNumber class that will represent a fraction. I need to writ
Write a java RationalNumber class that will represent a fraction. I need to write a "method add which receives a RationalNumber, adds it to this RationalNumber, and returns the re…
Write a java class called Fraction, for storing and manipulating fractions with
Write a java class called Fraction, for storing and manipulating fractions with integer numerators and denominators. Fractions need to have two fields; one for the numerator and o…
Write a java class named MyCourse10 whose UML diagram is shown below: MyCourse10
Write a java class named MyCourse10 whose UML diagram is shown below: MyCourse10 -courseName : String -instructorName : String -semester: String -year: int -school: String -number…
Write a java method for counting the elements of a singly linked list of integer
Write a java method for counting the elements of a singly linked list of integers that are less than a given value. The driver class provided will guide on the name and parameters…
Write a java method for counting the elements of a singly linked list of integer
Write a java method for counting the elements of a singly linked list of integers that are less than a given value. The driver class provided will guide on the name and parameters…
Subject
Chemistry concepts and calculations
Use Browse or pick another subject.