Gelöst


Basic Physics I
Calculate the energy by the famous formula of Albert Einstein.

etwa ein Monat vor

Gelöst


Find The Area Of The Circle
Find the area of the Circle using PI.

etwa ein Monat vor

Gelöst


Find The Area Of Triangle Using Base & Height
You should find the area of the Triangle using base and height. Good Luck!

etwa ein Monat vor

Gelöst


Get The Opposite Of The Number Without Negative (-) On It
You must get the opposite of the number X without making -X. Hint: You can make it by Subtraction and Multiplication.

etwa ein Monat vor

Gelöst


If
If a more than zero, then b = true.

etwa ein Monat vor

Gelöst


If-Else
If a more than zero, b = true, else, b = false.

etwa ein Monat vor

Gelöst


If-Elseif-Else
If a more than zero, b = true, if a = zero , b = zero, else, b = false.

etwa ein Monat vor

Gelöst


Nested If(s)
If a greater than zero, then check, if a = greater that 1 and less than 10, then b = true, else, b = false.

etwa ein Monat vor

Gelöst


AND
If a greater than 0 and n less than 10, b = true, else, b = false. (Checking a should be in one line by AND special sign in MAT...

etwa ein Monat vor

Gelöst


OR
If a greater than zero or c less than 10, b = true, else, b = false.

etwa ein Monat vor

Gelöst


NOT
If a not equal to zero, b = true, else, b = false.

etwa ein Monat vor

Gelöst


Switch-Case-Otherwise
You should make random numbers to 10, by 3 rows and 3 columns. Cases from 1 to 3, b = true. Otherwise, b = false.

etwa ein Monat vor

Gelöst


Problem Set 1
You will get the vector "v", you should put it's length in a variable called "lngth", then... If it's length from 1 to 5, sz = ...

etwa ein Monat vor

Gelöst


Problem Set 2
Make a calculator by the four main operators (op): + - * / And the two numbers (n1, n2). Don't forget to check to divisio...

etwa ein Monat vor

Gelöst


varargin
Write a function that can take a diffrent Amount of inputs for every run Which gives you the sum of all Inputs. Example: f(a,b...

etwa ein Monat vor

Gelöst


Prime or No
If the number is prime, make theCase = "YES", else, make it "NO".

etwa ein Monat vor

Gelöst


Multiply the Diagonals of Two Vectors
Find the diagonals of vectors a and b and multiply them.

etwa ein Monat vor

Gelöst


Replace All Below-Average Elements in a Matrix with Zero
Given a 2D matrix of numbers, find the mean of all elements. Replace any element that is strictly below the mean with 0. Return ...

etwa 2 Monate vor

Gelöst


Triangle Area Using Heron's Formula
Given the three side lengths a, b, and c of a triangle, calculate its area using Heron's formula and round to 4 decimal places. ...

etwa 2 Monate vor

Gelöst


Count the vowels in a string
Given a string, return the number of vowels (a, e, i, o, u — case insensitive). Example: count_vowels('Hello World') returns 3

etwa 2 Monate vor

Gelöst


Keep Only Even Numbers
Given a vector, return a new vector containing only the even numbers in their original order. Example: keep_evens([1 2 3 4 5 6])...

etwa 2 Monate vor

Gelöst


Sum the main diagonal of a matrix
Given a square matrix, return the sum of its main diagonal elements. Example: diag_sum([1 2 3; 4 5 6; 7 8 9]) returns 15

2 Monate vor

Gelöst


Convert Celsius temperature to Fahrenheit
Given a temperature in Celsius, return the equivalent in Fahrenheit. Formula: F = C * 9/5 + 32Example: cel2fahr(100) returns 212...

2 Monate vor

Gelöst


Count how many elements are above the mean
Given a vector, return the count of elements strictly greater than the mean of the vector. Example: above_mean_count([1 2 3 4 5]...

2 Monate vor

Gelöst


Determine if a number is prime
Given a positive integer n, return 1 if it is prime, 0 otherwise. Example: is_prime(7) returns 1, is_prime(4) returns 0

2 Monate vor

Gelöst


Reverse the characters of a string
Given a string, return the string with characters in reverse order. Example: rev_string('hello') returns 'olleh'

2 Monate vor

Gelöst


[Mảng 1 Chiều Cơ Bản]. Bài 3. Số nhỏ nhất
Cho mảng số nguyên A[] gồm N phần tử, hãy đếm xem trong mảng của bạn có bao nhiêu số có cùng giá trị nhỏ nhất. Ví dụ mảng A = {1...

2 Monate vor

Gelöst


Find vampire numbers
A vampire number is a number v that is the product of two numbers x and y such that the following conditions are satisfied: at ...

6 Monate vor

Gelöst


Multiplying the Sums of Two Arrays
Get two arrays, add the values within the array up, and then multiply the two total values. [2,3]*[3,6] 5*18 90

6 Monate vor

Gelöst


Mach Number Calculator
Create a solver which converts a speed in km/s to a Mach Number Round to 2 decimal places Requires: Mach Number Formula (ea...

6 Monate vor

Mehr laden