Question
I wrote this program in fortran 90, but I am having difficulty organizing the output as required, because there are many y values. I want
I wrote this program in fortran 90, but I am having difficulty organizing the output as required, because there are many y values. I want to divide it into more than one page, so that each page contains six y values, as in the attached picture, pleas make sure to test the program befor e send it its the forth time i sind it
program table real :: z(6) real :: x, y, xa = -1.00, xb = 1.00, ya = -1.25, yb = 0.25 real :: dx = 0.1, dy = 0.05 character(80) :: title = 'Dependency z(x,y)=ch(2*y/x)sin(x/y)-log(x+y)' integer :: k
write(*, '(14x,a)') title write(*,1)('_',k=1,80) write(*,'(3x,a,6f10.2,3x,a)') 'x\y', (y, y=ya, yb, dy) write(*,1)('_',k=1,80)
x = xa do while (x
write(*,1)('_',k=1,80) 1 format(80a1) end program table
\begin{tabular}{c|cccccc} xy & y1 & y2 & y3 & y4 & y5 & y6 \\ \hlinex1 & & & & & \\ & & & & & \\ x & & & & & \end{tabular}Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started