Feeds
문제를 풀었습니다
High Five!
Write a function that takes a number x and returns y = 'High Five' if x is not equal to five. Return y = 'Denied' if the number ...
대략 1개월 전
문제를 풀었습니다
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...
대략 1개월 전
문제를 풀었습니다
Divisible by 10
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...
대략 2개월 전
문제를 풀었습니다
Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
Submit your answer to this problem a multiple of 5 seconds after the hour. Your answer is irrelevant; the only thing that matte...
대략 2개월 전
문제를 풀었습니다
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....
대략 2개월 전
문제를 풀었습니다
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개월 전
문제를 풀었습니다
Estimating the Range of an Electric Vehicle (EV)
In Electric Vehicles (EVs), the driving range is the estimated distance a vehicle can travel on a fully charged battery. The ran...
대략 2개월 전
문제를 풀었습니다
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개월 전
문제를 풀었습니다
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개월 전
문제를 풀었습니다
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개월 전
문제를 풀었습니다
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개월 전
문제를 풀었습니다
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개월 전
문제를 풀었습니다
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개월 전
문제를 풀었습니다
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개월 전
문제를 풀었습니다
Battery Life Estimation for a Device
A battery-powered device consumes a constant current while operating. The estimated battery life (T) can be calculated using the...
대략 2개월 전
문제를 풀었습니다
Calculate Reynolds Number
Write a MATLAB function that calculates the Reynolds number for flow over a flat plate: ρ = fluid density (kg/m³) V = veloc...
2개월 전
문제를 풀었습니다
Compute Airspeed from Mach Number
Write a MATLAB function that converts a Mach number to airspeed given the speed of sound aa in m/s: V=M⋅a V = airspeed (m/s) M...
2개월 전
문제를 풀었습니다
Calculate Lift Force on an Airfoil
Write a MATLAB function to calculate the lift force acting on an airfoil given the air density, wing area, velocity of the airfl...
2개월 전
문제를 풀었습니다
Calculate Drag Force
Write a MATLAB function to compute the drag force on an object moving through air: where: D is drag force (N) ρ is air de...
2개월 전
문제를 풀었습니다
Travelling Salesman Problem (TSP)
Find a short way through given points. This is the travelling salesman problem. But the solution should be a fast and small func...
2개월 전
문제를 풀었습니다
Estimating Monthly Electricity Cost for a Household Appliance
You recently bought an electric kettle for your kitchen, and you want to estimate how much it costs to run every month. The kett...
2개월 전
문제를 풀었습니다
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...
2개월 전
문제를 풀었습니다
LED Current Calculation
In an electrical circuit, the current (III) flowing through an LED is determined using Ohm’s Law: Where: I is the current ...
2개월 전




