Hello Mark, I have done the code, and its working, but I am getting the following error:
"warning:comparing floating point quantities for equality may give misleading"
would you please like to help me fixing what I am doing wrong?
The Code:
am multitask_trig ! This program solves three...
That's exactly what I am doing, in fact I have about 6 or 7 sucessful programs made in Fortran 95, here a copy of one of them:
! New Quadratic formula calculator
program new_quad_solve
implicit none
real :: a, b, c
real :: disc, root1, root2
print *, ' Enter values for a, b...
Thank you Mark! I have followed all your comments, yes my bad being so novice on this sorry for that!
I was following another's solution on the net, but yes it does make a sense not valuating the formula if equals to 1, I felt that could no affect the final solution, since no trying to give 1...
Well, I have another problem here, no matter what number I do assign to X the result is the same, something is wrong, here the complete code:
program complex_value
implicit none
! This program solves the complex value of inverse SIN when it is higher than 1
real :: x
real :: arcsin...
I have a fantastic HP 41CV and the equivalent in my iPhone, and have also three more apps: Mathway, Calculator Plus, and GeoGebra graphing app, will give some of them a try to solve this, not that do not trust to Fortran... is why you know I am totally newbie in this language
Thanks it seems that is now running, now do you know how can I test if the results are ok? It seems that there's no calculator that actually could do imaginary or complex calculations.
Thanks Berkeman, I am actually interested in Java, I have some other books waiting for that, my older brother said that Java runs some applets with 2D input that could get some nice results, but at this time I wanted to solve first my issues in Fortran, don't get me wrong, but as I have solved...
Hi, I've never said Fortran was the problem, I am an industrial designer fully pasionated with math, recently I came across with an old book of Fortran90/95 and gave it a try, and I have felt in love with the results, at this time I could "write" about 6 programs including the quadform solution...
Hi, I am trying to run this program and I am having a warning:
"warning 298 - value X has been used without being given an initial value"
Here is my code: [moderator: code tags added]
real :: x
real :: arcsin
complex :: I = ( 0.0 , 1.0 )
print *, ' Enter the value of x '
if ( abs ( x ) >= 1...