Solved


ICFP 2024 Programming Contest June 28 thru July 1
This is to announce the annual ICFP programming contest for 2024. The ICFP 2024 homepage link is ICFP 2024 . Registration will...

11 days ago

Solved


Determine Matrix Dimensions Without Using size or length
Write a function that takes a matrix A as input and returns a row vector containing the number of rows and the number of columns...

11 days ago

Solved


Fixed-Point Iteration
Perform fixed-point iteration to estimate the root of a nonlinear equation.

12 days ago

Solved


Number Puzzle - 108

12 days ago

Solved


Blood test?
Assuming: the genetic makeup (genotype) of a child is coded as a pair with two components, combining half genotype of one parent...

12 days ago

Solved


How tall will my cactus be?
My Barbed Wire Cactus is a desert cactus that relies on just the right amount of rainfall to stay healthy. Given a 1×12 vector...

12 days ago

Solved


Subtraction
Subtract a from b.

12 days ago

Solved


sum of binomial series

13 days ago

Solved


Return the Square of a Number
Write a function that takes a single numeric input x and returns its square. That is, given x, your function should output x^2....

13 days ago

Solved


Find the worst traffic yesterday
A traffic monitoring system records traffic density for the highway in front of the MathWorks headquarters using a raspberry pi ...

13 days ago

Solved


Cycling — Normalized Power
In cycling, a power meter is an indispensable tool to record power output (in Watts) and measure fitness gains and performance m...

13 days ago

Solved


Multiplication
Multiply a and b.

14 days ago

Solved


Mandelbrot Number Test [Real+Imaginary]
The <http://en.wikipedia.org/wiki/Mandelbrot_set Mandelbrot Set> is built around a simple iterative equation. z(1) = c z...

14 days ago

Solved


Squares
Find the square of x.

14 days ago

Solved


Find the largest sum of any contiguous subarray
Given an array of N integers, find the contiguous subarray (which must contain at least one number) with the maximum sum and ret...

14 days ago

Solved


Return the sum of all even numbers in a vector
Write a function that takes a vector of integers and returns the sum of all even numbers.

14 days ago

Solved


Unique rows
A matrix is given as the input. Remove any duplicate rows from the matrix. keep the first occurrence.

14 days ago

Solved


Division
Divide a by b.

14 days ago

Solved


Final Stone Weight
You are given an array with weights of stones. The objective is to determine the weight of the final stone remaining after all c...

14 days ago

Solved


Pascal's Triangle
Create a matrix of size N x N containing a Pascal's Triangle that starts from the upper left corner according to the test cases ...

14 days ago

Solved


New Cody Time-Out Time
Determine the New Cody Time-Out Time Consume the Maximum Possible Time without Timing out. *Score:* 60 (sec) - Time (sec) ...

14 days ago

Solved


Sum of even numbers in a vector
Write a function that takes a vector of numbers and returns the sum of all the even numbers in the vector.

15 days ago

Solved


Linearly Spaced Array
Create a linearly spaced array from 0 to x consisting of y elements.

15 days ago

Solved


Velocity of a Particle Under Constant Acceleration Using Energy Methods
Scientists at CERN are testing a linear accelerator that uses electromagnetic force to accelerate charged particles along a stra...

15 days ago

Solved


Newton’s Third Law – Action and Reaction in Rocket Launch
Scientists at SpaceX are testing a rocket engine before launch from their facility. When the rocket pushes exhaust gases downwa...

15 days ago

Solved


Moment of Inertia Using Parallel Axis Theorem
Engineers at Indian Space Research Organisation are designing a satellite with extendable robotic arms. When the arms extend out...

15 days ago

Solved


Angular Velocity of a Falling Rod Pivoted at One End (Energy + Rotation)
Engineers at Indian Institute of Technology Bombay are designing a rotating docking arm for a future space station. The arm is m...

15 days ago

Solved


Angular Velocity of a Falling Rod Pivoted at One End (Energy + Rotation)
Engineers at Indian Institute of Technology Bombay are designing a rotating docking arm for a future space station. The arm is m...

15 days ago

Solved


Newton’s First Law – Net Force in Equilibrium
At a manufacturing plant operated by Reliance Industries in Jamnagar, a heavy equipment box rests on the factory floor. Even th...

16 days ago

Load more