A résolu


Solve an ODE: first-order linear equation
In the fall semester of [redacted], my professor for a course on ordinary differential equations said, “There are two groups of ...

presque 3 ans il y a

A résolu


Solve an ODE: diffusion problem 2

presque 3 ans il y a

A résolu


Solve an ODE: diffusion problem 1

presque 3 ans il y a

A résolu


Evaluate the Struve function
The <https://en.wikipedia.org/wiki/Struve_function Struve function> *H*_a(x) is a solution to an inhomogeneous form of Bessel's ...

presque 3 ans il y a

A résolu


Sum the prime numbers from 1-100
Write a function to sum up the prime numbers from 1-100.

presque 3 ans il y a

A résolu


Repopulate the City
For any population p of positive integers between pmin and pmax, we can calculate histogram count n for a list of evenly dividin...

presque 3 ans il y a

Réponse apportée
nested loop shows only the result of last iteration
Index W_T T=10 W_T=zeros(T,T-1); for n=0:T-1 W_t=(1+r*(1-tau)).^(-(T-n)).*C_0*epsilon.^T.*K^(1/gamma); for m=n+1...

presque 3 ans il y a | 1

A résolu


Triangle of numbers
Create a matrix with the integers from 1 to |n| arranged in a triangular shape. Every row |i| of the matrix contains |i| inte...

presque 3 ans il y a

A résolu


Solve an ODE: nonlinear third-order equation
Write a function to solve the ordinary differential equation on the domain with , , and either or . The input variable ord ...

presque 3 ans il y a

A résolu


8 : Find the Solving vector
The Puzzle 8 is a variant of 15 ( Fifteen ). Fifteen is a slider puzzle, also a matlab function, with the goal being to create t...

presque 3 ans il y a

A résolu


Determine whether a number is a Higgs prime
If the sequence lists the Higgs primes, then is the smallest prime greater than such that divides the product . The first fo...

presque 3 ans il y a

A résolu


Cryptomath: Addition
W A I T + A L L --------- G I F T S equals: 9 6 0 8 + 6 7 7 --------- 1 0 2 8 5 Given str...

presque 3 ans il y a

A résolu


Draw the Greek letter 'α'
Given the dimensions of a matrix nRow and nCol where nCol > nRow, draw the Greek letter 'α' with 1's and 0's. You can consider t...

presque 3 ans il y a

A résolu


Differential equations I
Given a function handle |f| an initial condition |y0| and a final time |tf|, solve numerically the differential equation dy...

presque 3 ans il y a

Réponse apportée
Calculating the differences of elements in an array
x=rand(1,10) d=x-x(1)

presque 3 ans il y a | 0

A résolu


Troubles With Spaces - Convert Some Messy Data Into A Clean Array
I have a bunch of messy data I have to go through. The data is stored in an odd format, so str2num isn't working. And even when ...

presque 3 ans il y a

Réponse apportée
I want to add third loop for n variable in mentioned code having n= 3.7 4.9 5.7 8.9 but code is giving lines for n=3.7 only why?
The values of n are not affecting Sk; therefore, the graphs are plotting over the top of each other and only 5 graphs are displa...

presque 3 ans il y a | 0

A résolu


Array Height (no usage of size)
Find the array height, the number of rows. Size may not be used.

presque 3 ans il y a

A résolu


Array Width (no usage of size)
Find the array width. Size may not be used.

presque 3 ans il y a

A résolu


Concatenate a successive power matrix in a column matrix
Generate F = [M1 M^2 ... M^p] with M a matrix, without using for.

presque 3 ans il y a

A résolu


Intersection(s) of Circles
Do two given circles intersect in Zero, One, or Two points and provide the intersection(s). The Stafford method may provide some...

presque 3 ans il y a

A résolu


Solve an ODE: draining tank
Write a function to compute the time to drain a cylindrical tank of diameter from an initial level to a level . The outflow oc...

presque 3 ans il y a

A résolu


Compute piezometric head in a leaky confined aquifer
Problem statement Write a function to compute the piezometric head in a leaky confined aquifer and the position of a groundwat...

presque 3 ans il y a

A résolu


Compute the water table elevation in an unconfined aquifer with recharge
Problem statement Write a function to compute the water table elevation above the bottom of the aquifer and the position of a ...

presque 3 ans il y a

A résolu


Compute the Sisyphus sequence
A recent article in the New York Times featured the Online Encyclopedia of Integer Sequences, founded by Neil J.A. Sloane. One o...

presque 3 ans il y a

A résolu


Count collisions in an idealized block system
Two blocks, which have masses and , slide along a frictionless, semi-infinite track bounded by a stationary wall. Initially blo...

presque 3 ans il y a

A résolu


List numbers such that every sum of consecutive positive integers ending in those numbers is composite
The sequence in question in this problem involves numbers such that all sums of consecutive positive integers ending with are ...

presque 3 ans il y a

A résolu


Find the altitudes of a triangle
Write a function that takes the x- and y-coordinates of three points describing the vertices of a triangle and returns the coord...

presque 3 ans il y a

Réponse apportée
Why does my code take so long to run?
You can use this code, but you will have to still split up f and h to have enough memory. Based on your ranges, the highest scor...

presque 3 ans il y a | 0

Charger plus