Resuelto


Perfect Square
Determine if the input is a perfect square (square of an integer) or not. Example - If input is 25(==5^2), return 1. If input...

10 meses hace

Resuelto


Number Puzzle - 087

10 meses hace

Resuelto


What percentage?
Calculate the output c as the percentage of a on b for given a and b.

10 meses hace

Resuelto


Number Puzzle - 086

10 meses hace

Resuelto


Find the sum of the largest two elements in a vector
With this one, you have to find the two largest elements in a vector and output the sum of those numbers.

10 meses hace

Resuelto


Diagonal Product of A Square Matrix
For a matrix A, calculate the product of its diagonal elements. * Assume all input matrices are square & corresponding element...

10 meses hace

Resuelto


Find offset of given matrix element from first matrix element
Given matrix m and an element of that matrix, return the offset from its first element. e.g. m=[11 2 34; 40 51 6; 87 8 109] el...

10 meses hace

Resuelto


Weave two matrices together to form one matrix
Take the first column from matrix a, then insert the first column from matrix b, and so on. For example: a = [1 2 3 4]; b ...

10 meses hace

Resuelto


Cricket - How Much More to Beat Bradman?
Sir Don Bradman famously needed only 4 runs in his final innings to retire with an average of 100. Out for a duck, he ended inst...

10 meses hace

Resuelto


Alternating sum
Given vector x, calculate the alternating sum y = x(1) - x(2) + x(3) - x(4) + ...

10 meses hace

Resuelto


Find Logic 15

10 meses hace

Resuelto


Draw a '7' in a zero matrix!

10 meses hace

Resuelto


The Case of the Missing Prototype – Calculate the Car’s Average Speed Between GPS Readings to Trace the Escape Route
Using GPS data, you’ve obtained the total distance (in meters) traveled by the suspect’s car at equal time intervals.These readi...

10 meses hace

Resuelto


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

10 meses hace

Resuelto


Number Puzzle - 070

10 meses hace

Resuelto


Number Puzzle - 067

10 meses hace

Resuelto


Number Puzzles - 011

10 meses hace

Resuelto


Number Puzzles - 007

10 meses hace

Resuelto


Determine the square root
Determine the square root of the value the user has entered, n.

10 meses hace

Resuelto


Pluralization
Define function plu(n) that returns '' (an empty string) if n=1, or 's' otherwise. This is handy for displaying messages from a...

10 meses hace

Resuelto


04 - Scalar Equations 1
Define the variable a: <<http://samle.dk/STTBDP/Assignment1_4-a.png>> Use this to calculate x: <<http://samle.dk/STTBD...

10 meses hace

Resuelto


Number Puzzle - 035

10 meses hace

Resuelto


Number Puzzle - 032

10 meses hace

Resuelto


Sum the two halves of an array with an even number of elements
given an array of an even number of elements, sum the front and back half of the array and return the sums as an array For exam...

10 meses hace

Resuelto


convert between ascii and characters
I have seen multiple problems like this but none of them have a robust test suite associated with them. The first input C is ...

10 meses hace

Resuelto


Find the position of last minimum value in an integer array with numbers
If x = [2 6 4 9 -10 3 1 5 -10] then the output should be 9, because last minimum value (-10) lies at the 9th position.

10 meses hace

Resuelto


Array Width (no usage of size)
Find the array width. Size may not be used.

10 meses hace

Resuelto


Function substitution (1)
Evaluate the function for the given values of the variables N and t

10 meses hace

Resuelto


Simple Interest : Calculate Future Value
Theorem : Simple Interest where; F : Future Value P : Present Value r : Annual simple interest rate (decimal) t : Time in...

10 meses hace

Resuelto


compter le nombre de zéros dans une matrice
écrire une fonction count_zeros qui prend en entrée une matrice M et détermine le nombre de zéros dans une matrice

10 meses hace

Cargar más