Community Profile

photo

Richardson Joseph


Western sydney university

Active since 2015

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Evaluating a value of a function and add to the previous value using for loop.
I have the following function; A=(1./pi).*sin(180).*gamma(2).*(((T+x).^-2)+(abs(T-x).^-2).*sign(T-x)); and want to evaluate ...

6 years ago | 1 answer | 0

1

answer

Question


How to obtain a numeric value of an integral involving 3 variables and a bessel function?
Hello, I'm facing a problem in defining the following problem; e=0:0.01:1; a=17.6e-6; lambda = 1.0084; ...

6 years ago | 1 answer | 0

1

answer

Question


How to evaluate integral on a particular point using trapz?
I extracted x and y data from a certain plot and now if there are 100 points in x and I want to evaluate an integral from x 0 to...

6 years ago | 1 answer | 0

1

answer

Question


How can I solve a 4th Order ODE in a loop?
Below code solves 4th order ODE for a particular value of h. I'm intending to get results for h=0.1*l:0.1*l:l (likewise for each...

6 years ago | 0 answers | 0

0

answers

Question


Difficulty in obtaining symbolically general solutions for Quartic equation.
The quartic equation is given as; (l^2)x^4+(2*y*l^2)x^3-(2*l^2*E^2+(y*l)^2+1)x^2-y*(1+2(l*E)^2)x+(l^2*E^4+E^2) here, l, E ...

6 years ago | 0 answers | 0

0

answers

Question


Can anyone help me to get results from the program given below?
Below program is running well (for let say, Testsmooth(1,1,0,1)), but when I change the "F3(ss)" to "1/F3(ss)", it doesn't give...

6 years ago | 0 answers | 0

0

answers

Question


I'm facing some problems in utilizing the plot result provided by the program (given below) for further calculations.
The plot provided by the program is required for the evaluation of the E(S) along with the variable used in the code. The code i...

7 years ago | 1 answer | 0

1

answer

Question


Can anyone help me rectifying the error shown while executing this program?
I'm trying to run the program given as follows; I received the following error Attempted to access Kvals(:,2); index out of...

7 years ago | 1 answer | 0

1

answer

Question


Hello, Could anyone help me in rectifying the error while solving the ODE using bvp4c?
function main global yright figure (1); hold on; yright=0.0; P=10e-9; E=102e9; h=200e-9; b=2*h; Es=...

8 years ago | 1 answer | 0

1

answer

Question


I tried to solve fourth order differential equation using bvp4c.However, there seems to be an error while running it.Could you please let me know the potential mistake in the program?Thanks
The code is written as follows; function main figure (1); hold on; l=17.6e-6; P=1e-6; E=1.44e9; h=0.1*l; b...

8 years ago | 2 answers | 0

2

answers

Question


I am trying to solve a second order ODE using Finite difference method.I have written a code as below but it shows error upon running.Can anyone help me find the potential error in my code.Thanks
function [x,U]=FD(a,b,ua,uxb,f,n) a=0;b=10;n=100; h=(b-a)/n; h1=h*h; A=sparse(n-1,n-1); F=zeros(n-1,1); for i=...

8 years ago | 1 answer | 0

1

answer

Question


Hi all, I am trying to solve a fourth order differential equation using bvp4c.Below is my code.Can anyone help me to find the mistake in my code for which matlab is showing the following error?Thanks you
function sol = Fig1 solinit=bvpinit(linspace(0,30,50),@guess); sol=bvp4c(@cantileverode,@cantileverbc,solinit); xint=li...

8 years ago | 2 answers | 0

2

answers