Question: I looked over the textbook solution but still do not understand how they got this answer below INTEGER:: iREAL:: t, y DO i = -9,9,3t=REAL(i)

 I looked over the textbook solution but still do not understand

I looked over the textbook solution but still do not understand how they got this answer below

INTEGER:: iREAL:: t, y DO i = -9,9,3t=REAL(i) IF(t>=0.) THEN y=-3.0*t**2+5.0 ELSE y=3.0*t**2+5.0 END IF WRITE(*,*) t=,t,y(t)=,y END DO

3-3 Write the Fortran statements required to calculate y(t) from the equation -30 +5 20 13 +5 t

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!