Solved


Identify primorial primes
Cody Problems <https://www.mathworks.com/matlabcentral/cody/problems/46054-count-trailing-zeros-in-a-primorial 46054> and <https...

6 months ago

Solved


Count trailing zeros in a primorial
<https://www.mathworks.com/matlabcentral/cody/problems/44068-the-number-of-trailing-zero-digit-of-a-factorial Cody Problem 44068...

6 months ago

Solved


Find the last non-zero digit in a primorial
<https://www.mathworks.com/matlabcentral/cody/groups/2001/problems/45251 Cody Problem 45251> asked us to find the last non-zero ...

6 months ago

Solved


Given the ratio of the two legs (longer / shorter), and the hypotenuse length, find the shorter leg.
Further to the problem 43236, find the length of shorter leg P.S No built-in functions allowed

6 months ago

Solved


Engine Thermal Efficiency
The thermal efficiency of an ideal Otto cycle engine depends only on the compression ratio. A higher compression ratio yields gr...

6 months ago

Solved


Engine torque and RPM
Torque and power are related through rotational speed. Knowing brake power and engine RPM, you can back-calculate the torque del...

6 months ago

Solved


Brake Mean Effective Pressure (BMEP)
BMEP is a normalised measure of engine work output per cycle per unit displacement. It lets you compare engines of different siz...

6 months ago

Solved


Volumetric efficiency
Volumetric efficiency measures how well an engine breathes. The ratio of the actual air mass drawn in per cycle to the theoreti...

6 months ago

Solved


Fuel-Air Equivalence Ratio (Lambda)
Lambda (λ) is the ratio of actual air-fuel ratio to the stoichiometric air-fuel ratio. λ = 1 is perfect stoichiometry, λ < 1 is ...

6 months ago

Solved


Engine Displacement
Engine displacement is the total swept volume of all cylinders. It is determined by bore (cylinder diameter), stroke (piston tra...

6 months ago

Solved


Piston Mean Speed
Mean piston speed is a critical mechanical stress indicator — it sets limits on valve timing, bearing loads, and material fatigu...

6 months ago

Solved


Specific Fuel Consumption
Brake-specific fuel consumption (BSFC) measures how efficiently an engine converts fuel mass into useful work. Lower is better...

6 months ago

Solved


Swept Volume and Clearance Volume
The swept volume (V_s) is the volume displaced by the piston as it travels from BDC (Bottom Dead Centre) to TDC (Top Dead Centre...

6 months ago

Solved


Geometric Compression Ratio
The geometric compression ratio CR is the ratio of the total cylinder volume at BDC to the clearance volume at TDC. It is one of...

6 months ago

Solved


Insert same number of zeros for each of elements in the vector. Number of zeros for a given number in vector
Same number of zeros for a given number in the vector, if there is a negative number in vector, then insert zeros to precede ...

6 months ago

Solved


Radiation Heat Transfer — View Factors (3)
View factors (aka configuration factors) are utilized in some radiation heat transfer models to estimate heat transfer rates bet...

6 months ago

Solved


Radiation Heat Transfer — View Factors (2)
View factors (aka configuration factors) are utilized in some radiation heat transfer models to estimate heat transfer rates bet...

6 months ago

Solved


Avalaible area: wall construction
You need to build a wall to enclose a certain area. Calculate the available area after you build the wall. Assumptions * ...

6 months ago

Solved


Wayfinding 1 - crossing
This is the first part of a series of assignments about wayfinding. The final goal is to be able to calculate the fastest route ...

6 months ago

Solved


Do the line-segments intersect?
You are given two line segments. Do they cross? Consider one segment as (x1,y1) to (x2,y2), the other segment as (x3,y3) to (x4...

6 months ago

Solved


distance to a straight line (2D) given any 2 distinct points on this straight line
Given 2 points P1,P2 on a straight line and a 3rd point, determine the distance of the 3rd point to the straight line. Your answ...

6 months ago

Solved


Implement simple rotation cypher
If given a letter from the set: [abc...xyz] and a shift, implement a shift cypher. Example: 'abc' with a shi...

6 months ago

Solved


Flag largest magnitude swings as they occur
You have a phenomenon that produces strictly positive or negative results. delta = [1 -3 4 2 -1 6 -2 -7]; Marching through thi...

6 months ago

Solved


Data Regularization
Provided is an m-by-n integer data matrix A whose elements are drawn arbitrarily from a set *S* = [1,2,3,...,S] for any large in...

6 months ago

Solved


Moving Product (Easy)
Given an input array A, write a function *movprod(A,k,dim)* to calculate the moving product over a sliding window of length *k* ...

6 months ago

Solved


Minimum of each diagonal
The well-known <http://www.mathworks.com/help/matlab/ref/min.html min> function can operate along either the rows or the columns...

6 months ago

Solved


Fill the Matrix - 2
Input is a column vector and n. n columns will be added to the left of the input column. The first value of the row is the me...

6 months ago

Solved


Fill the matrix - 1
Input is a column vector and n. n columns will be added to the left of the input column. The first value of the row is the s...

6 months ago

Load more