Risolto


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

Risolto


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

5 mesi fa

Risolto


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

5 mesi fa

Risolto


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

5 mesi fa

Risolto


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

5 mesi fa

Risolto


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

5 mesi fa

Risolto


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

5 mesi fa

Risolto


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

5 mesi fa

Risolto


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

5 mesi fa

Risolto


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)

5 mesi fa

Risolto


Multiplication
Given 2 numbers a and b mulitply them

6 mesi fa

Risolto


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

6 mesi fa

Risolto


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

Risolto


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

Risolto


num
num

9 mesi fa

Risolto


round pi
round pi

9 mesi fa

Risolto


Row sum

11 mesi fa

Risolto


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

Risolto


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

Risolto


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

Risolto


EZ7
EZ

circa un anno fa

Risolto


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

circa un anno fa

Risolto


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

circa un anno fa

Risolto


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

circa un anno fa

Risolto


Simple addition
Add two numbers using a funciton

circa un anno fa

Risolto


EZ6

circa un anno fa

Risolto


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

circa un anno fa

Risolto


EZ5
EZ5

circa un anno fa

Risolto


EZ
EZ

circa un anno fa

Risolto


EZ4

circa un anno fa

Carica altro