A résolu


SatCom #2: Gain of a circular 'dish' antenna
*Satellite and Space Engineering - Problem #2* _This is part of a series of problems looking at topics in satellite and space...

plus de 3 ans il y a

A résolu


SatCom #1: Wavelength of an electomagnetic wave
*Satellite and Space Engineering - Problem #1* _This is the first of a series of problems looking at topics in satellite and ...

plus de 3 ans il y a

A résolu


Top layer of a 3D pyramid
create a 3D pyramid(x,y,z) of ones(1) and zeros(0)...where pyramid part is denoted by one....nd find the top layer(x,y) of the p...

plus de 3 ans il y a

A résolu


Yoonir - 02
Find the area of a six-pointed star inscribed in a circle of radius r.

plus de 3 ans il y a

A résolu


Yoonir - 03
Find the area of a seven-pointed star inscribed in a circle of radius r.

plus de 3 ans il y a

A résolu


Fault in our Stars - 01
Create a ladder pattern with n-steps and b-width. For example, For n=2, b=5 -- the ladder would look like - '* ...

plus de 3 ans il y a

A résolu


Get Next Combination
Return next combination For example three-element combinations of 1:5 1 2 3 1 2 4 1 ...

plus de 3 ans il y a

A résolu


What time can I drive after drinking?
At T o'clock, after a hard day of Matlab, I immediately start drinking and treat myself to N pints of tasty beer. Each beer I dr...

plus de 3 ans il y a

A résolu


Create a 3D rotation matrix
Consider an arbitrary coordinate frame {A}. Consider another coordinate frame {B} which has the same origin as {A} but is rotat...

plus de 3 ans il y a

A résolu


Identify Wagstaff primes
The numbers 3, 43, and 2731 are examples of <https://mathworld.wolfram.com/WagstaffPrime.html Wagstaff primes>. Write a func...

plus de 3 ans il y a

A résolu


odd number odd sum
How many three digit numbers are there whose sum of the digits is odd?

plus de 3 ans il y a

A résolu


GCD

plus de 3 ans il y a

A résolu


En passant - 01
This is white's turn. The player moves his pawn. The pawn's previous and current positions are given. Determine whether th...

plus de 3 ans il y a

A résolu


Let's create histogram data by yourself.
We'd like to create histogram data, which first column shows the data, and second column shows the frequency. input = [1, 2, ...

plus de 3 ans il y a

A résolu


Coin distribution
Imagine, u r in a shop. ur bill is n(2200). u want to pay the bill with minimum no of coins u have. u've coins of - 2000,1000...

plus de 3 ans il y a

A résolu


Homogeneous lines and points in 2D: problem 1
In high school we learn the line equation y = mx + c where m is the gradient and c is the intercept. However this form is prob...

plus de 3 ans il y a

A résolu


Inscribed circle in a triangle
A circle of radius r is inscribed in a triangle. In the figure, Ac=x and Bc=y. values of x & y are given. Find the ar...

plus de 3 ans il y a

A résolu


Spiral Out - 01
Create a spiral matrix ( clock-wise direction ) of size n. Try to do that without using the built-in function.

plus de 3 ans il y a

A résolu


The Tortoise and the Hare - 01
Suppose in an infinitely long line, the hare is standing in position 0. From that place, it can jump either in the +ve direct...

plus de 3 ans il y a

A résolu


LCM

plus de 3 ans il y a

A résolu


Determine the factorial of a number

plus de 3 ans il y a

A résolu


Parsing Expressions - Binary Arithmetic Operators I
Parse and evaluate expressions like these: '1 + 2' '51 - 78' '42 * 9' The only operators are +, -, *. Both argu...

plus de 3 ans il y a

A résolu


$10,000 sequence
Find the nth term of the Hofstadter–Conway sequence and its chaotic cousin. <https://en.wikipedia.org/wiki/Hofstadter_sequenc...

plus de 3 ans il y a

A résolu


Sieve of Eratosthenes - 02
"Sift the Two's and Sift the Three's, The Sieve of Eratosthenes. When the multiples sublime, The numbers that remain a...

plus de 3 ans il y a

A résolu


Number generator
In this problem, a number will be given. starting with the first digit, keep on adding all subsequent digits till the state (...

plus de 3 ans il y a

A résolu


Squares in Squares - Concentric Squares
Given a number, n, create an n x n sized matrix with concentric squares of 1s from the outside in. There should be a gap between...

plus de 3 ans il y a

A résolu


How many ways?
Create a program to determine in how many ways can a regular n-gon be divided into n-2 triangles?

plus de 3 ans il y a

A résolu


Calculate value of Ra for three runs. Flow rates
Problem 5.31, page 220, from Felder and Rousseau Elementary Principles of Chemical Processes book The problem is posted here:...

plus de 3 ans il y a

A résolu


Bridge and Torch Problem - Minimum time
<https://en.wikipedia.org/wiki/Bridge_and_torch_problem Details of the problem ...> Input is crossing time list. (for exampl...

plus de 3 ans il y a

A résolu


CowBoy
A group of cowboys standing in circle form. They have one gun. The first cowboy shoot the cowboy beside him (second one) and giv...

plus de 3 ans il y a

Charger plus