MaplePrimes Questions

Ive tried several commands, but none of them will give me a response

Here are the points im working with:

u = (2, -3, 1), v = (-4, 3, 3), w = (2, 4, 6)

And here are the several commands ive tried to use, with "with(LinearAlgebra), with(geom3d)" implemented before:

1. 

volume([2, -3, 1], [-4, 3, 3], [2, 4, 6], parallelepiped)

> with(plots, display);
> volume;
display(parallelepiped, axes = normal, scaling = constrained, orientation = ...

I have 91 points and to take the sum of the y-coordinates, I do

sum('points[k,2]','k'=1..91);

 

But if I want to take the sum of the points on just the even indeces i.e k=2, 4, 6, 8, 10...etc, I try to do

sum('points[2k,2]','2k'=1..91)     

but Maple gives me an error. I'm doing something wrong here. Help me please me fix the syntax error!!

Hi,

I am using Maple first time to solve equations. Equations and error message are as belows:

> solve({a(3.05-c)^b = 0.7400000000e-4, a(3.10-c)^b = 0.1806000000e-3, a(3.75-c)^b = 0.5840000000e-4}, [a, b, c]);
Warning, solutions may have been lost

Any solution, what is going wrong?

 

Regards,

Nurul Islam

Have a piece of code:with(Optimization):


with(ExternalCalling):
MyTargetMultArgsFunctionExt := define_external('MyTargetMultArgsFunctionExt', 'MAPLE', x::(float[8]), y::(float[8]), 'LIB' = "maple_library.dll");
G := proc (x, y) options operator, arrow; MyTargetMultArgsFunctionExt(x, y) end proc;
dMyTargetMultArgsFunctionExtr0 := proc (x, y) options operator, arrow; x^2 end proc;
Minimize(G)

 

After which i obtain warning:

Hallo

I'm new in Mapleprimes and I'm looking forward to interesting discussions.

I was just wondering if and how it would be possible to use Maple for something like proving invariance of trace under unitary transformation.

So

tr(\Omega) = tr(U^{+} O U)

and

U^{+}U = I

After a number of reformulations, one arrives at an expression tr(O) = tr(U \Omega U^{+}).

Another example would be to show that (AB)^{-1} = B^{-1}A^{-1}....

 Numbers a, b, and c are randomly chosen from the interval [0,1]. What is the probability that the segments having  these lengths form a triangle? an acute triangle? How to solve it with Maple?

PS. I have in mind how to plot the subset of the unit cube such that the coordinates of its points satisfy the first/second condition and how to calculate its volume.

Hi,

I am new to Maple, so sorry for asking this TRIVIAL question but I got quite frustrated after so much time unsuccessfully trying to figure out how to perform integer computations.

Lets take the simple example below:

3k - 5 = 0

I wanna get k=1 not 5/3

Isolve doesn’t work  for this as I would like. Introduced assumptions re ignored:

Solve(3*k -5=0, k, useassumptions) assuming k :: nonnegint

I have a system with two nonlinear inequality. How can I solve the system?

Hi, I am trying to isolate the following expression for omega

 

a*(cos(omega)*cos(beta*omega)+b*sin(omega)*sin(beta*omega))+c*sin(beta*omega) = 0

 

However, when I try to do so I get a Warning - solutions may have been lost

 

Thanks for any help that can be offered

i have an error

 

Error, (in plots:-pointplot) number of elements in Vector must be a multiple of 2

that keeps popping up. What does it mean and how do I fix it?

 

The Physics package appears broken for the tensor product of Bras and Kets.
It is not possible to describe new operators creatde by the tensorial
product of operators on two Hilbert spaces. ie H12 = H1 X H2

Download BraKetTensorProduc.mw

Am I missing something here.

Thank you for your help

I'm trying to see when a matrix becomes singular, so I took its determinant and checked when it would vanish using solve.  The problem is that solve gives me a solution that doesn't satisfy the original equation, either symbolically or numerically.  Am I doing something wrong, or is this a bug in solve?

Here's what I'm getting:

WrongSolution.mw

 

 

 

I am doing a paper on the stability of a damp. This includes making a Cartesian expression of line of fracture in the subjacent earth layers.

I’ve attached the maple sheet that covers the following expressions.

The polar expression of the line of fracture is given by r(v)=r[0]*exp(v*tan(phi)), in which

r[0] and phi are constants and v is the angle.

To change the expression to a Cartesian coordinate system I introduce

r(v)=sqrt(x^2+y^2) and

Let's say I do this:

points:=[[285,0],[290,0],[300,0],[315,0],[325,0],[330,0],[335,0]]

 

The syntax example that my professor gave to get the sum of the points of the x-coordinate is as follows:

sum('points [k,1]', 'k'=1..7);

 

Now here's my question: how do I use the sum command to define a function that uses the Simpson's rule. I know I can't use the simpson's command since I'm dealing with a bunch of points and not a function.

How can I make the 3d plot of a function such as z = 4x^2 - y^2 so that only the part of the surface above the unit circle in the xy plane is shown?

 

First 1809 1810 1811 1812 1813 1814 1815 Last Page 1811 of 2433