find the nth number (plus)
this problem is the harder version of Problem 61014.
The numbers 2 and 7 are called lucky numbers, an integer containing only t...
6 days 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...
6 days ago
Solved
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 days 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...
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 ...
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...
7 days 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)
7 days ago
Solved
What day is it?
Tell me what day is it. Return the full name of the day of the week as a string.
e.g. It's June 12th 2014, so your function s...
7 days ago
Solved
Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1.
Hint: use increment.