Resuelto

Use a timetable to analyze a train timetable (Part 1)

Oh no, you missed your train to Boston! Find the departure time of the next available train by analyzing the train timetable. Th...

3 meses hace

Resuelto

Air Mass to Star for an Observer at Mean Sea Level

Air mass is a measure of how much atmosphere light from a source above the atmosphere (eg sun, planet, star) has to travel throu...

3 meses hace

Resuelto

Basic Mathematics 1

If a robot is traveling on a north heading at v1 inches per second and has the ability to only make N degree changes in directio...

3 meses hace

Resuelto

Predict Cricket Stridulation Rate from Air Temperature

Stridulation is the process that creates a cricket's “chirp” by rubbing their wings or legs. According to the Old Farmer's Alma...

3 meses hace

Resuelto

Find Air Temperature from Cricket Stridulation Rate

Stridulation is the process that creates a cricket's “chirp” by rubbing their wings or legs. According to the Old Farmer's Alma...

3 meses hace

Resuelto

Plotting Practice

Plot cos(x) vs x as shown in the figure below. Include the appropriate title, x-label, and y-label. Note, it is case sensitive. ...

3 meses hace

Resuelto

Coefficient of Kinetic friction

A robot exerts a F1 lb. force horizontally on a W lb. crate across a concrete floor at a constant speed. What is the coefficien...

3 meses hace

Resuelto

Determine if Input is Oddish or Evenish (Odd/Even Sum of Digits)

Given a positive integer n, determine whether n is "oddish" or "evenish" - that is, whether the sum of the digits of n is odd or...

3 meses hace

Resuelto

Taylor Series

You can use a Taylor series to approximate common functions. The Taylor series for sin(x) is Using only the first several te...

3 meses hace

Resuelto

Where the Four Corners Am I?

The "Four Corners" region of the US is where Colorado, Utah, Arizona, and New Mexico all meet - the only place where four states...

3 meses hace

Resuelto

Where the Four Corners Am I? (Vectorized)

NOTE: this problem is intended to build on problem #55960 ("Where the Four Corners Am I?"). You may wish to solve that problem f...

3 meses hace

Resuelto

Generate Tribonacci Sequence

The "Tribonacci" sequence is an extension of the idea of the Fibonacci sequence: That is, each new term is the sum of the thr...

3 meses hace

Resuelto

Generate Pascal's Triangle Matrix

Pascal's triangle is an arrangement of numbers where each value is the sum of the values adjacent to it in the previous row: ...

3 meses hace

Resuelto

Calculate Angle From Axis

Given coordinates x and y, an axis ("X" or "Y"), and a direction ("cw" or "ccw", meaning clockwise and counterclockwise, respect...

3 meses hace

Resuelto

Next Tribonacci Number

The "Tribonacci" sequence is an extension of the idea of the Fibonacci sequence: That is, each new term is the sum of the thr...

3 meses hace

Resuelto

A Binary Search

One way to locate a target value in a sorted array, is to use a binary search algorithm. Here, you test if the midpoint in the a...

3 meses hace

Resuelto

Interpolated Value Between Two Points

Given two points, and , a new location x, and a method "linear" or "cubic", return the value of a linear or cubic interpolant t...

3 meses hace

Resuelto

Estimating Euler's (Oi-ler-z) Number

Euler's number is an irrational constant given by Starting with x=0, count the number of times you can add a uniformly distrib...

3 meses hace

Resuelto

Dartboard Average I

A dartboard arranges the numbers 1 to 20 such that each value is typically flanked by quite different values - for example, 20 i...

3 meses hace

Resuelto

Sum of first n positive integers

Given n, find the sum of first n positive integers Example: If n=10, then x=1,2,3,4,5,6,7,8,9,10. The sum of these terms is 55

8 meses hace

Resuelto

Is this is a Tic Tac Toe X Win?

For the game of <https://en.wikipedia.org/wiki/Tic-tac-toe Tic Tac Toe> we will be storing the state of the game in a matrix M. ...

8 meses hace

Resuelto

Find the hypotenuse

Given a and b (the two sides of a right-triangle), find c, the hypotenuse.

8 meses hace

Resuelto

Create cell array of strings

Convert the input to a cell array, but only if necessary. If the input is a string, return a 1-by-1 cell array containing the...

10 meses hace

Resuelto

X O X O

On a noughts and crosses board, how many possible unique combinations are there given a square grid of length n? Assumptions/...

10 meses hace

Resuelto

Penny flipping - calculate winning probability (easy)

Two players are playing a fair penny flipping game. For each flip, the winner adds one penny from the loser's collection to his/...

10 meses hace