Find the 9's Complement
Find the 9's complement of the given number.
An example of how this works is <http://electrical4u.com/9s-complement-and-10s-c...
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...
3ヶ月 前
解決済み
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 ...
3ヶ月 前
解決済み
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...
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 ...
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)
3ヶ月 前
解決済み
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...
3ヶ月 前
解決済み
Compress strings (not springs)
Please remove excess space, limit one space between others, and no space before punctuation marks.
* For example, 'Trendy , ...
3ヶ月 前
解決済み
letter yes yes & letter no no
Split a string into two strings, wherein the first string has all alphabetic letters and the second string has all the remaining...
3ヶ月 前
解決済み
Space Saver
Remove all characters that are below a space in ASCII value.
3ヶ月 前
解決済み
Reverse the Words (not letters) of a String
*Description*
Change the words of a string such that the words appear in reverse order. You may assume that the string is a n...
3ヶ月 前
解決済み
Draw a 'Z'.
Given _n_ as input, generate a n-by-n matrix like 'Z' by _0_ and _1_ .
Example:
n=5
ans=
[1 1 1 1 1
0 0 0 1 ...
3ヶ月 前
解決済み
Draw a 'X'!
Given n as input Draw a 'X' in a n-by-n matrix.
example:
n=3
y=[1 0 1
0 1 0
1 0 1]
n=4
y=[1 0 0...
3ヶ月 前
解決済み
Draw 'O' !
Given n as input, generate a n-by-n matrix 'O' using 0 and 1 .
example:
n=4
ans=
[1 1 1 1
1 0 0 1
...
3ヶ月 前
解決済み
Draw a 'N'!
Given n as input, generate a n-by-n matrix 'N' using 0 and 1 .
Example:
n=5
ans=
[1 0 0 0 1
1 1 0 0 1
1 0 ...
3ヶ月 前
解決済み
Draw 'J'
Given n as input, generate a n-by-n matrix 'J' using 0 and 1 .
Example:
n=5
ans=
[0 0 0 0 1
0 0 0 0 1
0 0 ...
3ヶ月 前
解決済み
Draw 'I'
Given n as input, draw a n-by-n matrix 'I' using 0 and 1.
example:
n=3
ans=
[0 1 0
0 1 0
0 1 0]
n=...