Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

MATLAB Question Objective: Making the program showing the geological time scale after input the name of the epoch and returns the beginning and end in

MATLAB Question

Objective: Making the program showing the geological time scale

after input the name of the epoch and returns the beginning and end in Ma (i.e. input: Eocene, output: from 55.8 to 33.9 Ma)

My code: Trial 1

b=input('Please type the geiological time period ');

if strcmp(b,'Quaternary')

disp('The geological time is: 0 to 2.58 Ma')

elseif strcmp(b,'Miocene')

disp('The geological time is: 23.03 to 33.9')

end

My code: Trial 2

b=input('Please type the geiological time period ');

if b=='Quaternary'

disp('The geological time is: 0 to 2.58 Ma')

elseif b=='Miocene'

disp('The geological time is: 23.03 to 33.9')

end

Question: but these are not working. What is the problem? I want to use if statement. not others.

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

Sams Teach Yourself Beginning Databases In 24 Hours

Authors: Ryan Stephens, Ron Plew

1st Edition

067232492X, 978-0672324925

More Books

Students also viewed these Databases questions

Question

in need of help with the conclusion Question 1 (12 points)

Answered: 1 week ago

Question

1. How do most insects respire ?

Answered: 1 week ago

Question

Who is known as the father of the indian constitution?

Answered: 1 week ago

Question

1.explain evaporation ?

Answered: 1 week ago

Question

Who was the first woman prime minister of india?

Answered: 1 week ago

Question

Explain the concept of going concern value in detail.

Answered: 1 week ago