Resuelto


Finding values in arrays
Assign numMatches with the number of elements in userValues that equal matchValue. Ex: If matchValue = 2 and userVals = [2, ...

más de 10 años hace

Resuelto


Populating an array with a for loop
Write a for loop to populate multiplicationTable with the multiples of baseValue from 0 to 5. Ex: If baseValue is 2, then mu...

más de 10 años hace

Resuelto


Double summation
Write two nested for loops to calculate the following double summation: <<https://drive.google.com/uc?id=0B74PAULDIwwsWFhlNTV...

más de 10 años hace

Resuelto


For loops: Savings account
The for loop calculates the amount of money in a savings account after numberYears given an initial balace of savingsBalance and...

más de 10 años hace

Resuelto


While loop: Summation
Write a while loop that assigns summedValue with the sum of all values from 1 to userNum. Assume userNum is always greater than ...

más de 10 años hace

Resuelto


Insect population
An insect population doubles every generation. * Write a while loop that iterates numGeneration times. * Write a statment ...

más de 10 años hace

Resuelto


While loop with branching
Write a while loop that adjusts userValue while userValue is less than 0 or greater than 80. If userValue is greater than 80, th...

más de 10 años hace

Resuelto


While loop with multiple conditions
Write a while loop that multiplies userValue by 2 while userValue is not 10 and while userValue is less than 25.

más de 10 años hace

Resuelto


Writing a while loop
Write a while loop that continues to increment userValue by 5 until userValue is less than 0.

más de 10 años hace

Resuelto


Preset rpm speeds
A centrifuge has four preset speeds. Write a switch statement that assigns rpmSetting with the appropriate rpm speed given prese...

más de 10 años hace

Resuelto


Convert letters to Greek letter
Write a switch statement that checks origLetter. If origLetter is 'a' or 'A', assign greekLetter with 'Alpha'. If origLetter is ...

más de 10 años hace

Resuelto


Homemade: Control Charts
This problem is a simple version of control charts in statistics. Intput consists from 30 or more observations. * Upper limi...

más de 10 años hace

Resuelto


find whether it is prime or not
For a given number find if its prime

más de 10 años hace

Resuelto


Is my wife right
This is question relies on the dilemma that every married man faces in his life. Which has one simple ans: So whatever the qu...

más de 10 años hace

Resuelto


Delete blanks at the end of string
you got to delete all blank spaces which appears at the end of string

más de 10 años hace

Resuelto


Find smallest number to leave a remainder of 1
given a vector of numbers, find the smallest number to be divisible by all of them with a remainder of 1. Note: input numbers wi...

más de 10 años hace

Resuelto


Writing a recursive math function
Complete the recursive function RaiseToPower(). Ex: If userBase is 2 and userExponent is 4, then raisedValue is assigned wit...

más de 10 años hace

Resuelto


Prime checker
Complete the recursive function to determine if a number is prime. Skeletal code is provided in the PrimeChecker function.

más de 10 años hace

Resuelto


Number of pennies
Complete the function ConvertToPennies() so that the function returns the total number of pennies given a number of dollars and ...

más de 10 años hace

Resuelto


Create sequnce 1 4 9 16 25.........
Create sequnce 1 4 9 16 25......... upto entered input value using matlab scripting commands

más de 10 años hace

Resuelto


Output a vector which is table of 9
Output a vector which is table of 9

más de 10 años hace

Resuelto


Sum my indices
Given inputs M and N (in that order), output an MxN matrix whose entries are equal to the sum of their indices. Example input...

más de 10 años hace

Resuelto


Forward Substitution
Solve a lower triangular linear set of equations as described in the following link: http://www.people.virginia.edu/~teh1m/cody/...

más de 10 años hace

Resuelto


Find the minimum element of the matrix
Example: If x = [3 9; 5 2] then y = 2

más de 10 años hace

Resuelto


Find the optimal shape to bring the maximum product by a given perimeter
Find the optimal shape (with N sides) to bring the maximum product of the sides length, by a given perimeter. Example: Assumin...

más de 10 años hace

Resuelto


Calculate Simple Intrest for given data
P,N,R stands for Principle amount, No. of years and rate of intrest resp. Calculate intrest I

más de 10 años hace

Resuelto


Remove All elements less than 5
Given an input vector x, remove all elements of x less than 5 . Example: Input x = [ 1 2 5 7 3 ] Output y is [ 5 7 ...

más de 10 años hace

Resuelto


check whether it is prime or not
Given a number,check whether it is prime or not. If prime output is true else false

más de 10 años hace

Resuelto


Equate
Equate y to x

más de 10 años hace

Resuelto


calculate Compound Intrest
Calculate Compound Intrest for given data

más de 10 años hace

Cargar más