Question

Crank Nicolson for non homogeneous heat equation

Hey folks, I have ran into a problem. I am coding for the c-n method and using this base code with the given starting values for...

1 month ago | 0 answers | 0

Question

Creating phase portraits using quiver

I am trying to use quiver() to build a phase portrait of a funtion and I am having trouble. I know our points of equilibrium and...

3 months ago | 0 answers | 0

Question

Calling a indices using 'find' function

I guess the easiest way to ask this question is to show first, a = [1 -1 2 -1; 2 -2 3 -3;1 1 1 0; 1 -1 4 3]; [row,col] = find...

4 months ago | 1 answer | 0

Question

How does Matlab interpret for loops when say I=n:-1:1

So this is a code for gaussian elimination, the code seems to work but my question is for clarification on the function of the f...

5 months ago | 1 answer | 0

Solved

Calculate Amount of Cake Frosting

Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

5 months ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

5 months ago

Question

Ignoring a set of values

I need to ignore the second values returned for my subsequent functions. In other words, for the values of t_max, I need to keep...

5 months ago | 1 answer | 0

Question

Composite Boole's rule

I'm having some trouble coding the composite Boole's rule. Coding for an interval when n=4 is simple enough but it falls apart w...

10 months ago | 1 answer | 0

Question

determining order of accuracy

I've been given a table of discretion size and relative error and asked to determine the order of accuracy. I am new to Matlab a...

12 months ago | 1 answer | 0