Resuelto


Orthogonal lines
Check whether two given lines are orthogonal or not. Two lines are orthogonal if they create a right angle at their intersect...

más de 5 años hace

Resuelto


Triangle???
Calculate the circumference of an equilateral triangle with x

más de 5 años hace

Resuelto


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

más de 5 años hace

Resuelto


Bit to Gigabyte
1 bit = 1.25 × 10^-10 gigabytes | x is bit | y is gigabyte

más de 5 años hace

Resuelto


Create a vector of n alternating ones and zeros (★★)
Given n, your output should be a vector y of numbers such that the first number is 1 and the numbers following it alternate betw...

más de 5 años hace

Resuelto


generate the matrix
given a value n (say 4) - generate the matrix like below y= [0 1 2 3 4; -1 0 1 2 ...

más de 5 años hace

Resuelto


Check if a number belongs in the fibonacci squence
Test if integer i is a number in the fibonacci sequence. Return true if it is.

más de 5 años hace

Resuelto


factorial
calculate x!

más de 5 años hace

Resuelto


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

más de 5 años hace

Resuelto


GPA
Math's credit is 5 and you got x | Physics's credit 7 and you got y what is your GPA

más de 5 años hace

Resuelto


Convert Angstrom to Meters
Write a code that converts the angstrom unit to meters.(A is angstrom and m is meters.)

más de 5 años hace

Resuelto


Number of o rderd pairs of integers (I,J) that can be formed.
Write a MATLAB function that calculates the number of ordered pairs of integers (I, J) that can be formed satisfying the condit...

más de 5 años hace

Resuelto


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 ...

más de 5 años hace

Resuelto


Create a vector of the first n natural numbers (★)
If n = 7, your program should return a vector y, where y = [1 2 3 4 5 6 7].

más de 5 años hace

Resuelto


Sky full of stars - 01
Draw a right triangle with asterisks of size n. For example, for n=5 '* ' '** ' '*** ' '**** ' ...

más de 5 años hace

Resuelto


Convert Fahrenheit to Kelvin
Convert the value f in Fahrenheit to Kelvin

más de 5 años hace

Resuelto


Repeat elements of a vector
Repeat each elements of a given vector according to their values. * x=[1,2,1,3] * y=[1,2,2,1,3,3,3]

más de 5 años hace

Resuelto


Check prime numbers
Let x, return 1 if x is a prime number, 0 otherwise e.g x = 7, return y =1; x = 6 return y = 0;

más de 5 años hace

Resuelto


Sort even numbers from 1 to 100
Sort even numbers from 1 to 100 for ex: x=1:100

más de 5 años hace

Resuelto


How many apple
You have x apples I take from you y apples now how many apples you have ?

más de 5 años hace

Resuelto


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...

más de 5 años hace

Resuelto


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...

más de 5 años hace

Resuelto


Create a vector with n repeated values of a number x (★★)
If x=3 and n=7 then the vector y would be y=[3 3 3 3 3 3 3]

más de 5 años hace

Resuelto


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 ...

más de 5 años hace

Resuelto


find

más de 5 años hace

Resuelto


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>> ...

más de 5 años hace

Resuelto


find

más de 5 años hace

Resuelto


Tribonacci Sequence
Generate the tribonacci sequence upto n

más de 5 años hace

Resuelto


Wythoff Sequence
Find the lower Wythoff sequence up to n. For more information, <https://oeis.org/A000201>

más de 5 años hace

Resuelto


python

más de 5 años hace

Cargar más