Vector raised to a power, element-wise (★)
Given a vector A and a number x, raise each element of the vector to the power of x. Thus, if A = [2 5 7 1] and x = 0.5, then
...
How many apple
You have x apples I take from you y apples now how many apples you have ?
5年以上 前
解決済み
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...
5年以上 前
解決済み
Element-wise vector product (★)
Given two vectors x and y, compute their element-wise product z.
Thus, if x = [1 3 5] and y = [0.5 -1 2], then
z = [1*0.5...
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 ...
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>>
...