Question

Can matlab find the partial fraction with two variables

Partial fraction of (2xy-1) / [(x^3)*(y^2-Ax-B)] where s,p: variables and A,B: constants

1 year ago | 0 answers | 0

Question

Which code of BVP4C replaces the code xSol(t) = simplify(xSol(t)) OR pretty([xSol(t);ySol(t)]) of DSOLVE

Which code of BVP4C replaces the code xSol(t) = simplify(xSol(t)) OR pretty([xSol(t);ySol(t)]) of DSOLVE

1 year ago | 0 answers | 0

Question

Is it possible to get the value of 'A' in a table format of 11x4 dimension

function main format long Pr=0.72; xa=0;xb=2; solinit=bvpinit(linspace(xa,xb,11),[0 0 0 1 0]); sol=bvp4c(@ode,@bc,solinit);...

1 year ago | 0 answers | 0

Question

Error occurs while running the code

function main B=0.3; L=0.3; M=1; Pr=1;Nb=.1; Nt=0.1;R=1;Le=5; xa=0;xb=5; solinit=bvpinit(linspace(xa,xb,101),[0 1 1 0 1 0 0 ...

1 year ago | 0 answers | 0

Answered

What is the matlab definition for varying an unknown parameter in X-axis? Means by which name

From the attached pdf, I need to draw Figs.(1-3), where the f"(0) (differentiated w.r.t 'x' twice at x=0) but then in X-axi...

What is the matlab definition for varying an unknown parameter in X-axis? Means by which name

From the attached pdf, I need to draw Figs.(1-3), where the f"(0) (differentiated w.r.t 'x' twice at x=0) but then in X-axi...

1 year ago | 0

| accepted

Question

What is the matlab definition for varying an unknown parameter in X-axis? Means by which name

What is the matlab definition for varying an unknown parameter in X-axis? Means by which name

1 year ago | 1 answer | 0

Question

I need curve for f "(0) vs phi with G= 0; 0.1; 0.2; 0.3

function main p1 = 0:0.02:2; for k = 1:length(p1) phi = p1(k); end Pr=6.2; G=input('G='); %...

1 year ago | 0 answers | 0

Question

BVP PROBLEM how can we take 'c' in x-axis(continuous range.[-1.3:0.02:-1.1]) and to find f"(0)

function main S = 1; c = -1.25; Pr = 0.7; n = -0.8; x = [3 -1]; x1 = fsolve(@solver, x); function F = sol...

1 year ago | 1 answer | 0

Question

multiple graphs are coming but I need only one

function main S = 1; c = -1.25; Pr = 0.7; n = 0.8; % n=input('n=') %%n=-0.3,-0.5 x = [3 -1]; x1 = fsolve(@...

1 year ago | 1 answer | 0

Question

previous technique didnt work for the present code

function main so=1; c=-1.25; % a=1; Pr=1; %n=2; n=input('n=') %%n=-0.3,-0.5 x=[1 1]; x1=fsolve(@solver,x); functio...

1 year ago | 0 answers | 0

Question

previous technique didnt work

function main clc;clear all; so=1; c=-1.25; % a=1; Pr=1; n=2; x=5; x1=fsolve(@solver,x); function F=solver(x) [t,u]=...

2 years ago | 0 answers | 0

Question

error occurs in the present code

function main clc clear all x=3; options=optimset('Display','iter'); x1=fsolve(@solver,x,options); function F=solver(x) ...

2 years ago | 1 answer | 0

Question

After running the code for (f ') w.r.t x , we need to draw( f ' ) w.r.t G (in X-axis) while varying n=0, 0.5, 1

function main Pr=1;K=1;L=-1;S=0.1; n=input('n='); a=linspace(0,6,100); G=linspace(0,7,100); solinit=bvpinit(a,G,[0 1 0 1 0 ...

2 years ago | 1 answer | 0

Question

HOW TO CONVERT THE FOLLOWING MAHEMATICA CODE TO MATLAB CODE

\!\(\* RowBox[{\(F[0] = A*η + \(( 1 - A)\)*\((1 - Exp[\(-η\)])\) - M\/Pr - α*\(n - 1\)\/\(n + 1\);\), "\[I...

2 years ago | 0 answers | 0

Question

In Fig.1 WE WANT TO VARY G : -1 to 2 (continuous range) in X-axis and M=0,1,2 AND In Fig.2 HOW TO FIND SECOND SOLUTION (LOWER BRANCH SOLUTION) for velocity profile

function main Pr=1; K=1; G=0; L=-1; n=0.5; S=0.1; % Pr=input('Pr='); % K=input('K='); % G=input('G='); % L=input('L='); % ...

2 years ago | 0 answers | 0

Question

Can MATLAB provide analytical solution to coupled BVP? If yes Ref: qn given below

https://in.mathworks.com/matlabcentral/answers/445410-in-fig-1-we-want-to-vary-g-1-to-2-continuous-range-in-x-axis-and-m-0-1-2-a...

2 years ago | 0 answers | 0

Question

What next in the code

While running the code %NATURAL FREQUENCIES AND MODE SHAPES FOR A 4 STOREY BUILDING k=[71284.72 -35642.36 0 0;-35642.36 71284...

2 years ago | 2 answers | 0

Question

The following code is not working

function [x,h] = Transient() %% Initialization theta = 50; % degrees - angle of repose of material n = 8; % r.p.m. - rotation...

2 years ago | 1 answer | 0

Question

Can it be possible to draw Fig. 4 with Pr (0 to 2) on X-axis and for different values of M=0,1,2 OR plot(Nt,-T0(5)) with M=0,1,2

function main Pr=6.2; fw=0.5; Nb=.5;L=-1; K=.100;Nt=.5;Le=1;R=1; Kc=0.2; %M=1; M=input('M='); xa=0;xb=6; solinit=bvpinit...

2 years ago | 1 answer | 0

Question

why the code is not running?

m = 0; x = linspace(0,1,41); t = linspace(0,200,10); sol = pdepe(m,@pdex5pde,@pdex5ic,@pdex5bc,x,t); n = sol(:,:,1); c = ...

2 years ago | 1 answer | 1

Question

How to include G=[-3:0.2:-1] in x-axis and vary the parameter D=[0:0.2:2] in code to solve COUPLED ODE and plotting the solution? Already x- varies previously

How to include G=[-3:0.2:-1] in x-axis and vary the parameter D=[0:0.2:2] in code to solve COUPLED ODE and plotting the solutio...

2 years ago | 0 answers | 0

Question

Why the given code is not running

function pdex4 m = 0; x = [0 0.005 0.01 0.05 0.1 0.2 0.5 0.7 0.9 0.95 0.99 0.995 1]; t = [0 0.005 0.01 0.05 0.1 0...

2 years ago | 1 answer | 0

Question

Any help will be appreciated. Actually I need to draw Figs.1,2,3 by using LAPLACE TRANSFORM only in MATLAB.

For FIG.1 M Varies as given in DATA and others are same & soooo on.

2 years ago | 0 answers | 0

Question

dF/dt+a*F-d2F/dx2-b*T=0,dT/dt-c *d2T/dx2+g*T=0, F=0=T for t<=0,x>=0; F=r*t, T=t/t1,x=0,0<t<=t1 and T=1, x=0, t>t1; F=0, T=0, t>0 and x is infinity

Any body can share matlab program using LAPLACE TRANSFORM to solve and draw graphs.

2 years ago | 0 answers | 0

Answered

How do I extract a particular value in a 'bvp4c' code solver?

Try with this f0 = deval(sol,0); f0(4,:) Best Wishes

How do I extract a particular value in a 'bvp4c' code solver?

Try with this f0 = deval(sol,0); f0(4,:) Best Wishes

2 years ago | 1

| accepted

Question

With the given program, I need to draw B & C (defined in the program) with PHI variations (0, 0.1, 0.2) ANYBODY HELP and write the code to draw the required fig thanks in Advance

MATLAB PROGRAM %I need to draw B & C (defined in the program) with PHI variations (0, 0.1, 0.2) function main format(...

2 years ago | 0 answers | 0

Question

how to find f"(0) where f=y(1),f'=y(2),f"=y(3)

dydx=[y(2); y(3); 2*a1*y(2)*(y(2)+y(5))-a1*y(3)*(y(1)+y(4)); y(5); y(6); 2*a1*y(5)*(y(2)+y(5))-a1*y(6)*(y(1)+y(...

2 years ago | 2 answers | 0