minhhieuh2003

85 Reputation

3 Badges

4 years, 241 days

MaplePrimes Activity


These are questions asked by minhhieuh2003

Can you help me

myproc := proc () local img1, img2, img3;

with(DocumentTools); with(DocumentTools:-Layout);

img1 := "c:\\1.jpg"; img2 := "c:\\2.jpg"; img3 := "c:\\3.jpg";

print("Title 1 row 1, picture 1"); print(img1); print("Title 2 row 2, picture 2");

print(img2); print("Title 3 row 3, picture 3"); print(img3);

print("The End");

end proc

``

myproc := proc () local img1, img2, img3; with(DocumentTools); with(DocumentTools:-Layout); img1 := "c:\\1.jpg"; img2 := "c:\\2.jpg"; img3 := "c:\\3.jpg"; print("Title 1 row 1, picture 1"); print(img1); print("Title 2 row 2, picture 2"); print(img2); print("Title 3 row 3, picture 3"); print(img3); print("The End") end proc:

``


 

Download insert_picture.mw

print monitor

 


 

eq := solve({2*m-5 < 0, -3*m <= 5}, {m})

{-5/3 <= m, m < 5/2}

(1)

" implies result list m  in  `&Zopf;`, so m can m=0, m=1, m=2 and count=3"``

count := 0:

countt = 4

(2)

``

``

``

eq := solve({m-3 < 0, -m <= 6}, {m})

{-6 <= m, m < 3}

(3)

" implies result list m  in  `&Zopf;`, so m can m=-6, m=-5, m=-4, m=-3, m=-2, m=-1, m=0, m=1, m=2 and count=3"

count := 0:

countt = 9

(4)

``


i want to list variable m in integer number from solve?

Can you help me?

@acer

@Carl Love

Download help_list_integer_equation.mw

with(plottools);

with(plots);

display(line([.8, 0], [1, .2], color = red), line([.6, 0], [1, .4], color = red), line([.4, 0], [1, .6], color = red), line([.2, 0], [1, .8], color = red), line([0, 0], [1, 1], color = red), line([0, .2], [.8, 1], color = red), line([0, .4], [.6, 1], color = red), line([0, .6], [.4, 1], color = red), line([0, .8], [.2, 1], color = red), rectangle([0, 1], [1, 0], color = red, transparency = .5, thickness = 1), axes = none)

how can type print display by for ?

Please help me
 

Download help_plots.mw

into 

 

 

 

I can type expression below:

s1 := sqrt(2);
                              (1/2)
                             2     
map(op, indets(s1, sqrt));
                             /   1\ 
                            { 2, - }
                             \   2/ 
s2 := log[2](3);
                             ln(3)
                             -----
                             ln(2)
map(op, indets(s2, ln));

And expression above is error
Error, type `ln` does not exist

Can you help me?

s3:=surd(2,3);

map(op, indets(s3, surd)); --> { } 


 

````

s1 := sqrt(2)

2^(1/2)

(1)

map(op, indets(s1, sqrt))

{2, 1/2}

(2)

s2 := log[2](3)

ln(3)/ln(2)

(3)

map(op, indets(s2, log))

Error, type `log` does not exist

 

s3 := surd(2, 3)

2^(1/3)

(4)

map(op, indets(s3, surd))

{}

(5)

``


 

Download help_map_indets.mw

1 2 3 4 5 Page 1 of 5