Community Profile

photo

Ebrahim Mahmoud


Last seen: 2일 전
188 2020 이후 총 참여 횟수

Ebrahim Mahmoud's 배지

  • First Review
  • Community Group Solver
  • Introduction to MATLAB Master
  • Solver

세부 정보 보기...

참여 게시물
보기 기준

해결됨


Project Euler: Problem 10, Sum of Primes
The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below the input, N. Thank you <http:/...

약 1달 전

해결됨


Project Euler: Problem 6, Natural numbers, squares and sums.
The sum of the squares of the first ten natural numbers is, 1^2 + 2^2 + ... + 10^2 = 385 The square of the sum of the first ...

약 1달 전

해결됨


Which doors are open?
There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut the...

약 1달 전

해결됨


2048 Next Move
Given a board in the game 2048 (see the game here: <http://gabrielecirulli.github.io/2048/ 2048>) and a direction ('up','down','...

약 1달 전

해결됨


Test of Quiz
Answer the questions and write in vector. Only one answer is correct. The founder of fuzzy logic is 1a) D. Golberg 1b)...

약 1달 전

해결됨


Wheat on a chessboard pt 1
If a chessboard were to have wheat placed upon each square such that one grain were placed on the first square and each successi...

약 1달 전

해결됨


Spot the First Occurrence of 5
This problem series invites you to solve two simple problems related to the integer NUMBER FIVE, in order to celebrate <https://...

약 1달 전

해결됨


Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

약 2달 전

해결됨


Pascal's Triangle
Given an integer n >= 0, generate the length n+1 row vector representing the n-th row of <http://en.wikipedia.org/wiki/Pascals_t...

약 2달 전

해결됨


Fibonacci-Sum of Squares
Given the Fibonacci sequence defined by the following recursive relation, * F(n) = F(n-1) + F(n-2) * where F(1) = 1 and F(1)...

2달 전

해결됨


Project Euler: Problem 2, Sum of even Fibonacci
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 te...

2달 전

해결됨


Sum of series VI
What is the sum of the following sequence: Σk⋅k! for k=1...n for different n?

2달 전

해결됨


Sum of series V
What is the sum of the following sequence: Σk(k+1) for k=1...n for different n?

2달 전

해결됨


Sum of series IV
What is the sum of the following sequence: Σ(-1)^(k+1) (2k-1)^2 for k=1...n for different n?

2달 전

해결됨


Sum of series III
What is the sum of the following sequence: Σ(2k-1)^3 for k=1...n for different n?

2달 전

해결됨


Sum of series II
What is the sum of the following sequence: Σ(2k-1)^2 for k=1...n for different n?

2달 전

해결됨


Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?

2달 전

해결됨


Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

2달 전

해결됨


BULLSEYE Part 2: Reference Problem 18 BULLSEYE
Given n (always odd), return output a that has concentric rings of the 1s and 0s around the center point. Examples: Input ...

3달 전

해결됨


ZigZag matrix with reflected format
ZigZag MATRIX with REFLECTED format. We have only input x. We have to create a matrix in the following pattern. input n=5...

3달 전

해결됨


convert matrix to single column
given any matrix, convert it to single column

3달 전

해결됨


Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.

3달 전

해결됨


Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

3달 전

해결됨


Back to basics 11 - Max Integer
Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive integer MATLAB can handle.

3달 전

해결됨


Back to basics 8 - Matrix Diagonals
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector of numbers, output a square array with the...

3달 전

해결됨


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

3달 전

해결됨


Back to basics 21 - Matrix replicating
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, generate an output matrix that consists o...

3달 전

해결됨


given 3 sides, find area of this triangle
1:3 -> 0; 3:5 -> 6

3달 전

해결됨


Back to basics 6 - Column Vector
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector, output true or false whether it is a colu...

3달 전

해결됨


Calculate the centroid of a triangle
Info: https://en.wikipedia.org/wiki/Centroid Example Input: x = [0 0 1]; % x-coordinate y = [0 1 0]; % y-coordinat...

3달 전

Load more