LOVE 数学

在这里插入图片描述

1 ❤️

上半部分: y = 1 − ( ∣ x ∣ − 1 ) 2 y=\sqrt{1-(|x|-1)^2} y=1(x1)2
下半部分: y = a r c c o s ( 1 − ∣ x ∣ ) − π y=arccos(1-|x|)-\pi y=arccos(1x)π

2 L

y = 1 x y=\frac{1}{x} y=x1

3 O

x 2 + y 2 = 4 x^2+y^2=4 x2+y2=4

4 V

y = 2 ∣ x ∣ y=2|x| y=2x

5 E

x = − 2 ∣ s i n ( 1.5 y ) ∣ x=-2|sin(1.5y)| x=2sin(1.5y)

% LOVE
clc;
clear;
close all
x=-2:0.01:2;
x1=0:0.01:2;
love1=sqrt(1-(abs(x)-1).^2);    % 上半部分
love2=acos(1-abs(x))-pi;        % 下半部分
L=1./x1;
O1=sqrt(4-x.^2);
O2=-sqrt(4-x.^2);
V=2*abs(x);
E=-2*abs(sin(1.5*x));
figure(1)
% L
subplot(1,5,1)
plot(x1,L,'linewidth',5,'color','r')
set(gca,'XTick',[],'YTick',[]);
% O
subplot(1,5,2)
plot(x,O1,'linewidth',5,'color','r')
set(gca,'XTick',[],'YTick',[]);
hold on
plot(x,O2,'linewidth',5,'color','r')
set(gca,'XTick',[],'YTick',[]);
%subplot(1,5,3)
plot(x,love1,'linewidth',5,'color','r')
hold on
plot(x,love2,'linewidth',5,'color','r')
set(gca,'XTick',[],'YTick',[]);
% V
subplot(1,5,4)
plot(x,V,'linewidth',5,'color','r')
set(gca,'XTick',[],'YTick',[]);
% E
subplot(1,5,5)
plot(E,x,'linewidth',5,'color','r')
set(gca,'XTick',[],'YTick',[]);

在这里插入图片描述

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

二进制人工智能

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值