Solved


Laws of motion 1

12 months ago

Solved


Laws of motion 3

12 months ago

Solved


Dimensions of a rectangle
The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...

12 months ago

Solved


Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

12 months ago

Solved


Mass Conversion 1

12 months ago

Solved


Find the peak 3n+1 sequence value
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

12 months ago

Solved


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

12 months ago

Solved


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

12 months ago

Solved


State of Charge (SoC) Estimation for a Battery
The State of Charge (SoC) of a battery represents its remaining charge as a percentage. It can be calculated using the formula: ...

12 months ago

Solved


Voltage Divider Calculation
A voltage divider is a simple circuit used to obtain a reduced voltage from a higher voltage source using two resistors in serie...

12 months ago

Solved


Inductor Energy Storage Calculation
The energy (EEE) stored in an inductor is given by the formula: Where: E is the energy in joules (J) L is the inductance in...

12 months ago

Solved


Battery Discharge Time Estimation
In a Battery Management System (BMS), the estimated discharge time (T) of a battery can be calculated as: ​​ where: ​ is the ...

12 months ago

Solved


Find the two most distant points
Given a collection of points, return the indices of the rows that contain the two points most distant from one another. The inpu...

12 months ago

Solved


kmph to mps
convert kilometer per hour to meter per second

12 months ago

Solved


Given area find sides
In a right angle triangle given area 'A' one arm=x, another arm=2x then find the value of x. For example, area A=400 then ...

12 months ago

Solved


Find max
Find the maximum value of a given vector or matrix.

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

12 months ago

Solved


Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

12 months ago

Solved


The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

12 months ago

Solved


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

12 months ago

Solved


MATCH THE STRINGS (2 CHAR) very easy
Match the given string based on first two characters on each string. For example A='harsa'; b='harish'; result '1' ...

12 months ago

Solved


Matlab Basics II - squares
Write a function that takes matrix A, and squares each element in the matrix example: A = [1 2 3] output = [1 4 9]

12 months ago

Solved


Joules to Megatons of TnT
Given joules, J, make a function that converts to megatons of TNT.

12 months ago

Solved


MPS to MPH
Given the speed in miles per second, find the speed in miles per hour.

12 months ago

Solved


Kinetic Energy
Given mass, m, and kinetic energy, KE, find the velocity of the object.

12 months ago

Solved


Radians to Degrees
Convert radians to degrees.

12 months ago

Solved


metre to feet converter
The idea is to make a converter, which exchange meters to feets. We use a factor of 1m = 3.281*1f. so 3m are equals to 9.843 m...

12 months ago

Solved


Real

12 months ago

Solved


Calculate y=2
Find the value of x so that y=2

12 months ago

Solved


Simple Electrical Power Calculation
Calculate the electrical power using the formula: P=V×I where: V is the voltage (in volts) I is the current (in amperes)

12 months ago

Load more