Ramakrishnan

Ramakrishnan Vaidyanathan

289 Reputation

5 years, 141 days

Social Networks and Content at Maplesoft.com

With twenty years of Industrial experience and twenty years of teaching experience, I am now as retired Professor, using Maple to teach mathematics subject for students studying X to XII standards.

Doubt on floattype(8) error and colour d...

I could get in two methods? Why the error in the first method below? Thanks for answering.

Ramakrishnan V

 (1)

 (2)

 (3)

How do I correct the error above?

Thanks.

Ramakrishnan V

 (4)

 (5)

How do I change colour above here?

Thanks for help.

Ramakrishnan V

 > dataDF := DataFrame( < 1.9, 1.7, 3.0; 1.8, 1.5, 1.7; 3.2, 2.2, 3.1;2.2, 1.9, 3.2; 2, 1.7, 1.9; 3.3, 2.3, 3.2>, 'rows' = [ 'r1','r2','r3','r4','r5','r6'], 'columns' = [ 'c1', 'c2', 'c3'] ):
 > colorDF := DataFrame( < yellow,green,black; yellow,green,black;yellow,green,black;yellow,green,black; yellow,green,black;yellow,green,blue >, 'rows' = [ 'r1','r2','r3','r4','r5','r6'], 'columns' = [ 'c3', 'c1', 'c2'] ):

Is Bar plot possible if xy combinations ...

Dear Prof., Thank you so much. [4,10,2] is right as you mentioned. I also did not mention that x and y are references and numbers as such. 4 mm diameter(x) with 10% recirculation(y) for cooled exhausr recirculation case(A) is referred to as case A [4,10, z] in which case please recommend a suitable command for (column) chart which is easy to visualise given a proper scale and width of each column.

Is it ok if i assume COLA [col1 is A 4 5,; col2 is A 4 10; col3 is A 4 15; ]

COLB[col4 is A 6 5,; col5 is A 6 10; col6 is A 6 15;]

COLC [col7 is A 8 5,; col8 is A 8 10; col9 is B 8 15; ]

COLE [col10 is B 4 5,; col11 is B 6 5; col2 is B 8 5;]

COLF [col13 is B 4 10,; col14 is B 6 10; col15 is B 8 10; ]

COLG

COLA to COLG are defined as A to G (D omitted)

 (1)

 (2)

 (3)

 (4)

 (5)

 (6)

The chart i want is different in 6 groups and not 3 groups. Colour also i need to change. Please do help me with right commands. Thanks.

Ramakrishnan v

 Effect of A and B on z values Cooled Recirculation Uncooled Recirculation x                y 5% EGR 10% EGR 15% EGR 5% EGR 10% EGR 15% EGR 4 mm 6 mm 8 mm
Table 1: Effect of Modified Parameters on z output

Dear Prof.,
Thank you for your answer given below. It helped me understand simple ideas. I want a suitable plot for the above data. I have given the values as [ x  y  z] for z values to be plotted for the two cases, A and B in the same graph to compare and get the best option x ,    y and A or B .

Mathematically an x vs y vs z plot. Any bar or similar plot is what seems suitable to me.

I could not locate any help for plotting 3D data values in help page.

Thanks.

Ramakrishnan V

 > with(plots): Avals:= [ [ 4, 5, 1.9],  [ 6, 5, 1.7],  [ 8, 5, 3.0],           [ 4, 10, 1.8], [ 6, 10, 1.5], [ 8, 10, 1.7],           [ 4, 15, 3.2], [ 6, 15, 2.2], [ 8, 15, 3.1]         ]: Bvals:= [ [ 4, 5, 2.2],  [ 6, 5, 1.9],  [ 8, 5, 3.2],           [ 4, 5, 2.0],  [ 6, 10, 1.7], [ 8, 10, 1.9],           [ 4, 15, 3.3], [ 6, 15, 2.3], [ 8, 15, 3.2]         ]: p1:=pointplot3d(Avals, symbol=sphere, symbolsize=20, color=red): p2:=pointplot3d(Bvals, symbol=sphere, symbolsize=20, color=blue): display([p1, p2]);

[col16 is B 4 15,; col7 is B 6 15; col8 is B 8 15;]

Your answer has given me the way to proceed in a simpler way for the combinations i have. After seein the plot in your doc only, i realised that giving values to x and y is a gross mistake because point plots show scattered points and difficult to notice the corresponding optimum case combination. Thank you again. Ramakrishnan V

just sending result from maple2017...

Hope attached doc gives some hope.Just typed in 2017 and sending you the error msg.

 (1)

Ramakrishnan V

MathContainer details...

Dear Daniel,

Thank you very much for being very practical in your answers to the doubts raised by me long ago. In fact I was about to lose hope of getting help, when this response from you has rekindled my energy to continue working with plot components more and more. Very useful answer it is for me.

Cheers. Ramakrishnan V

coulditbe right!...

The following supporting points may be considered.

sqrt(x)=-I can be solved as follows;Hence coulditbe(sqrt(x)=-I)  is true as per Maple.

 (1)

Dividing by zero is undefined; Hence solve(1/x=0,x) is not answered by Maple.

However as an approximation, 0.00001 is zero.Hence coulditbe(1/x)=0) is true as per Maple.

 (2)

 (3)

Also, Maple keeps silence for above statement, because (-I)^2 is not defined.

coulditbe_points.mw

can't produce it...

I have not executed the doc after changing the < sign and hence the mistake. I am sorry. Maple gives the same correct answer always.

 (1)

 (2)

 (3)

 (4)

 (5)

 (6)

My opinion from the above is : When a is real and b is complex, a and b can not be compared.

Like number of goats and number of lions  can not be added to give an answer in number of lions alone or number of goats alone!!
Riemann's function Zeta is a function of Complex number

 (7)

 (8)

 (9)

 (10)

What does the above results convey??

Am I correct if i state that 's' should be a complex number only and not a real number.

Permit me to comment please - Riemann hy...

"quod erat demonstrandum" i.e. "Proof neads demonstration" is absolutely right with Riemann's zeta as a function of complex numbers..

In my humble opinion, we can not answer if some one asks us, "what is 3a compared to 4b?", unless we know about a and b!!

In the assumption we have made here, s > 0 or s < 1/2, we compare s as only real number where as s is a complex number involving imaginary ones about which we donot know. I can not say (-1)^0.5 > 0. Not even 10((-1)^0.5) > 0.

I am just a novice with high regards for Riemann and hence commented.

It seems from the attached doc, s may be a complex number only.

Thanks. Cheers.

 (1)

 (2)

 (3)

 (4)

what_is_s.mw

Thank you very much for letting me know about the print levels and careful programming needs. It is great. Though i have undisputed confidence in Maple, in this particular case, I was little shaken by Maple. Your response has taught me that Maple does that with a purpose and I need to learn a lot more interesting facts about Maple! Cheers. Ramakrishnan V

yes=copy paste may be the culprit.....

Yes. Copy paste (No cut paste) may be the culprit. Also from your document (with subscripted like data 1,2 variables in place of indexed variables like data[1][2] in my doc), i suspect i have faulted in atomic variable option selection (I donot know much about it and typesetting). I understand it is my problem only tofind out the culprit text by comparing the original and this one. Unfortunately I am more worried about the old original doc (and the time and tension it generates i cannot stand at my age). Hence i will do by retyping the codes all and check. Thanks for the trouble taken by you and CarlLove.

Cheers.

Another excellent solution I got from Dr.Robert, to do it in single loop,

Try doing it the following way:

 (1)

=

=

is attached.

Thanks. ...

 (1)

 (2)

If I change NULL to [NULL], the Error, `,` unexpected does not show, but N[1] and N[2] has fisrt value as empty cell. that is

I want the error to be removed and output as it is

ok Thanks

where is empty cell? Blank lines with co...

 >
 > HERE BRING THE MOUSE and PRESS CTRL+DELETE buttons.
 >
 (1)
 >
 >

where.mw

an empty cell. Where does it show? Thannks.

If it is command pronpts with no commands in the line, then what CarlLove is correct. I used to cut the next command lines and paste there!!

added in ws and disabled as text...

I hv attached the doc and copied from edit menu the startup code in the worksheet. Hope this helps to you to guide me. However module output is not used by me in this doc. The first loop can be removed to prevent module function to perform.

If i use [NULL], then the error goes, but [ ] is assed in the list as first value.

Thanks.Doubt_A_ReactantValues.mw

Data made for Data[i,j] [k] where i =1,2; j=1..8. Each Data has 6 values. k = 1..6

For each data i got an output list of 6 values using a module;

I made a for do statement which performs but gives an error "unexpected ','.

Can any onr help to find my mistake. Thanks.

 (1)

 (2)

 (3)

 (4)

 (5)

print(SetProperty...) inside loop with e...

Yes. It works and i enclose the doc... Thanks.

Ramakrishnan V

 (1)

varying_input.mw

pdf file attached...

"Say No to dialogue box "Do you wish To save these results"." (This does not affect the performance when opened again.)
Rightclick in Navigator window attach file fig1.bmp
Save as workbook (.maple file).

Saying Yes to save summary results generates the error because semicolons and colons are missing in our doc. After correction, it saves well. I attach pdf of workbook since workbooks are not uploaded.

Fig3.pdf

Fig2.maple

Fig2.pdf

Change in RotaryGauge...

A colon does completely supresses all outputs including the change in RotaryGauge0 (RG0) indication. Please send me doc corrected with output changing (or input changing in RG0)

Thanks.

Ramakrishnan V

varying_input.mw

 2 3 4 5 6 7 8 Page 4 of 11
﻿