Solved


Simulate full-stop emergency braking scenario.
Emergency braking events demand rapid deceleration to bring the vehicle safely to rest. Given initial vehicle speed and constant...

9 days ago

Solved


EPS Assist Map with respect to the Vehicle Speed
In Electric Power Steering (EPS), assist torque reduces as vehicle speed increases to improve stability at high speeds. Given S...

9 days ago

Solved


Convert Fahrenheit to Celsius
Calculate the Celsius temperature C given the Fahrenheit temperature F. Examples: Input F = 90 Output C is 32.22 I...

9 days ago

Solved


multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

9 days ago

Solved


Steering Torque Estimation
Steering torque is generated due to lateral tire forces acting through the steering mechanism. Given Lateral force Fy and Lever...

9 days ago

Solved


Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

9 days ago

Solved


Matlab Basics - Rounding III
Write a script to round a large number to the nearest 10,000 e.g. x = 12,358,466,243 --> y = 12,358,470,000

9 days ago

Solved


Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

9 days ago

Solved


MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

9 days ago

Solved


MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

9 days ago

Solved


MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

9 days ago

Solved


Return 'on' or 'off'
When the input is true, return 'on', otherwise, return 'off'.

9 days ago

Solved


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

9 days ago

Solved


factorial of a number x
Factorial of a number x

9 days ago

Solved


Find the efficiency

9 days ago

Solved


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

9 days ago

Solved


MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

9 days ago

Solved


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 Celsi...

9 days ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

1 month ago

Solved


Estimate brake line pressure required for a given force.
Hydraulic braking systems amplify pedal input to generate braking force. Given braking force and piston area, compute the hydrau...

1 month ago

Solved


Newton’s First Law – Force Needed to Start Motion
At Indira Gandhi International Airport, a heavy suitcase is sitting on a stationary conveyor belt. The belt is initially at rest...

2 months ago

Solved


Newton’s Second Law – Acceleration of a Mars Rover
At NASA's robotics laboratory, engineers are preparing a prototype rover for a future mission to Mars. Before sending the rover...

2 months ago

Solved


Newton’s Second Law – Force Required to Accelerate a Rocket Cart
At ISRO's training center, engineering students are testing a small rocket-powered cart on a straight frictionless track. The ca...

2 months ago

Solved


Newton’s Second Law – Motion on an Inclined Plane
In the mountainous region near Manali, a rescue team is testing a motorized emergency vehicle designed to climb steep slopes. E...

2 months ago

Solved


Newton’s Second Law – Normal Force in an Accelerating Elevator
Engineers at Otis Elevator Company are testing a new high-speed elevator installed in the Burj Khalifa. When the elevator accel...

2 months ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

2 months ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

2 months ago

Solved


Return area of square
Side of square=input=a Area=output=b

2 months ago

Solved


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

2 months ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

2 months ago