MaplePrimes Questions

I have four equations:

eqs:={8x-5z=0, -5y-2x=0, 2z-8y=0} and 13x-4y+9z=1

I've been trying for the past hour to solve both equations for x, y, and z and have not been successful.

What commands do I use to solve this problem?

I would like to save a simple plot to jpeg file on my hard disk. I've got a Maplet, and a Button which looks like that

Button['SIM']
 (
     "Save image",
     onclick=Evaluate('function'='saveImage()')
)

and a procedure:

saveImage := proc()

   plotsetup('jpeg', 'plotoutput'="plot.jpeg", 'plotoptions'="portrait,noborder");
   plot3d(sin(x)+cos(y), x=0..2*Pi, y=0..2*Pi, 'axes'='boxed');

I was solving one Math puzzle and found out a strange behaviour of the Optimization package commands in the Classic Worksheet.

Let us minimize the function 7*x+3*y under the constraint 6*x+2*y >= 49 for non-negative integers. When I type

Optimization:-Minimize(7*x+3*y, {6*x+2*y >= 49}, assume = nonnegint);

Let function f(x)=x(2011+√(2013-x2)).Find maximum and minimum value of function f(x)?

Why won't isolve show all the solutions here?

> a := 6*x+2*y >= 48:
> b := 6*x+2*y <= 60:
>
> with(plots):
> aa := implicitplot(a, x = 0 .. 10, y = 0 .. 5, filledregions = true, transparency = .5):
> bb := implicitplot(b, x = 0 .. 10, y = 0 .. 5, filledregions = true, transparency = .5):

display(aa,bb)

We can see the region of solutions.  But if we use isolve ...

I inputted the folllowing into Maple.

with(plots):
contourplot(x^2*y/(x^4+y^2),x=-1/2..1/2,numpoints=60^2,color=blue);
However it is giving me this error:
Error, (in plot/iplot2d/expression) bad range arguments x = -1/2 .. 1/2, numpoints = 3600
 
I don't understnad why.
My lecturer has completed this graph and I literally just copied what she had written on our worksheet in order to acheive the same...

Please write for me a code for the following problem.

Problem. Find all the values of m for which the function

f(x)= (x^2 + 2*m*x  + m+2)/(3*x+m)

is increasing in each interval (-infty; -m/3) and (-m/3; + infty)?

Thank you.

I am trying to model a multibody system using euler lagrange equation. There are 3 links in the system attached with each other by revolute joints. The first link has one end fixed with the revolute joint.

Length of links= l1,l2,l3

Angle with x axis=Theta1,Theta2,Theta3

Mass of links=m1,m2,m3

Moment of Inertia = M1,M2,M3

I am not able to find the solution of ODE system comprising of 3 ODEs which I get after solving Euler Lagrange Eq for...

Hi,i'm new with maple, please help me solve these 2nd order ODES :)

 

x''=-x/((x^2+y^2)^(3/2))

y''=-y/((x^2+y^2)^(3/2))

 

my codes are:

 

declare((x, y)*t)

deq2 := diff(x(t), `$`(t, 2)) = -x(t)/(x(t)^2+y(t)^2)^(3/2), diff(y(t), `$`(t, 2)) = -y(t)/(x(t)^2+y(t)^2)^(3/2)

ic2 := x(0) = 1, (D(x))(0) = 0, y(0) = 0, D(y) = 1

rosen := dsolve({ic2, deq2}, type = numeric, stiff = true, {x(t), y(t)})

Dear,

I wrote a code used for calculate integration using monte carlo method (in order to get random results).

I also wrote the code using maplet in order to get the interface.

However, when I finished I could not receive the result because of the error:

Error, (in Maplets:-Elements:-Maplet) `Maplets:-Elements:-ElementTable[typ]` does not evaluate to a module

I do not understand this error and how to correct it.

I need the help from others.

I want to solve the equation 12^x -6^x +6-36/(3^x)=0 with the commant

solve(12^x -6^x +6-36/(3^x)=0,x);

but i didn't receive solution x = 1. Please help me.

A  group of boy and girl students  compete to eat pizza at super market .One pizza was cut 12 pieces one boy student  could to eat 6 or 7 pieces and one girl student could to eat 2 or 3 pieces .

If they put  4 pizzas they will not see enough  if  they put 5 pizzas will over .

How many boy and girl students who compete ?

How do I add constants in a new package under an existing one?

For example, I want to add a new package named Astronomy under the Scientific constants package that contains more solar system data ie M[Jupiter], M[Saturn] etc...  or is it better to create the new package by itself?  How?

I'm trying to have Maple automatically assign values to variables that are given in a list.

This is my function:

optp:=Maximize(F(w1,w2,w3))

optp:=[0.345,[w1=0.05,w2=0.6,w3=0.35]]

Now how do I get Maple to automatically assign w1,w2, and w3 to the values given in the output?

I tried this code:

w1:= optp[2][1];

First 1763 1764 1765 1766 1767 1768 1769 Last Page 1765 of 2430