delvin

50 Reputation

5 Badges

2 years, 148 days

MaplePrimes Activity


These are replies submitted by delvin

How is u defined in Maple?

@mmcdara

I REALLY APPRECIATE IT. 

Yes, unfortunately, I have many faults.
What is add? Why didn't you put sum?

I want a code that solves a differential equation. in such a way that it shows the relationship of 10 in the same way despite the presence of psi. And in the next series, the psi function should be defined and then it should be in such a way that the values of r and s are given for example 1, -2, i... be) and then put in the main equation to simplify the equation and get the unknown values.

``

``

restart

with(student)

NULL

u(xi[n]) := a[0]+sum(a[i]*psi(xi[n])^i, i = 1 .. 1)+sum(b[i]*psi(xi[n])^(-i), i = 1 .. 1)+sum(c[i]*(diff(psi, xi[n]))^i/psi(xi[n])^i, i = 1 .. 1)

a[0]+a[1]*psi(xi[n])+b[1]/psi(xi[n])

(1)

NULL

NULL

u(xi[n+1]) := u(xi[n]+d)

u(xi[n]+d)

(2)

u(xi[n-1]) := u(xi[n]-d)

u(xi[n]-d)

(3)

NULL

eq := c*(diff(U, xi[n]))*(U(xi[n])+u(xi[n-1]))*(U(xi[n])+u(xi[n+1]))-(2*(u(xi[n-1])-u(xi[n+1])))*(U(xi[n])^2)(1-U(xi[n])^2)

-2*(u(xi[n]-d)-u(xi[n]+d))*(U(xi[n]))(1-U(xi[n])^2)^2

(4)

``

Download abs123.mw

@C_R 

How do I do this? Can you modify my instructions?

@C_R 

Difficulty in drawing a 3D diagram
Hello, I want to draw a 3D diagram that has i inside, but it gives me an error. Can anyone help me?

clc
clear
close all
% plot grid
t = linspace(-5, 5, 100);
n = linspace(-5, 5, 100);
% compute plot grid values
[T, N] = meshgrid(t, n);

% compute Z values
Z = -2.*sin(2)*(cos(T).*sin(T).*i - cos(T).^2 + 1./2).*cos(2)./((4.*cos(2).^2 - 2).*sin(T).*cos(T));

% plot
surf(T, N, Z);
title(' Diagram3D With Surfc','fontsi',20,'interpreter','latex')
xlabel('X','fontsi',20,'interpreter','latex')
ylabel('Y','fontsi',20,'interpreter','latex')
zlabel('Z','fontsi',20,'interpreter','latex')
colorbar;
colormap hsv

 

@sand15 

What is the address?

@acer 

Thank you for taking the time to do this

I saw them but I couldn't solve the problem. It is true that my questions seem similar but they are different. I am working on the same method with different equations and different paths.

@acer 

 Why do for loops make errors?

ssssssssss.mw

@acer 

OK

I appreciate your consideration guidance.

@acer 

Much obliged.

@acer

I very much appreciate your help. 

How can it be trigonometric?

expr := (`ϵ__1`*exp(`ζ__1`*phi)+`ϵ__2`*exp(zeta__2*phi))/(`ϵ__3`*exp(`ζ__3`*phi)+`ϵ__4`*exp(`ζ__4`*phi))

eval(expr, [`ϵ__1` = 1, `ϵ__2` = -1, `ϵ__3` = 2, `ϵ__4` = 0, `ζ__1` = 1, `ζ__2` = -1, `ζ__3` = -1, `ζ__4` = 0])

(1/2)*(exp(phi)-exp(-phi))/exp(-phi)

(1)

``

(1/2)*(exp(phi)-exp(-phi))/exp(-phi)

(2)

NULL

Download 002.mw

@Oliver K 

I appreciate your taking the time.

@Thomas Richard 

 Thank you very much.

 

Is there a program to go from 8 to 10?

@C_R 

Why is the following code not executed in MATLAB?
(because it is complex)

Is there a solution???

% plot grid
t = linspace(-5, 5, 35);
n = linspace(-5, 5, 35);
 
% compute plot grid values
[T, N] = meshgrid(t, n);
 
% compute Z values
Z = (6.*exp(T)+6-sqrt(-18.*exp(T)-6))./(3+3.*exp(T));
 
% plot
surf(T, N, Z);
colorbar
1 2 3 4 5 6 7 Page 3 of 8