Risolto


Kinetic energy calculation

2 giorni fa

Risolto


Laws of motion 1

2 giorni fa

Risolto


Laws of motion 2

2 giorni fa

Risolto


Laws of motion 3

2 giorni fa

Risolto


Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

2 giorni fa

Risolto


Laws of motion 5
Calculate the force is u are given mass and acceleration.

2 giorni fa

Risolto


Laws of motion 6

2 giorni fa

Risolto


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

2 giorni fa

Risolto


Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...

2 giorni fa

Risolto


A Five Introduction
Write a function that takes a number x as an input and returns the same value as y, unless x = 5, in which case the function sho...

2 giorni fa

Risolto


Estimating Battery Lifetime Based on Load Profile and Depth of Discharge (DoD)
In a Battery Management System (BMS), the lifetime of a battery depends on various factors, including the Depth of Discharge (Do...

2 giorni fa

Risolto


Estimating Battery Backup Time for an Inverter
In a Battery Management System (BMS), estimating the backup time of a battery-powered inverter helps determine how long it can s...

2 giorni fa

Risolto


Battery Charge Rate Calculation
In a Battery Management System (BMS), the charge rate (​) of a battery can be calculated using the formula: ​​ where: ​ is th...

2 giorni fa

Risolto


Battery State of Health (SoH) Calculation
In a Battery Management System (BMS), the State of Health (SoH) of a battery is an indicator of its overall condition. It is cal...

2 giorni fa

Risolto


Battery Charge Efficiency Calculation
In a Battery Management System (BMS), the efficiency of battery charging can be estimated using the formula: where: is the...

2 giorni fa

Risolto


Battery Voltage Drop Estimation
In a Battery Management System (BMS), the voltage drop (V_drop) due to the load can be calculated using the formula:V_drop=I×R ...

2 giorni fa

Risolto


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

2 giorni fa

Risolto


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

2 giorni fa

Risolto


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false. Example...

2 giorni fa

Risolto


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

2 giorni fa

Risolto


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 giorni fa

Risolto


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

2 giorni fa

Risolto


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

2 giorni fa

Risolto


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

2 giorni fa

Risolto


Create a vector
Create a vector from 0 to n by intervals of 2.

2 giorni fa

Risolto


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not to use d...

2 giorni fa

Risolto


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

2 giorni fa

Risolto


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

2 giorni fa

Risolto


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

2 giorni fa

Risolto


Inner product of two vectors
Find the inner product of two vectors.

2 giorni fa

Carica altro