Community Profile # Rafael Hernandez-Walls

Last seen: Today 2010 이후 활성

My interest is everything related to numerical schemes applied to PDE and Oceanography, UABC.

#### Statistics

All
• • • • • • • • • • • • 배지보기

#### Content Feed

보기 기준

해결됨

The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

30일 전

해결됨

mathematics , probability problem
How many different result can we have, rolling k dice?

약 2달 전

해결됨

MATLAB Basics: Complex Conjugates
For a given complex number, x, return the complex conjugate, y.

약 2달 전

해결됨

MATLAB Basics: Complex Numbers
For a given complex number, x, return the real and imaginary parts as a vector, y = [Real Imaginary].

약 2달 전

해결됨

Flip coins

약 2달 전

해결됨

Normalizing a vector

약 2달 전

해결됨

Return fibonacci sequence do not use loop and condition
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: ...

2달 전

해결됨

Number of Even Elements in Fibonacci Sequence
Find how many even Fibonacci numbers are available in the first d numbers. Consider the following first 14 numbers 1 1 2...

2달 전

해결됨

Find the next Fibonacci number
In the sequence of Fibonacci numbers, every number is the sum of the two preceding ones: 1, 1, 2, 3, 5, 8, 13, 21, 34, 55...

2달 전

답변 있음
matlab not plotting graph
You need one point in the equation of z h = [2,4,6,8,10]; x = 10.1; y = 2.5; z = (x * h.^2 - x - sqrt(y^2*h.^2 - y^2))./ (h....

2달 전 | 0

해결됨

Mass Conversion 1

3달 전

답변 있음
how i can find the chessboard lines and draw on the main image with any solution

3달 전 | 0

답변 있음
how can I get y which correspond to x and then plot (x,y)??
Try this: x=linspace(-4,4); for r=1:length(x) y(r)=fzero(@(y)y.^3+0.2*exp(-1*x(r).^2)*y.^2-2.2039*y.^2+0.8155,1); end p...

4달 전 | 0

답변 있음
How to read data from text file and store as it is with variables
Assuming you have a file with only following line (name of file= 'algo.txt'): phi1_32_1 = 1 You could then read the line with...

4달 전 | 0

답변 있음
numerical simulation of travelling wave of epidemic model
try this.... clear all; xl=0; xr=1; %domain[xl,xr] J=1000; % J: number of dividion for x dx=(x...

5달 전 | 0

답변 있음
try this Dens1 = [A(:,1),9.11*A(:,2).^(1.326)]; fileID1=fopen('E1.txt','w'); % [n,~]=size(Dens1); for k=1:n b=fprintf(...

5달 전 | 0

답변 있음
How to display correlation coefficents on plot?
you can try something like this: x = [0 0.000009 0.000018 0.000028 0.000037 0.000046 0.000055 0.000065 0.000074 0.000083 0.0000...

5달 전 | 0

답변 있음
extracting value from a matrix
I think it is better to put the variable X as a string and from there start. for example: X=['1000000000000000000000000000000...

6달 전 | 0

| 수락됨

답변 있음
How to get Taylor polynomial for functions?
You can use a function that is in the MAThWORKS fileexchange (I put the link): str=input('Function? ','s'); %tray with: cos(x)...

6달 전 | 0

| 수락됨

답변 있음
Change the sign of a Vector over N intervals
Use something like this: Y=rand(1,20); d=[1:4,8:12,17:20]; Y(d)=-Y(d)

7달 전 | 0

답변 있음
For loop only outputting the final value.
Try using something like this: t=linspace(0,3*pi,100) t=linspace(0,3*pi,100); for k=1:length(t) y = q2(t(k)); val...

7달 전 | 0

답변 있음
Plotting log x and y
Why don't you treat like this: n = 30; x = 0.5; h(1) = 1; emin = 1; for i =1:n if i==1 h(1)=0.5; else ...

8달 전 | 0

해결됨

Mass Conversion 2

9달 전

해결됨

Calculate the answer to life the universe and everything
<https://en.wikipedia.org/wiki/42_(number)>

10달 전

해결됨

How many hours are there in a day in Italy?
Remember "European Summer Time"

10달 전

해결됨

Temperature Conversion 3

10달 전

해결됨

Temperature Conversion 2

10달 전

해결됨

Temperature Conversion 1

10달 전

해결됨

Simpsons's rule (but not Homer Simpson)
I wonder what Homer Simpson would have thought of Simpson's rule? Somehow I doubt his thoughts would have included the phrase Ne...

10달 전

해결됨

Total energy

10달 전