Statistiche
0 Problemi
198 Soluzioni
RANK
N/A
of 288.919
REPUTAZIONE
N/A
CONTRIBUTI
0 Domande
0 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
Content Feed
Risolto
Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1
quasi 9 anni fa
Risolto
What is the distance from point P(x,y) to the line Ax + By + C = 0?
Given a point, P(x,y), find the distance from this point to a linear line. INPUTS: x, y, A, B, C OUTPUTS: d, the distance ...
quasi 9 anni fa
Risolto
Roots
Find out the roots of a given polynomial equation.Given are the coefficients of the equation.
quasi 9 anni fa
Risolto
Test if two numbers have the same digits
Given two integers _x1_ and _x2_, return |true| if the numbers written with no leading zeros contain the same digits. That is, t...
quasi 9 anni fa
Risolto
find radius of cone
if Slant height of Cone(I)& hight of Cone(H) given then find radius of the Cone(R) for example I=5,h=4 then the ans R=3;
quasi 9 anni fa
Risolto
Circle area using pi
Write a statement that assigns circleArea with the circle's area given circleRadius. Use the built-in mathematical constant pi. ...
quasi 9 anni fa
Risolto
Plus x: A first program
_Solve this problem in Mathwork's online Cody system._ Write a statement that assigns y with 5 plus x. Ex: If input x = 2,...
quasi 9 anni fa
Risolto
04 - Scalar Equations 1
Define the variable a: <<http://samle.dk/STTBDP/Assignment1_4-a.png>> Use this to calculate x: <<http://samle.dk/STTBD...
quasi 9 anni fa
Risolto
Equal to their cube
Tell me three real numbers that are equal to their cubes?
quasi 9 anni fa
Risolto
Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...
quasi 9 anni fa
Risolto
Times 3 problem
When you enter the number, it should return the number multiplied by 3
quasi 9 anni fa
Risolto
Double colon operator: Counting up
* Construct a row array countValues from 1 to endValue, using the double colon operator. Ex: If endValue is 5, countValues s...
quasi 9 anni fa
Risolto
Matlab Basics - Rounding I
Write a script to round x DOWN to the next lowest integer: e.g. x = 2.3 --> x = 2 also: x = 2.7 --> x = 2
quasi 9 anni fa
Risolto
Population growth
Assign finalPopulation with the population size given an initial population, population growth rate, and number of years. The fi...
quasi 9 anni fa
Risolto
Find the logic
There exists one logic in between input and output. Find it (easy math). Example 1: x=13 then y=339; Example 2: x=26...
quasi 9 anni fa
Risolto
Write an expression
Assigns finalResult with firstSample plus secondSample, squared, then divided by 3. Ex: If firstSample is 18 and secondSample is...
quasi 9 anni fa
Risolto
matlab indian players
answer is one of the indian matlab player(just for fun dont take serious)
quasi 9 anni fa
Risolto
Create a Multiplication table matrix...
Create a product table in this format: P = [ 1 2 3 4 5; 2 4 6 8 10; 3 6 9 12 15; 4 8 12 1...
quasi 9 anni fa
Risolto
Assigning a sum
* Write a statement that assigns numCoins with numNickels + numDimes.
quasi 9 anni fa
Risolto
Vectorize the digits of an Integer
Create a vector of length N for an integer of N digits. x=123045; x_vec=[1 2 3 0 4 5]; I happened upon a trick to do ...
quasi 9 anni fa