Solved

the average value of the elements

Calculate the average value of the elements in the array

2 months ago

Solved

Sum of series IX

What is the sum of the following sequence: Σ 1/k! for k=1...n for different n?

2 months ago

Solved

Sum of series

a(n) = n^2 - (n-1)^2 find the summation of the series upto n i.e. a(1)+a(2)+...+a(n)

2 months ago

Solved

Laws of motion 4

Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

2 months ago

Solved

Adding Inset Plots

You can use the axes function to define the position of an empty x/y axis. The position is measured relative the the bottom left...

2 months ago

Solved

Jack O'Lantern

If visualized correctly, the data contained in the matrix A will look like a jack-o'-lantern. Create a function that will visu...

2 months ago

Solved

3D Plots and Colorbars

Use the matrices X, Y, and Z provided in the function template to create a surface plot. Add a colorbar to the surface plot and ...

2 months ago

Solved

Plot Line Specifications

Create a line plot for function cos(x) where x is a vector of linearly spaced values going from 0 to input N with an increment o...

2 months ago

Solved

Reproduce this plot!

Write a function that will take a dataset (x,y), a best fit model (model), and the upper and lower prediction bounds (lb,ub) for...

2 months ago

Solved

Power Outages Histogram

Create a function that takes power outage data as an input and creates a histogram of the number of outages as a function of Reg...

2 months ago

Solved

Create a figure and plot data

Given two data vectors (x,y), open a new figure and plot the data. Return the figure handle.

2 months ago

Solved

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. ...

2 months ago

Solved

Circumscribed circles

Given the lengths of the 3 sides of a triangle, output the radius of the circumscribed circle. Example: [3 4 5] -> 2.5

2 months ago

Solved

Similar Triangles - find the height of the tree

Given the height, h1, of a power pole, shorter than a tree, a given distance, x2 away, please find h2, height of the tree. Pleas...

2 months ago

Solved

Angle between two vectors

You have two vectors , determine the angle between these two vectors For example: u = [0 0 1]; v = [1 0 0]; The a...

2 months ago

Solved

Clock Hand Angle 1

Given a time in HH:MM:SS, find the smallest angle (in degrees) between the hour and minute hand

2 months ago

Solved

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 ...

2 months ago