Gelöst


Summation of array
Given an array, Find the sum of all of the elements in it Examples: Input x = [1 2 3 5; 4 5 6 7]; Output y is 33

mehr als 5 Jahre vor

Gelöst


Deleting an element in a matrix
For vector Grades=[98 56 78 34 100 88 87], delete the number 78 to get the following matrix Grades=[98 56 34 100 88 87] **re...

mehr als 5 Jahre vor

Gelöst


Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

mehr als 5 Jahre vor

Gelöst


Find the sum of the elements in the "second" diagonal
Find the sum of the elements in the diagonal that starts at the top-right corner and ends at the bottom-left corner.

mehr als 5 Jahre vor

Gelöst


Find Factrorial without using built-in function
A number is given, you have to find the factorial of the number without using built-in factroial function. You may use loops....

mehr als 5 Jahre vor

Gelöst


Sum the real and imaginary parts of a complex number
Sum the real and imaginary parts of a complex number. Example c = 1+2i has the solution 1 + 2 = 3

mehr als 5 Jahre vor

Gelöst


Sum the squares of numbers from 1 to n
For a given value of n return the sum of square of numbers from 1 to n. Example For n = 2 then sum of squares = 5 (1^2 + ...

mehr als 5 Jahre vor

Gelöst


Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]

mehr als 5 Jahre vor

Gelöst


Reverse a string
Reverse the given string. Example input = 'reverse' output = 'esrever'

mehr als 5 Jahre vor

Gelöst


Volume of Cylinder
Compute the Circumference of a Cylinder given it's radius and height.Here x is the radius and y is the height

mehr als 5 Jahre vor

Gelöst


factorial of a number x
Factorial of a number x

mehr als 5 Jahre vor

Gelöst


10% Discount

mehr als 5 Jahre vor

Problem


10% Discount

mehr als 5 Jahre vor | 0 | 84 Lösungsvorschläge

Gelöst


Find Sum of array

mehr als 5 Jahre vor

Problem


Find Sum of array

mehr als 5 Jahre vor | 0 | 86 Lösungsvorschläge

Gelöst


If-then-else
Complete the function below such that if the value of x is in the range 10 to 14, inclusive, the value 18 is assigned to y. Oth...

mehr als 5 Jahre vor

Gelöst


Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

mehr als 5 Jahre vor

Gelöst


Find Logic 12

mehr als 5 Jahre vor

Problem


Find Logic 12

mehr als 5 Jahre vor | 3 | 352 Lösungsvorschläge

Gelöst


Find Logic 11

mehr als 5 Jahre vor

Problem


Find Logic 11

mehr als 5 Jahre vor | 4 | 369 Lösungsvorschläge

Gelöst


Compute Fibonacci Number
Compute the _n_-th Fibonacci Number f(0) = 0, f(1) = 1, f(2) = 1, f(3) = 2, ... f(42) = 267914296

mehr als 5 Jahre vor

Gelöst


Generate the sum of Squares of the given number
|P(n) = 1^2 + 2^2 + ... + n^2| |P(1) = 1| |P(2) = 1 + 4 = 5;| |P(3) = 5 + 9 = 14;| |P(4) = 14 + 16 = 30;|

mehr als 5 Jahre vor

Gelöst


How to get the additive inverse of a uint8.
Given x as a uint8 find the additive inverse y.

mehr als 5 Jahre vor

Gelöst


Determine the length of a string of characters
Determine the length of a string of characters

mehr als 5 Jahre vor

Gelöst


Square a Number
Given an input x, return y, which is equal to the square of x.

mehr als 5 Jahre vor

Gelöst


Find Logic 10

mehr als 5 Jahre vor

Problem


Find Logic 10

mehr als 5 Jahre vor | 4 | 416 Lösungsvorschläge

Gelöst


Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<https://i.imgur.com/jlZDHhq.png>> Image courtesy of <http://up...

mehr als 5 Jahre vor

Gelöst


Find Logic 9

mehr als 5 Jahre vor

Mehr laden