MaplePrimes Questions

 Hi 

I am usign dsolve for maple to give my a fuction z(t) . Maple solves the differential equation but i want maple to give me the exact number for specific t values z(60) and so on. But maple is given as an answer z(60) and not a number 

Problem. write the equation of the line cut the two lines d1: x = 2*t, y= -t+1, z = t-2, d2: x = -1+2*m, y = 1+m, z = 3 and perpendicular to the plane 7*x+y-4*z=0. 

This is my code. 

> restart;with(geom3d):

with(LinearAlgebra):

a:=[2*t,-t+1,t-2]:

b:=[-1+2*m,1+m,3]:

line(d1,a,t):

line(d2,b,m):

Hi,  if i have a matrix 4x4 as

A=[I          Y        -X        aX

     bY        Z         o          o

      X^T     O^T     0         0

       o^T  O^T       0         q ]   

I have a non linear Sharpe ratio with 3 portfolio weights w1,w2 and w2. I want to (globally) maximize the sharpe ratio by choosing w1,w2 and w2 subject to the constraints that each of the variables is in the range of 0 to 1, and that their summation is equal to 1. I also want the maximization to start at an initial point of [w1=0.35,w2=0.6,w3=0.05].

The function is:

SR:= (0.012w1+0.007w2+0.0384w3-0.009)/(stdev)

where stdev is the standard deviation of the portfolio ...

#Could you check how to generate a correct plot? I use Sum here because nested add commands didn't work.

restart;
S := proc (x) options operator, arrow; 1+Sum(floor((x/(Sum(floor(cos(Pi*(factorial(n-1)+1)/n)^2), n = 1 .. r)))^(1/x)), r = 1 .. 2^x) end proc;

#This yields the Prime number sequence, try seq(value(S(x)), x = 1 .. 7);

#Problem:

# Plot seems wrong:
plot(S(x), x = 1 .. 7);

#Raising Digits >15 results in empty plots

Can't find what the matter in recursive occurance of this problem. Anyone knows how to sort it out, thanks

k:=20:
m:=4:
p[0] := 1:
tr := 4:

omega[n]:=sqrt(k/m):

T[n]:=(2 pi/omega[n]):

> maxpoint := proc (x)
local tr, p1;

tr := evalf(x*T[n]):
p1 := piecewise(t1 <= tr, p[0]*t1/tr, p[0]):
maximize(int(p1*sin(omega[n]*(t-t1))/(m*omega[n]), t1 = 0 .. t), t = 0 .. dur) :

With(geom3d), equation of  a line has the form a parametric equation. How  i can get canonical equation of a line? Please help me?

Hi everyone, I have a question:

In case if I assign for example:

x:=2:

y:=3:

z:=x+y;

Maple will print (output) solution in form :

                                                  ...

What does error message in Title mean, and how can I cure it? (I cannot copy and paste from my .ws into thie question box).

Best ragards,     Michael Caola

 

I can't write a program to solve the following problem:

The first two terms of a sequence are a1 = 1, a2 = 1/sqrt(3). For n >=1, a(n+2) = (an + a(n+1))/(1-an*a(n+1)). What is a2012?

Hi

I'm working with some rather complicated functions in Maple. They are elements in matrices, and I need to perform mattrix operations on them, as well as integrations. When I try this with my complete functions, Maple locks up. Therefore I am trying to make approximations to some of the functions. The example below shows an example, where the complicated function (green) is denoted theta24. I comvert it to a 5th degree polynomial (red). But the approximation only...

I would see on the monitor the vector n > 10 with all his components, but the output of Maple is always the structure of the vectors.

For example, if I write:

The loading of Facebook plugins really slows mapleprimes down.  Can we get rid of the facebook connections entirely? 

I have also noticed mapleprimes takes much longer to load pages when logged in as opposed to browsing mapleprimes logged out.  Again could be the facebook issue.

Is it possible to paint in black and white colors the cells of 5x5 grid so that each 3x3 square contains exactly 5 black cells and  each 2x4 rectangle (vertical or horisontal) contains exactly 4 black cells? How to answer this with Maple?

Hi, I have a vector with 33 points ####[33x1]Matrix### for example : [43.6, 764,3.85,32.7 .........n]

Each point is at the plotted on the x axis of theha:Matrix([seq((Pi/32)*n,n=0..32)])^%T:   ####another[33x1]Matrix#####

How do I plot first point (0,43.6), second point (Pi/32,764), third point (2Pi/32,3.85) etc...

Please help. Thank you.

First 1768 1769 1770 1771 1772 1773 1774 Last Page 1770 of 2434