Community Profile

# Rafael Hernandez-Walls

##### Last seen: Today
1,209 total contributions since 2010

My interest is everything related to numerical schemes applied to PDE and Oceanography, UABC.

View all

Contributions in
View by

Solved

Perimeter of a square!
Calculate the circumference of the square whose side is n

6 hours ago

Solved

Find my daddy long leg (No 's')
Given the ratio of the two legs (longer / shorter), and the hypotenuse length, find the value of the bigger leg.

18 hours ago

Solved

Get the area of ​​the square.
Four circles are inscribed in the square ABCD. The perimeter of each circle is *aπ*. <<http://imgfz.com/i/UzgCJut.png>> Gi...

6 days ago

Solved

Find the area of ​​the square
There are *n²* circles inscribed in the square ABCD. The perimeter of each circle is *aπ* <<http://imgfz.com/i/3wzCeAT.png>> ...

6 days ago

Solved

Spiral Out - 01
Create a spiral matrix ( clock-wise direction ) of size n. Try to do that without using the built-in function.

8 days ago

Solved

Compute the missing quantity among P, V, T for an ideal gas
Consider 100 mol of helium gas at a certain pressure (P), volume (V), and temperature (T). Assuming that the ideal gas law appli...

9 days ago

Solved

Equilateral Triangle
The length of one side of the equilateral triangle is a. Calculate the area of ​​the equilateral triangle.

10 days ago

Solved

Newton's Motion Law
F is force, m is mass, and a is acceleration. Calculate the force for an object.

10 days ago

Solved

Momentum of an Object
P is momentum, m is mass, and v is velocity. Calculate the momentum for an object.

10 days ago

Solved

Matrix problem for beginners
Make a matrix [0,0,0;1,1,1;2,2,2]. X=[0,1,2]

10 days ago

Solved

Matrix for beginners
Multiply x and y elemwise.

10 days ago

Solved

Divide pi
Divide pi by x!

10 days ago

Solved

Multiply pi
Multiply pi with x!

10 days ago

Solved

El concepto de pendiente o inclinación de una función recta es muy intuitivo para cualquier persona. Desde el punto de vista mat...

14 days ago

Solved

¿Es una función exponencial?
Crea una función que permita analizar si los datos dados por el usuario ( *x* e *y*) se relacionan por medio de una función expo...

14 days ago

Solved

Find the maximum number of decimal places in a set of numbers
Given a vector or matrix of values, calculate the maximum number of decimal places within the input. Trailing zeros do not coun...

17 days ago

Solved

Find 0 in array
Given array find where there 0 is.

18 days ago

Solved

MATLAB Basic: rounding III

18 days ago

Solved

Determina el número de cifras de un número
Crea una función que te devuelva el número de cifras de un número. Algunos ejemplos para ayudarte serían: El número 125 tie...

18 days ago

Solved

Determina si el número es primo
Primero, antes que nada: ¿Qué es un número primo? Un número primo es cualquier número que solamente se puede dividir por 1 y ...

18 days ago

Solved

Sum of series
a(n) = n^2 - (n-1)^2 find the summation of the series upto n i.e. a(1)+a(2)+...+a(n)

18 days ago

Solved

factorial
calculate x!

18 days ago

Solved

Sum Sum Sum!
Calculate the sum of the natural numbers from 1 to n

18 days ago

Solved

Sum sum!!!
Sum the numbers from 1 to n

18 days ago

Solved

Find the coefficients for numerical integration using Simpson's rule
For using numerical integration using Simpson's rule, we need some coefficients to be determined first. Suppose the n is the nu...

19 days ago

Solved

¿Es una parábola?
Dados los datos de las magnitudes _*x*_ e _*y*_, crear una función que permita conocer si se trata de una parábola o no, indican...

19 days ago

Solved

Calculate Engine Power
Calculate Engine Power (P) in kW given the values of Torque(M) in Nm and Engine Speed(n) in rpm

19 days ago

Solved

The answer to life the universe and everything
Write a function that gives the answer to life the universe and everything to every input except the input is 42. In this case t...

19 days ago

Solved