MaplePrimes Questions

# why matrix is not in numeric but in terms of variables

restart;

with(LinearAlgebra):

with(inttrans):

with(SumTools):

egf := exp(2*x*z-z^2);

test1r := subs(z=x,subs(x=dummy,egf));

test1r2 := solve(test1r=f,x);

b := Matrix([[a1,a2],[a3,a4]]);

invb := MatrixInverse(b);

testing1 := MatrixMatrixMultiply(MatrixMatrixMultiply(MatrixMatrixMultiply(Matrix([[f,f^2]]),invb),Matrix([[x,1],[1,x^2]])),b);

Hello!

I need help plotting the volume of revolution generated by the curves x=0 and x=(2*y^3)-y^4 around the y=-2 axis. I tried using parametric equations, x(t)= (2*t^3)-t^4 and y(t)=t for t between 0..2, and the VolumeofRevolution command with StudentCalculus 1. To be more precise, I used:

VolumeOfRevolution(2*t^3-t^4,t, t = 0 .. 2, output = plot, axis = horizontal, distancefromaxis = -2);

However, the volume I'm getting is not the one I'm looking for....

restart;

with(LinearAlgebra):

with(inttrans):

with(SumTools):

egf := exp(2*x*z-z^2);

test1r := subs(z=x,subs(x=dummy,egf));

test1r2 := solve(test1r=f,x);

 

# Assume b as following

 

b := Matrix([[a1,a2,a3],[a4,a5,a6],[a7,a8,a9]]);

invb := MatrixInverse(b);

testing1 := MatrixMatrixMultiply(MatrixMatrixMultiply(MatrixMatrixMultiply(Matrix([[f,f^2,1]]),invb),Matrix([[x,1,1],[1,x^2,1],[1,1,x^3]])),b);

Hi:

I am using Maple + MySql and can execute queries like this:

 

nZero:=10^(-6);

ee:=7*u+6*v-2*w; 

ss:=convert(ee,string):

sql:=sprintf("SELECT n FROM centers WHERE  ABS(%s)<%a ", ss, nZero ):

Problems arise when ee contains `^` operator, because MySql does not understand this operator, but the function POWER() , ie, in MySql x^y must be written as POWER(x,y).

Example 

I have had to use Maple 17 once in the past and I have to use it for a problem in Calculus.  This problem, I have been trying to figure out how to type it in correctly to get the answer.  I know the answer since its in back of the book.  Here is the explanation w/ the problem:

"Use a computer algebra system to differentiate the function"(She wants us to use Maple.)

f(x)=((x^2-x-3)/(x^2+1))*(x^2+x+1)

in word terms, f(x)= (x squared,-x,-3)/(x squared, plus 1) ...

I want to find the values of the following expressions, S, c3, c4,c5, cv, phi_3,phi_4,phi_5, c_3k,c_4k,c_5k,c_5b,G and B for given parameter values:  alpha,beta,g,k,b,sigma

(Note that cv is a function of c_3,c_4.c_5, so are the phi's and G)

  1. S = (1-alpha)*((1-beta)*A*g*k^(g-1)-beta*(k+b)*A*(g-1)*g*k^(g-2))
  2. c_3 = (1-alpha)*A*(1-g)*k^g
  3. c_4 = (1-alpha)*(1-beta)*A*g*k^(g-1)
  4. c_5 = -(1-alpha)*b*(A*g*k^(g-1)-1)

Replace each letter in the following sum by a digit from 0 to 9, in such a way that the sum is correct.

A student exercise: It starts with a defintion D1 := 1.500*Unit('m') and ends (after some calculations) with the following expression:

(0.1250000000e-3*(.6000000000*Unit('m')+.6510936027*(Unit('m'))(.2929921212*Unit('m'))/(Unit('m')*((1/2)*Pi-26.38779995))))*Pi^2*Unit('m')^2*((1/2)*Pi-26.38779995)

I would like to simplify it to get -0.0175 m^3, but I get the following error when I try to simplify the units: Error, (in Units:-Standard:-+) the units...

Good afternoon Professor

I would like to know the Maple approach to explain my students with regard to

animation of the solids of revolution which arise in Applications of double & triple integrals.

I request you to help me in this regard.

 

with thanks & regards

 

M.Anand

Suppose I have have two matrices A[i,j] and B[i,j]. I want to find prodcts of the form A[i,j]*B[i,j] for all values of i and j and then sum of all the products. Any help would be highly appreciated.

 

M. Yaseen

Let z be a complex number and p your conjugate. how to solve the equation

(2z-3)(-3p+4)-(2p-3)(-3z+4)=0   with maple?

Hi! I was wondering if anyone knows of a way to taylor expand an expression around a function. For example, let's say I have an expression like

expression := diff(f(r), r$2) + exp(-f(r))*(1 - g(r))^2

and I want this expression to be linear order in f and g. If I try

mtaylor(expression, [f(r), g(r)], 2)

I get an error. I don't want to replace f(r) with just f (for example) because then all of the derivative terms vanish, and I want this to also be of linear order. 

non-linear and non homogen equation second-order..

1.) y"+y^2 = x^4 + 2

with 0<x<1, y(0)=0, y(1)=1

2.) y"+y^2 = -b*y^2 * y'

with y(0)=1, y'(0)=0 and b=0.1 ; 0.3 ; 0.5 ; 0.7

how to solve thats??

 

thanks in advance.

Good afternoon Professor.

 

I am M.Anand working for SRIIT, as Assistant Professor in Mathematics in Hyderabad, INDIA.

I request you to help me How to write c-programming codes to solve the linear system by using Gaussian elimination, conjugate gradient method without preconditioning and Conjugate gradient method with preconditioning?

 

With thanks & regards.

 

M.Anand

Assistant professor in Mathematics

Hi everyone. Long time reader, first time poster.

I have a rather nasty function that I need to use in various calculations (namely, one of them is a numerical integration). But, even evaluating this function at a given point takes exceedingly long (several seconds to tens, maybe even hundreds of seconds!). Is there any way I can make maple do all of the calculations numerically instead of doing all but the last evalf symbolically? I think that may be the problem. Anyway, here is my defined function:

First 1538 1539 1540 1541 1542 1543 1544 Last Page 1540 of 2429