Resuelto


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

más de 2 años hace

Respondida
Calculating the differences of elements in an array
x=rand(1,10) d=x-x(1)

más de 2 años hace | 0

Resuelto


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

más de 2 años hace

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

más de 2 años hace | 0

Resuelto


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

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


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

más de 2 años hace

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

más de 2 años hace | 0

Respondida
I need help graphing these simple functions. I keep getting a blank graph
Need a few more dots. r=linspace(0,100,101); v=(r./(r+100))*10; p=(v.*(r).^2)./r; grid plot(r,p);

más de 2 años hace | 0

| aceptada

Respondida
How to convert lat lon to utm data and plot it in 10x10m^2 grid map.
% Step 1: Load Data from Excel data = readmatrix('subtowersutm.xlsx'); % readmatrix instead of readtable

más de 2 años hace | 0

| aceptada

Respondida
Plotting solutions with symbolic variables
h=10;P=100;Ac=5;Lc=17;aff=19;Tw=7;Ta=5;Li=11;%have no idea what your constants are syms Tsp1 km; xb = (h * P)/ (km * Ac); mb ...

más de 2 años hace | 1

| aceptada

Resuelto


Sum of numbers from 1-100
Sum up every whole number from 1 to 100. Include 1 and 100 in your calculation.

más de 2 años hace

Resuelto


Find the nine-point circle of a triangle
Cody Problem 1336 asks us to find the circle that circumscribes a triangle, and Cody Problem 58354 asks us to find the circle th...

más de 2 años hace

Resuelto


Compute measurement uncertainty
Suppose a variable depends on independent variables , , . If the independent variables have uncertainty , , etc. and the uncer...

más de 2 años hace

Resuelto


Array size along k-th dimension
Given an n-dimensional array M, find the size of M along the k-th dimension (1 <= k <= n), without using size(), height() or wid...

más de 2 años hace

Resuelto


Summing the last column column
Given a matrix, return the sum of the last column of the array.

más de 2 años hace

Resuelto


Return part of an array
Given a 5x5 array, return a 3x3 array that contains the cells that are not on the edge of the array: Given this array Return...

más de 2 años hace

Resuelto


Compute the head for steady 1D flow in a homogeneous aquifer
Problem statement Write a function that computes the head (i.e., piezometric head for a confined aquifer or water table elevat...

más de 2 años hace

Resuelto


Given a base n, find the y values less or equal than 100(without 1), such that they will never produce a periodic number if we divide any whole number between some of them
A periodic number depends on the base b where we are working. So, for example the number 2/3 in decimal base is periodic(0.666...

más de 2 años hace

Resuelto


A row vector, pick 1st number, skip 1,pick 3rd number, skip 2,pick,skip,etc then place all picked numbers in order in new vector
Having a row vector of number, pick the first number, place in new output vector as the first value, then skip one number, pick...

más de 2 años hace

Resuelto


Find out the smallest number 9 times greater
What is the smallest natural number where the result of moving the digit on the far right to the front of the number is a number...

más de 2 años hace

Cargar más