已解决


King's Cage
Given the position of the king on the chessboard, determine the minimum number of steps it'll require to reach the destination. ...

4 months 前

已解决


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

6 months 前

已解决


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

6 months 前

已解决


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

6 months 前

已解决


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

6 months 前

已解决


Calculate Charge Using Capacitance and Voltage
The charge (Q) stored in a capacitor is given by the formula:Q=C×V where: C is the capacitance (in farads) V is the voltage (...

6 months 前

已解决


Energy Stored in a Capacitor
The energy (E) stored in a capacitor is given by the formula: where: C is the capacitance (in farads) V is the voltage (in ...

6 months 前

已解决


Calculate Current in a Series Circuit Using KVL
Kirchhoff's Voltage Law (KVL) states that the sum of voltages around a closed loop is zero. Given a voltage source (V) and three...

6 months 前

已解决


Calculating the Total Resistance in a Series Circuit
Description: In a series circuit, the total resistance is the sum of the individual resistances. This problem asks you to write ...

6 months 前

已解决


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)

6 months 前

已解决


Multiplication
Given 2 numbers a and b mulitply them

6 months 前

已解决


Division
Given two numbers a and b divide them a/b

6 months 前

已解决


Integer or Float?
Test an input to see whether it is an integer or a floating point number. If it is an integer return 1 for 'true'. Otherwise ret...

6 months 前

已解决


Number of problems
No, you don't read it wrong: this assignment is to return the number of this problem (and not the problem of this number).

6 months 前

已解决


num
num

9 months 前

已解决


round pi
round pi

9 months 前

已解决


Row sum

11 months 前

已解决


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

11 months 前

已解决


Ohm’s Law - Calculate Resistance
Ohm’s Law states that resistance R can be calculated as:R=V/I​ where: V is the voltage (in volts) I is the current (in ampere...

11 months 前

已解决


PIN code II
A cell phones requires a PIN code to open which only includes numbers; how long (in terms of minutes) does it take to enter all ...

12 months 前

已解决


EZ7
EZ

1 year 前

已解决


TingTing
Output logical "true" if the input is the answer to luck and money$$$. Otherwise, output logical "false".

1 year 前

已解决


Cube root of max value in a vector
Find the cube root of the maximum value in a vector

1 year 前

已解决


Check if there are white spaces in the input string
If there are white spaces in the input string, output=1 else 0

1 year 前

已解决


Simple addition
Add two numbers using a funciton

1 year 前

已解决


EZ6

1 year 前

已解决


Number of digits in an integer
Specifies how many digits in a given integer. Example: in=100 ==> out=3

1 year 前

已解决


EZ5
EZ5

1 year 前

已解决


EZ
EZ

1 year 前

已解决


EZ4

1 year 前

加载更多