Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Help me find out the answers please Question 2 (20 marks) CLO2 30 Fertilizer formulation contains three macronutrients needed by plant, which are nitrogen (N),

image text in transcribed

Help me find out the answers please

Question 2 (20 marks) CLO2 30 Fertilizer formulation contains three macronutrients needed by plant, which are nitrogen (N), phosphorus (P) and potassium (K). Nitrogen is the main nutrient needed for leave to produce chlorophyll, phosphorus needed for roots and potassium needed for plant growth and reproduction. Each plant needs different level of nutrients as shown in Table 2.1. Table 2.1: Percentage of nutrient, X required by plant Plant XN(%) Xp(%) XK(%) Eggplant 30 38 32 Cucumber 40 36 24 Kailan 60 23 17 Fertilizer is usually formulated by mixing correct amount of each nutrient. The mass of each nutrient, My Mp and Mk can be calculated using Equations 2.1 - 2.3 XNM MN 100 Eq. 2.1 Mp = Xp M 100 Eq. 2.2 Mk = 100 Eq. 2.3 where X represents percentage of nutrient N, P or K, and M is total mass for fertilizer. The cost for each nutrient, Cy is RM30/kg, Cp is RM16/kg and Ck nutrient is RM21/kg. The total cost for fertilizer can be calculated using Equation 2.4 Total Cost = MC + Mp Cp + MCK Eq. 2.4 Formulate algorithm and flowchart of decisional structures to determine total cost of fertilizer for different type of crop. In this program, user need to give type of plant and total mass of fertilizer they want to buy. The program should display the type of plant, mass of fertilizer, M and total cost as outputs

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Handbook Of Database Security Applications And Trends

Authors: Michael Gertz, Sushil Jajodia

1st Edition

1441943056, 978-1441943057

More Books

Students also viewed these Databases questions

Question

=+4 What are non-union workers representations?

Answered: 1 week ago