Reference no: EM13323702
Write an user defined function, that takes as input the x and y co-ordinate of three points, i.e. (x1,y1), (x2,y2) and (x3,y3). The output arguments represents the length of three side of a triangle i.e. l1,l2,l3. (25)
Conditions:-
1>If user gives input for just one point i.e. (x1,y1) show a warning that “You cannot for a triangle†and assign l1=0,l2=0 and l3=0.
2>If user gives input of two points i.e.(x1,y1) and (x2,y2) then assume (x3,y3)=(0,0)
And then calculate the length of three sides of the triangle.
3>If user gives less than two input number, or three inputs, five inputs, or more than six inputs, your program must terminate showing an error message.
Why would savers be willing to hold treasury bills
: With a falling price level, what happens to the actual real interest rate? Does your answer depend on what happens to the nominal interest rate? Briefly explain.
|
Design solution that would increase sustainability of water
: Stormwater controls are typically designed by civil engineers. Stormwater is collected in pipes below the ground and routed to nearby surface water.
|
Calculate the year 0 value of operations
: Free cash flow is expected to grow at a constant rate of 4% after year 2. The company's weighted average cost of capital is 10%. Calculate the Year 0 value of operations.
|
Find the amplitude of the steady-state motion
: A system with m = 0.026 kg , k = 35 N/m and b = 0.59 kg/s is driven by a harmonically varying force of amplitude 3.6 N. Find the amplitude of the steady-state motion
|
Write an user defined function
: Write an user defined function, that takes as input the x and y co-ordinate of three points, i.e. (x1,y1), (x2,y2) and (x3,y3). The output arguments represents the length of three side of a triangle i.e. l1,l2,l3. (25)
|
Write a matlab program that takes 2 number
: Write a Matlab program that takes 2 number and choice of the user as input.
|
How much would the roe changed
: Had it reduced its assets in this amount, and had the debt ratio, sales, and cost remained constant, by how much would the ROE changed?
|
Write an user defined function to print all the prime number
: Write an user defined function to print all the prime numbers within a range.
|
Write a program that reads in a line of text, counts
: Output of the letter count is a loop running from 0-25, with an if statement that allows output if the array entry isn't zero.
|