Quantcast
Channel: MaplePrimes - Questions and Posts tagged with solve
Viewing all articles
Browse latest Browse all 1080

RE: how to calculate arctan from the resultf from 'solve' command

$
0
0

Hello All, 

Would please tell me how to get the result from 'arctan()' function by using a part of the results from 'solve' command?

Here is an example:


 

restart; with(plots):

R_circ := 455.0353986;

455.0353986

(1)

Is6 := 716.6183759;

716.6183759

(2)

Imu6 := 101.1189775;

101.1189775

(3)

sys := { (x - R_circ - Imu6)^2 + y^2 = R_circ^2 , x^2 + y^2 = Is6^2 } ;

{(x-556.1543761)^2+y^2 = 207057.2140, x^2+y^2 = 513541.8967}

(4)

solve( sys, {x,y} );

{x = 553.6164051, y = 455.0283208}, {x = 553.6164051, y = -455.0283208}

(5)

answer5 := %;

{x = 553.6164051, y = 455.0283208}, {x = 553.6164051, y = -455.0283208}

(6)

answer5[1];

{x = 553.6164051, y = 455.0283208}

(7)

arctan((answer5[1][2] / answer5[1][1]));

Error, invalid input: arctan expects its 1st argument, y, to be of type algebraic, but received y/x = .8219198646

 

 


What would be the way to rectify the error above?

Download Qprime20200701.mw


Viewing all articles
Browse latest Browse all 1080

Trending Articles