Statistica
All
RANK
42.032
of 302.083
REPUTAZIONE
0
CONTRIBUTI
0 Domande
8 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.00%
VOTI RICEVUTI
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Risolto
Calculate supply voltage and total current
Three resistors are connected in series and each has a resistance in ohms. Resistor R2 has a voltage drop of ΔV2volts Find the ...
22 giorni 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...
22 giorni fa
Risolto
Calculate Parallel Resistance
Three resistors connected in parallel have resistances R1, R 2, and R 3, respectively. Return the total resistance R total of ...
22 giorni fa
Risolto
Resistance in a circuit
Two resistors with values of 6.0 ohms and 12 ohms are connected in parallel. This combination is connected in series with a 4 o...
22 giorni fa
Risposto
I need a program to check prime numbers
n = 17; % Change the number to test if n <= 1 disp('Not a Prime Number'); else prime = 1; for i = 2:sqrt(n...
I need a program to check prime numbers
n = 17; % Change the number to test if n <= 1 disp('Not a Prime Number'); else prime = 1; for i = 2:sqrt(n...
27 giorni fa | 0
Risposto
n th Fibonacci number with function
function fib = fibonacciSeries(N) fib = zeros(1,N); if N >= 1 fib(1) = 0; end if N >= 2 ...
n th Fibonacci number with function
function fib = fibonacciSeries(N) fib = zeros(1,N); if N >= 1 fib(1) = 0; end if N >= 2 ...
27 giorni fa | 0
Risposto
how can I count the number of elements on a vector?
v = [-5, 10, 0, 8, -2, 15, -7]; count = 0; for i = 1:length(v) if v(i) > 0 count = count + 1; end end ...
how can I count the number of elements on a vector?
v = [-5, 10, 0, 8, -2, 15, -7]; count = 0; for i = 1:length(v) if v(i) > 0 count = count + 1; end end ...
27 giorni fa | 0
Risposto
how do i reverse a vector
v = [10, 20, 30, 40, 50]; n = length(v); for i = 1:n rev(i) = v(n - i + 1); end disp('Reversed vector:'); disp(r...
how do i reverse a vector
v = [10, 20, 30, 40, 50]; n = length(v); for i = 1:n rev(i) = v(n - i + 1); end disp('Reversed vector:'); disp(r...
27 giorni fa | 0
Risposto
how to sum all elements of one vector?
v = [10, 20, 30, 40, 50]; sumValue = 0; for i = 1:length(v) sumValue = sumValue + v(i); end disp(['Sum of all ele...
how to sum all elements of one vector?
v = [10, 20, 30, 40, 50]; sumValue = 0; for i = 1:length(v) sumValue = sumValue + v(i); end disp(['Sum of all ele...
27 giorni fa | 0
Risposto
How to return the maximum value of a vector without using the built in function max(x)?
v = [12, 45, 7, 89, 34, 56]; largest = v(1); for i = 2:length(v) if v(i) > largest largest = v(i); end ...
How to return the maximum value of a vector without using the built in function max(x)?
v = [12, 45, 7, 89, 34, 56]; largest = v(1); for i = 2:length(v) if v(i) > largest largest = v(i); end ...
27 giorni fa | 0
Risposto
Odd and even numbers
function evenOdd(n) if mod(n,2) == 0 disp('The number is Even'); else disp('The number is Odd'); ...
Odd and even numbers
function evenOdd(n) if mod(n,2) == 0 disp('The number is Even'); else disp('The number is Odd'); ...
27 giorni fa | 0
Risposto
Write a function to calculate the area of a circle
function area = circleArea(r) area = pi * r^2; end
Write a function to calculate the area of a circle
function area = circleArea(r) area = pi * r^2; end
27 giorni fa | 0

