Question

by using Fortran.90 solve the below? Q)Write a program, order.fortran.90, to evaluate the following three expressions:...

by using Fortran.90 solve the below?

Q)Write a program, order.fortran.90, to evaluate the following three expressions:
x=a*b+c*d+e/f**g
y=a*(b+c)*d+(e/f)**g
z=a*(b+c)*(d+e)/f**g

Homework Answers

Answer #1

!Write a program, order.fortran.90, to evaluate the following three expressions:
!x=a*b+c*d+e/f**g
!y=a*(b+c)*d+(e/f)**g
!z=a*(b+c)*(d+e)/f**g

WRITE(*,*)"Enter The Numbers:" !Here the user given by seven numbers(a,b,c,d,e,f,g)
READ(*,*) a,b,c,d,e,f,g
x=a*b+c*d+e/f**g
y=a*(b+c)*d+(e/f)**g
z=a*(b+c)*(d+e)/f**g
WRITE(*,*)"The output are:"
WRITE(*,*)" x=",x,"y=",y,"z=",z !Here the output is showed
STOP
END

INPUT:

2 3 2 4 3 5 3

OUTPUT:

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
by using fortran.90 solve the question below... -the power (watts) and the voltage (volts) the current...
by using fortran.90 solve the question below... -the power (watts) and the voltage (volts) the current (amps) drawn in a circuit can be found from: Current= (Power)/ (Voltage).By using Select Case, write a program that calculates the current given the power of 50 devices (remember that the voltage is 240v in the UK) and displays the most suitable cable for use. Consider 3 suitable cables (1.5 mm2 for up to 5 amps, 2.5 mm2 for up to 13 amps, and...
by using fortran.90 solve this question... the pH of an aqueous solution is a measure of...
by using fortran.90 solve this question... the pH of an aqueous solution is a measure of its acidity. The pH scale ranges from 0 to 14, inclusive. A solution with a pH of 7 is said to be neutral, a solution with a pH greater than 7 is basic, and a solution with a pH less than 7 is acidic. Write a program that will read value of pH of a solution, and will print whether it is neutral, basic,...
Python Programming 1. Write the following Python expressions in mathematical notation. a. dm = m *...
Python Programming 1. Write the following Python expressions in mathematical notation. a. dm = m * (sqrt(1 + v / c) / sqrt(1 - v / c) - 1) b. volume = pi * r * r * h c. volume = 4 * pi * r ** 3 / 3 d. z = sqrt(x * x + y * y) 2. What are the values of the following expressions? In each line, assume that s = "Hello" t =...
Write an assembly program to compute the following expressions Create a list named ‘z’ of size...
Write an assembly program to compute the following expressions Create a list named ‘z’ of size 3 using DUP operator. Leave the list ‘z’ uninitialized. You can denote the items in the list as [z0, z1, z2]. z0 =x+13 z1 = y-x z2= r+z1-13 Where x, y, r are 16-bit integer memory variables. x = 7, y = 20, r = 4 Use the debugger to verify your answer. Please answer using this format for code: .386 .model flat, stdcall...
Simply the following functional expressions using Boolean algebra and its identifies. List the identities used at...
Simply the following functional expressions using Boolean algebra and its identifies. List the identities used at each step. a) F(x, y, z) = y(x’ + (x + y)’) b) F(x, y, z) = x’yz + xz c) F(x, y, z) = (x’ + y + z’)’ + xy’z’ + yz + xyz The Essentials Of Computer Organization And Architecture (4th Edition) - Chapter 3 - PROB 14E Note: It seems the Chegg solutions for the textbook are sometimes not correct,...
Write each of the following expressions in unit vector notation of the form , x i...
Write each of the following expressions in unit vector notation of the form , x i + y j + z k , where x, y, and z are just numbers. A: (i x j) x (i + k) B: [i x (j x i)] x k C: [(i + j) x (j+k)] x ( i x k) D: (i + j) x [(j + k) x (i x k)]
solve it as soon as and i will upvote you directly i need details plz Question#1:...
solve it as soon as and i will upvote you directly i need details plz Question#1: Write the complement of the following function using product of maxterms F(A,B,C,D) = ∑(0,2,4,6,8,10,12,14) Question#2: Write the following function using sum of minterms F(A,B,C,D) = ABC` + ABCD` + AC` Question#3: Write the truth table for the complement of the following function F(A,B,C,D) = ∏(0,2,4,6,8,10,12,14) Question#4: Simplify the following function using Algebra F = Y(X + Y) + (X+Y)’Z + YZ Question#5: What is...
Write logical expressions for the following conditions: x is not a negative number x is a...
Write logical expressions for the following conditions: x is not a negative number x is a multiple of 7 x is greater than the sum of y and z x is the greatest number among x, y, and z x is less than 99 but greater than 49
For the integral below, write a program to do the trapezoid rule using the sequence of...
For the integral below, write a program to do the trapezoid rule using the sequence of mesh sizes h = (b – a)/2, (b – a)/4, (b – a)/8, ..., (b – a)/128, where b – a is the length of the given interval: f(x) = e−x sin(4x), [0, pi], I(f) = (4/17)(1 − e^-pi) = 0.2251261368. Verify that the expected rate of error decrease is obtained. Attach your code and a plot of error vs. h.
Write a C++ program to demonstrate thread synchronization. Your main function should first create a file...
Write a C++ program to demonstrate thread synchronization. Your main function should first create a file called synch.txt. Then it will create two separate threads, Thread-A and Thread-B. Both threads will open synch.txt and write to it. Thread-A will write the numbers 1 - 26 twenty times in nested for loops then exit. In other words, print 1 - 26 over and over again on separate lines for at least 20 times. Thread-B will write the letters A - Z...