Community Profile # ILDEBERTO DE LOS SANTOS RUIZ

### Tecnológico Nacional de México

Last seen: 16 giorni fa Attivo dal 2019

Profesor en el TecNM, adscrito al Instituto Tecnológico de Tuxtla Gutiérrez.

#### Statistiche

All
• • • • • • • • • #### Content Feed

Visto da

Risolto

Bit calculation
Give me the count of numbers from 1 to n having their last two bits as 0. For example function y = ret_count(4) y = x...

8 mesi fa

Risolto

Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<https://imgur...

8 mesi fa

Risolto

Get the length of a given vector
Given a vector x, the output y should equal the length of x.

11 mesi fa

Risolto

Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

11 mesi fa

Risolto

Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

11 mesi fa

Risolto

Find max
Find the maximum value of a given vector or matrix.

11 mesi fa

Risolto

Inner product of two vectors
Find the inner product of two vectors.

11 mesi fa

Risolto

Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

11 mesi fa

Risolto

Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

quasi 2 anni fa

Risolto

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

quasi 2 anni fa

Risolto

The Birthday Phenomenon
First off, leap years are not being considered for this. In fact the year that people are born shouldn't be taken into considera...

quasi 2 anni fa

Risolto

Don't be mean. Be nice!
For this problem, you will be given a range of single digits R, and a separate number K. You job is to calculate the mean of al...

quasi 2 anni fa

Risolto

ZigZag matrix with reflected format
ZigZag MATRIX with REFLECTED format. We have only input x. We have to create a matrix in the following pattern. input n=5...

quasi 2 anni fa

Risolto

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

quasi 2 anni fa

Risolto

Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

circa 3 anni fa