Caleb Sarver
Followers: 0 Following: 0
Statistiken
0 Probleme
81 Lösungen
RANG
N/A
of 289.739
REPUTATION
N/A
BEITRÄGE
0 Fragen
0 Antworten
ANTWORTZUSTIMMUNG
0.00%
ERHALTENE STIMMEN
0
RANG
of 19.580
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
0 Highlights
DURCHSCHNITTLICHE ANZAHL DER LIKES
Feeds
Gelöst
03 - Matrix Variables 3
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3c.png>> A 10x10 matrix where the numbers from 1 to 100 ...
mehr als 7 Jahre vor
Gelöst
only input
Return the output without writing any code into the function.
mehr als 7 Jahre vor
Gelöst
Try 1.5.4: Celsius to Fahrenheit
Write a program to convert an input given in Celsius to Fahrenheit. Examples: Input celsiusValue = 100 Output fahrValu...
mehr als 7 Jahre vor
Gelöst
Back to basics 9 - Indexed References
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix and row and column, output the index of th...
mehr als 7 Jahre vor
Gelöst
Tree Height
Assign treeHeight with the tree height given the shadow length and angle of elevation. Simple geometry can compute the heigh...
mehr als 7 Jahre vor
Gelöst
Who is the smartest MATLAB programmer?
Who is the smartest MATLAB programmer? Examples: Input x = 'Is it Obama?' Output = 'Me!' Input x = 'Who ?' Ou...
mehr als 7 Jahre vor
Gelöst
Compute a dot product of two vectors x and y
x and y are input vectors, d is a number and contains their dot product
mehr als 7 Jahre vor
Gelöst
Compute total cost
A soda costs 2 dollars. A taco costs 3 dollars. Write a statement that assigns totalCost with the total meal cost given the numb...
mehr als 7 Jahre vor
Gelöst
Assigning a sum
* Write a statement that assigns numCoins with numNickels + numDimes.
mehr als 7 Jahre vor
Gelöst
Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...
mehr als 7 Jahre vor
Gelöst
Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...
mehr als 7 Jahre vor
Gelöst
Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...
mehr als 7 Jahre vor
Gelöst
Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...
mehr als 7 Jahre vor
Gelöst
Project Euler: Problem 7, Nth prime
By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. What is the Nth prime nu...
mehr als 7 Jahre vor
Gelöst
give nth decimal place of pi
max 15th place after the decimal point is ok for now
mehr als 7 Jahre vor
Gelöst
Find remainder when x is divided by 3
Find remainder when x is divided by 3
mehr als 7 Jahre vor
Gelöst
Divide by 4
Given the variable x as your input, divide it by four and put the result in y.
mehr als 7 Jahre vor
Gelöst
Write an expression
Assigns finalResult with firstSample plus secondSample, squared, then divided by 3. Ex: If firstSample is 18 and secondSample is...
mehr als 7 Jahre vor
Gelöst
Who knows the last digit of pi?
There is only one man who knows the last digit of pi, who is that man? Give the name of that man, who, by popular believe, can ...
mehr als 7 Jahre vor
Gelöst
How long does it take to run a bath?
Given the *volume flow rate* (volume/time) of a faucet and the *volume* of a bath tub, find the amount of time it takes to fill ...
mehr als 7 Jahre vor
Gelöst
Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.
mehr als 7 Jahre vor
Gelöst
grazing cows
Here is a fun problem I encountered in high school. Two cows are grazing in an enclosed square-shaped field of side length s ...
mehr als 7 Jahre vor
Gelöst
Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416
mehr als 7 Jahre vor
Gelöst
find the Area of a rectangle
length is x width is y what is the area of the rectangle?
mehr als 7 Jahre vor
Gelöst
Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.
mehr als 7 Jahre vor
Gelöst
Find the area of a rectangle if length of the diagonal is given.
if length of a diagnonal in rectangle is 5. Its area is 12.
mehr als 7 Jahre vor