Risolto


Matrix Transposition
Given a matrix and an index, perform matrix transposition as follows - Replace non-corner value of ith ring from outside, with...

quasi 4 anni fa

Risolto


Draw a fancy '7' in a zero matrix!
Given a x-by-x matrix filled with zeros (x is odd and > 3). Use 7s to draw a number 7 into it! Like this: x = 5, y = 7 7 7 7 7...

quasi 4 anni fa

Risolto


A Simple Shielding Problem

quasi 4 anni fa

Risolto


Palindrome Problem 1
Continued Problem 50033: A palindrome is one-thirteenth of the sum of and , where and are also palindrome. Give an example o...

quasi 4 anni fa

Risolto


UICBioE240 2.7
Given two 3-element vectors x1 and x2, create a 3 x 3 x 3 matrix Y where (:,:,1) has all values of x1 * x2, (:,:,2) has all valu...

quasi 4 anni fa

Risolto


Bessel Polynomials
Return the n-th Bessel polynomial Assume that n is a non-negative finite integer. bessel_poly(0) ans = 1 bessel_poly(1) ...

quasi 4 anni fa

Risolto


Convert grams of Carbon to Moles
Stoichiometry...fun!

quasi 4 anni fa

Risolto


Easy Sequences 23: Hat Guessing Game!
Consider the following Game Show: Hats, with numbers written on each, were placed on the heads of the participants. Participant...

quasi 4 anni fa

Risolto


Convert Cylindrical Cooridinates into Spherical Coordinate
For Cylindrical coordinate point, rho, fie (degrees) and z. Convert these points in Spherical Cooridinate System and save result...

quasi 4 anni fa

Risolto


Get to a number faster.
If you start with $1 and, with each move, you can either double your money or add another $1, what is the smallest number of mov...

quasi 4 anni fa

Risolto


Can you Jump?
You have been provided with input array of integers. You start with initial position at the first index of this input array, and...

quasi 4 anni fa

Risolto


Congruent
Given two numbers, check whether they are congruent to each other or not for a particular value N.

quasi 4 anni fa

Risolto


Fun with matrix
Disign a sample matrix as given in the test cases

quasi 4 anni fa

Risolto


Find the remainder - 02
Given an array of integers, find the remainder when the summation of all the elements is divided by N

quasi 4 anni fa

Risolto


Logic 7

quasi 4 anni fa

Risolto


Siren frequency and Doppler effect.
The Doppler effect is described on OpenStax University Physics at https://openstax.org/books/university-physics-volume-1/pages/1...

quasi 4 anni fa

Risolto


Poly2mask, drawpolygon or patch
Recently, I tried to plot a polygon in matlab, and I found there is a lot of embedded function that can be used. However, some f...

quasi 4 anni fa

Risolto


Easy Sequences 33: Web Trapped Ant
An ant is trapped on a spider web inside a can with open top. The can has a radius and height . A spider sitting on the outside...

quasi 4 anni fa

Risolto


Arrange the names in alphabetical order (2)
Arrange the list of names in alphabetical order, following the German standard <https://de.wikipedia.org/wiki/Alphabetische_Sort...

quasi 4 anni fa

Risolto


Arrange the names in alphabetical order (1)
Arrange the list of names in alphabetical order. The _original_ 'alphabetical order', that is: from α and β all the way throug...

quasi 4 anni fa

Risolto


Total resistance of a network of resistors in series and parallel
What is the total resistance of a network of resistors in series and in parallel? A matrix R contains the resistances (in Ohm) ...

quasi 4 anni fa

Risolto


Find the smallest integer m such that n divides m!
Write a function that takes an integer and finds the smallest integer whose factorial is divisible by . For example, if , then...

quasi 4 anni fa

Risolto


Compute the Sequence of the Day
A sequence starts with 1 and 2, and each subsequent term is the sum of the digits of the product of the previous two terms. As a...

quasi 4 anni fa

Risolto


Identify Ruth-Aaron numbers
After Hank Aaron hit his 715th home run and passed Babe Ruth’s total of 714, Carl Pomerance noticed that the union of the prime ...

quasi 4 anni fa

Risolto


Compute the effective conductivity of a heterogeneous aquifer
Slow flow through soil or another porous medium follows Darcy’s law, which relates the flow of water to the gradient in piezome...

quasi 4 anni fa

Risolto


Add 100

quasi 4 anni fa

Risolto


Rotation Matrix to Euler Angles
Given a rotation matrix, generate the Euler Angles as output [phi,theta,psi]. [phi is a rotation around X-axis, theta is rotatio...

quasi 4 anni fa

Risolto


Current through resistor
Three resistors (R2, R3, R4) are connected in parallel as shown in the figure. If this combination is connected in series with ...

quasi 4 anni fa

Carica altro