blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
eb60f565327c5935bec39b59365154706e62d757 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2144/CH5/EX5.1/ex5_1.sce | a4387dac1516243842fc6027f3d97614d5157b0a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 661 | sce | ex5_1.sce | // Exa 5.1
clc;
clear;
close;
// Given data
T1 = 550;// in degree C
T1 = T1 + 273;// in K
T2 = 27;// in degree C
T2 = T2 + 273;// in K
Eta = ((T1-T2)/T1)*100;// in %
disp(Eta,"Maximum possible efficiency for staem turbine plant in % is");
T1 = 2500;// in degree C
T1 = T1 + 273;// in K
T2 = 400;// in degree... |
0afccf3138ee0b9ea846115bdcad57aa0c47d1b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH9/EX9.35/Ex9_35.sce | c656f576b6cae186f246be3a53d7dd965ff8d44c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 272 | sce | Ex9_35.sce | clear
//Given
Ig=0.015 //A
G=5
I=1
V=15
//Calculation
S=(Ig*G)/(I-Ig)
R=G*S/(G+S)
R1=(V/Ig)-G
R2=R1+G
//Result
printf("\n (i) Resistance of ammeter of range 0-1 A is %0.3f ohm", R)
printf("\n (ii) Resistance of ammeter of range 0-15 A is %0.3f ohm", R2)
|
ccb6f9b3f352fdbcad663e9163bcbe826c8178ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH3/EX3.38/Ex3_38.sce | d67f0280e376ec169beaa2e25e5fcfd4e17f778f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 591 | sce | Ex3_38.sce | //EX3_38 Pg-3.75
clc
Vo=5;
Il=20e-3;
Pz=500e-3;
Rl=Vo/Il;
Il_min=Il;//minimum load current
Il_max=Il;//maximum load current
Iz_max=Pz/Vo;//maximum zener current
Iz_min=5e-3;//minimum zener current
V=12;//input DC voltage
Vin_min=12-3;//min input voltage
Vin_max=12+3;//max input voltage
Rmax=(Vin_min-Vo)/(... |
0d025cbdf516079a7c768f47ec47f7f16f42bf51 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_ap_bfa_mt/~BivLCM-SR-bfas_ap_bfa_mt-PLin-VLin.tst | 7207a3c67fa44b18a8c126cd297b9af4f23a1689 | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfas_ap_bfa_mt-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.255103D+00
... |
722566e2e11a07859b0c8e846a594ddf33c783d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3756/CH1/EX1.14/Ex1_14.sce | 81a9265d7f111348d3b1577c64d56316affe19f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 201 | sce | Ex1_14.sce | clc
//
//
//
//Variable declaration
lambdaa=5.46*10**-7 //Wavelength
t=6.3*10**-6 //thickness
//Calculations
mu=((6*lambdaa)/t)+1
//Result
printf("\n The refractive index is %0.3f ",mu)
|
017795ed5ad6444b3ea35df604ee4d07f9a84131 | a557f90da8513f81cafd8f65e37e2c0d66449a2f | /repetation.sce | 8decced5761ab76fbbd73c40d5ba0c7187fa6f8c | [] | no_license | Sahil966121/SCI | 484cd77d6247e54fe87d36b4f112965c83ab5d96 | cf2921861486a4f2e2e83c3ca813a4e7710d3508 | refs/heads/main | 2023-03-03T17:43:08.236192 | 2021-02-03T05:19:43 | 2021-02-03T05:19:43 | 324,413,192 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sce | repetation.sce | clear;
clc;
x=input('Enter the sequence');
k=input('Enter the nmber of times the signal repeats');
x1=x;
for i=1:k
x1=[x1 x];
end
x=abs(fft(x));
x1=abs(fft(x1));
subplot(211);plot2d3(x);
subplot(212);plot2d3(x1);
|
704e0a405b872a5f210b27a0dca35e6cb821150e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH10/EX10.14/ex10_14.sce | b6e852393f6dc652888b6b71199b67bf96064805 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 264 | sce | ex10_14.sce | clc;
k=1.38*10^-23; //Boltzmann's constant in J/K
tk=273+100; //absolute temp (in Kelvin)
KE=3/2*(k*tk); //calculating average Kinetic Energy in Joule using kinetic theory of gases
disp(KE,"Average Kinetic Energy in Joule = "); //displaying result |
ec37b0ee973517a1e5e75d880816697c1f505762 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3638/CH11/EX11.2/Ex11_2.sce | 861d3897e8acae993ddbd91b0d800dbb0b810fbb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 825 | sce | Ex11_2.sce | //Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
//Example 11.2
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
//For Cr+3 ions in ruby
N1=1.6e19;//Population density of E1 energy level in cm^(-3)
N2=0;//Population density of E2 energy level in cm^(-3)
... |
fe68743c0f6c8c12ab9f540bdb8bf1e25e96d6fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1730/CH6/EX6.1/Exa6_1.sce | 96f46c4b06f622270e2e33f9bd8859bf0d6eb520 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 506 | sce | Exa6_1.sce | //Exa 6.1
clc;
clear;
close;
// given data
epsilon_r=2.5;
epsilon_o=8.854*10^-12;
d=.2*10^-3;// in m
A=20*10^-4;// in m^2
omega=2*%pi*10^6;// in radians/s
f=10^6;
tan_delta=4*10^-4;
C=epsilon_o*epsilon_r*A/d;// in F
disp("Capicitance is : "+string(C*10^12)+" miu miu F");
// Formula P=V^2/R, so
// R=V^2/P... |
9dfe7aa4f64600a8977665958d9913fd4c529a60 | 52cff1a2ef2292f8b9acf18dcfe1d4b0df75c558 | /LAB 2- CONVOLUTION AND CORRELATION/60002190043_SS_SCILAB 2 convolution.sce | 4abfb4ceb7951fa9500c00f334a683aaad01a216 | [] | no_license | Hetankshi/SCILAB | 692a3abc71e6686f40745d69a66e4511db244491 | 424d4cc3459bb535e2f6793249f6a583374820ad | refs/heads/main | 2023-01-16T05:39:22.830875 | 2020-11-25T12:23:14 | 2020-11-25T12:23:14 | 315,916,735 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 74 | sce | 60002190043_SS_SCILAB 2 convolution.sce | clc
clear all;
close;
x1=[1,3,7,-2,5];
x2=[2,-1,0,3];
y=conv(x1,x2)
|
38d82e54cc050d6e2df60f96df4ea135abcd99e5 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/enbw/enbw1.sce | b3f965905827e8fe4436562285b0babb77f9a1a5 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 142 | sce | enbw1.sce | //check o/p when the i/p arg is a uniformly sampled hamming window
win=window('hm',1000);
en=enbw(win);
disp(en);
//output
// 1.3638074
//
|
294e999ed7b3031d9fd3eab237c4c41c809c0910 | 449d555969bfd7befe906877abab098c6e63a0e8 | /243/CH3/EX3.23/3_23.sce | 50d9630c0bcd4e9d718273d93128ba3885a141d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 397 | sce | 3_23.sce | //Example No. 3_23
//Associative law
//Pg No. 58
clear ; close ; clc ;
x = 0.400000*10^40
y = 0.500000*10^70
z = 0.300000*10^(-30)
disp('In book they have considered the maximum exponent can be only 99, since 110 is greater than 99 the result is erroneous')
disp((x*y)*z,'xy_z = ','but in scilab the this value i... |
526bcf92ecbe9f4c02d77149b12a8ea2f11293ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH5/EX5.5/Ex5_5.sce | 5a5edf5e41abcf60f24f1224d42d8aad3ed80f74 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 250 | sce | Ex5_5.sce | //Example 5_5
clc();
clear;
//To calculate the average frictional force developed
m=2000 //units in Kg
vf=20 //units in meters/sec
d=100 //units in meters
f=(0.5*m*vf^2)/d //units in Newtons
printf("Average frictional force f=%d N",f)
|
878cf78f2d5e897aa72cc9f8e9396caaa0c2aad1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /905/CH1/EX1.9/1_9.sce | 6c48a44c2b0cc0613228f7626b83c5736869a311 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,398 | sce | 1_9.sce | clear;
clc;
// Illustration 1.9
// Page: 27
printf('Illustration 1.9 - Page:27 \n\n');
// Solution
//*****Data*****//
// A-acetic acid(solute) B-acetone(solvent)
T = 313; // [K]
// The following data are available (Reid, et al., 1987):
// Data for acetic acid
T_bA = 390.4; // [K]
T_cA = 594.8... |
e974affce88efb4600fde778f59ec387f18ac6f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2198/CH2/EX2.11.4/Ex2_11_4.sce | 1aba886f3b7049a7f32e87c6ca5e047f4d8dc31d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 704 | sce | Ex2_11_4.sce | //Ex 2.11.4
clc;clear;close;
format('v',8);
//Given :
T=300;//K
m_Si=1.5;//for Si
m_Ge=1.5;//for Ge
EGO_Si=1.21;//volt
EGO_Ge=0.785;//volt
Eta_Si=2;
Eta_Ge=1;
VT=26/1000;//V
disp("Part(i) : ");
d_logIoBYdt_Ge=m_Ge/T+EGO_Ge/(Eta_Ge*T*VT);//per degree C
disp(d_logIoBYdt_Ge,"d(log(Io))/dt for Ge (per degr... |
39d98179490a42e6f51713dce766b702ad7e82cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3392/CH11/EX11.4/Ex11_4.sce | 95dbbaa9322d4e92572bcd3754c67349c905a758 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 167 | sce | Ex11_4.sce | clc
// initialization of variables
clear
SF=1.75
p1=300 //MPa
S_rr=-SF*p1
S_th=SF*325
Y=1/sqrt(2)*sqrt((S_th-S_rr)^2+S_rr^2+S_th^2)
printf(' Y = %.1f MPa',Y)
|
4ab816f29c9934ec2621ec5f9bbb7d1345c18790 | 333d6160f9a6d9e23a6bea06cd03e5e8fa8785a9 | /RobotLab1/SciLab/LoadData.sce | 87d63ac6e3447caca681c415e298c3d8c9a2bf2d | [
"MIT"
] | permissive | DmitryIo/ROBOTS | 6f6bb12a8e08dd28024136ee1a8a84ea7254da60 | 777f0884a098c4f21d044985c25a8be276334116 | refs/heads/master | 2023-04-30T12:52:54.082977 | 2021-05-17T19:55:34 | 2021-05-17T19:55:34 | 294,091,170 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 180 | sce | LoadData.sce | results = read(get_absolute_file_path("LoadData.sce") + "..\Data\log" + currIdx + ".txt", -1, 2);
angle = results(:, 1)*%pi/180;
time = results(:, 2)/1000;
plot2d(time, angle, 2);
|
57e3a57dab4539cc7575189efa3896fc4d0cf2eb | 4483ff664b4d01c53114a7fc535625c197c8f989 | /green routing/sampleprob.sce | fa30ee32b8115e67e3f0cec66d2ed5c41acfc314 | [] | no_license | winash1618/myproject | be9b77d4a405edce7e625a999803016b50ab99d0 | 2132e76e6a996bee19f356a2b68af827fa6c621b | refs/heads/master | 2022-12-06T06:09:06.487979 | 2020-08-20T02:00:54 | 2020-08-20T02:00:54 | 288,880,158 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,263 | sce | sampleprob.sce | clc
clear
x=8
z=21
pop=10
iter=10000
a=zeros(pop,z)
rag=zeros(iter)
rag=zeros(iter)
bd=10000000*ones(1,pop)
gppd=zeros(pop,x)
cap=[288 95 115 133 107 22 34 28 186 190 33 56 100 90 82 143 68 166 44 73 72 60 68 8 20
]
tim=[0 1 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000;... |
e7fbf3403fb76cc7b216f2333f4729dcbea4c865 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2507/CH7/EX7.5/Ex7_5.sce | c06537a9d540f3baf2eeb29a229610a228e26f5a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 597 | sce | Ex7_5.sce | clc
clear
printf("Example 7.5 | Page number 192 \n\n");
//Part(a) Find the COP of reversible heat engine as refrigerator.
//Part(b) Find the COP of reversible heat engine as heat pump.
//Given Data
T1 = 273 + 37 //K
T2 = 273 - 13 //K
//Part(a)
printf("Part (a)\n");
COP_ref = T2/(T1-T2) //COP of reversibl... |
24494c3245c167f6b1bd44e821e34d19ad705790 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1457/CH9/EX9.8/9_8.sce | eb07e981434684c954aeb283a063c0f4e1896e5c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 192 | sce | 9_8.sce | clc
//Initialization of variables
G=100 //lb/s
g=32.2
V2=300 //fps
V1=250 //fps
//calculations
Qh= (V2^2 -V1^2)/(2*g)
Q=Qh*G
//results
printf("Thermal energy added = %d ft lb/s",Q)
|
f00994e6030eb9c771d5f9c6bffcccb00149845c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH6/EX6.7/Ex6_7.sce | 8baafe52a35ee5fbd283a4cd091b1b5cbca3097e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,307 | sce | Ex6_7.sce | //Fluid System By Shiv Kumar
//Chapter 6 - Kaplan and Propeller Turbines
//Example 6.7
//To Find (a)Diameter of Runner (b)Speed (c)Specific Speed
clc
clear
//Given:
H=32; //Head, m
P=16000; //Shaft Power, KW
D_per=190; //Percentage by which Diameter of Runner(D)is Larger than diameter of Bos... |
aa89b7b093338ec06b97defe63311e2c4616d768 | 717ddeb7e700373742c617a95e25a2376565112c | /587/CH13/EX13.10/example13_10.sce | 5b2b8f9e9c264f3bf65dbde3a75551e11fcb129e | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 1,862 | sce | example13_10.sce | clear;
clc;
//Example13.10[Heat Transfer through a Tubular Solar Collector]
k=0.02588;//[W/m.degree Celcius]
Pr1=0.7282,Pr2=0.7255;//Prandtl no
nu1=1.608*(10^(-5)),nu2=1.702*10^(-5);//[m^2/s]
T1=20,T2=40;//[degree Celcius]
Tavg=((T1+T2)/2)+273;//[K]
Do=0.1,L=1;//Dimensions of glass tube[m]
Di=0.05;//Inner di... |
c1a27047e25875ccf5f3e51742edee28c656e073 | 449d555969bfd7befe906877abab098c6e63a0e8 | /728/CH8/EX8.16/Ex8_16.txt | 37d76d780ffffaebed429ee0977ce30560dd21a3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 577 | txt | Ex8_16.txt | //Caption:Calculate (i)-repeller voltage V_r ,(ii)-beam current necessary to give gap voltage of 200V
//Exa:8.16
clc;
clear;
close;
e_m_ratio=1.759*10^11;//(e/m)
V_o=300;//in volts
R_sh=20*10^3;//in ohms
f=8*10^9;//inHz
w=2*%pi*f;
n=2;//mode
L=0.001;//spacing between repeller & cavity (in m)
x=(e_m_ratio)*(... |
bdbb14826db646cea2761aa63fa88d239f8d1060 | 5f48beee3dc825617c83ba20a7c82c544061af65 | /tests/s/61.tst | 2258fcede9c461bdb5c2755bbef53d16402e7eac | [] | no_license | grenkin/compiler | bed06cd6dac49c1ca89d2723174210cd3dc8efea | 30634ec46fba10333cf284399f577be7fb8e5b61 | refs/heads/master | 2020-06-20T12:44:17.903582 | 2016-11-27T03:08:20 | 2016-11-27T03:08:20 | 74,863,612 | 3 | 0 | null | null | null | null | WINDOWS-1251 | Scilab | false | false | 55 | tst | 61.tst | int f(float x, int y), g(int z) /* ошибка */
{
} |
ad5c08312c930c038b00eebdc3c0ca7a8768f160 | c2249f1089957357481c4bc88e17047fb96af0fd | /TestCases/projp2.tst | 44a4ecbc129d35235281e1ba5a50d3ffef73dd90 | [] | no_license | FikriAnuar/LaTeXParser | 9bf5d0f1ea85d26ae4cb4cb72ef0cd95a7e358d6 | 97a872d3903aafea98045050f1782b0ff7840ed7 | refs/heads/master | 2022-12-12T04:17:47.702201 | 2020-09-09T16:38:05 | 2020-09-09T16:38:05 | 294,170,332 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,053 | tst | projp2.tst | \begin{document}
The second part of the semester project focuses on gaining experience with
lex (flex) and yacc (bison), coupled with continued design (and redesign)
skills for context free grammars (CFGs). The second part of the project
is divided into two major tasks, and is worth a total of 50 points:
\begin{enumer... |
639f20e24cdc9da1f8fad7cee83c061f8839248c | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.5_8.tst | a4ceafa88b1acfbde166c63d057b6e9d647739f6 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 33,650 | tst | bow.5_8.tst | 5 4:0.5 6:0.25 7:0.5 8:0.14285714285714285 12:0.2857142857142857 20:0.5 21:0.2 23:1.0 26:0.02857142857142857 38:0.3333333333333333 48:0.5 49:0.015503875968992248 51:2.0 55:0.36363636363636365 64:0.75 68:0.5 71:2.0 100:0.125 133:1.5 137:1.0 176:1.0 183:1.0 190:0.2 236:0.5 366:1.0 383:1.0 407:1.0 483:2.0 611:1.0 647:1.0 ... |
f6d58d3d4a1dc66ce7d850a77866c0fce9a33858 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/rooteig/rooteig1.sce | 4428203558c13a7aacb74bdef5f8007a0ef3bf79 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 196 | sce | rooteig1.sce | //i/p args are x and p
clc;
clear;
exec('/home/debdeep/Desktop/TEST NOW!!/rooteig/rooteig.sci');
x=[1 2 3 4 5 67 8 9];
p=2;
y=rooteig(x,p);
disp(y);
//output
// 0.
// 2.1797329
|
9e6cdd5037c29dd2f118bc34406a52a7983e765f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1664/CH2/EX2.8/Ex2_8.sce | fdd960acdfe1ebd6a69ecba1ac8441cf05de7133 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 307 | sce | Ex2_8.sce |
//Example No.2.8.
// Page No.62.
clc;clear;
Op = 5*10^(-3);//Output power -[W].
I = 10*10^(-3);//Current -[A].
V = 3*10^(3);//Voltage -[V].
Ip = (10*10^(-3)*3*10^(3));//Input power.
Eff = (((Op)/(Ip))*(100));//Efficiency of the laser.
printf("\nThe efficiency of the laser is %.6f percent",Eff);
|
66d1d9359d3de0c2cea426dfd65f88c1beff7c1a | c3c3833ed7a93cc597ebb6c13fd2239f66519209 | /ammod/ammod_Test_Two.sce | 199752e4b26a1c0a4c26ca9cfd04ff3bdb269b5f | [] | no_license | UsamaFoad/ScilabToolboxTesting | bfae1dcb69f26b96d31a776ff16b3d1cb3684730 | f6cefd595833dfa6bcc454068b2539f70110246c | refs/heads/master | 2021-01-10T15:21:58.079787 | 2016-04-08T14:55:15 | 2016-04-08T14:55:15 | 55,781,088 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,248 | sce | ammod_Test_Two.sce | // Tester name: Usama A.F. Khalil
// usamafoad@gmail.com
// Before run this testes do not forget to execute ammod function in Scilab, ex.
// exec('<Drive Letter><Path to ammod.sci file>\ammod.sci',-1)
// then you can run code for each block by selecting it then Ctrl + E
//
// The aim of current test(s) is to check the ... |
9f5fbc38f014468897f395b36974a601de021593 | a5f0fbcba032f945a9ee629716f6487647cafd5f | /Machine_Learning/macros/Perceptron.sci | 36406c914faef4fc3eb4b565cf933b73022ff085 | [
"BSD-2-Clause"
] | permissive | SoumitraAgarwal/Scilab-gsoc | 692c00e3fb7a5faf65082e6c23765620f4ecdf35 | 678e8f80c8a03ef0b9f4c1173bdda7f3e16d716f | refs/heads/master | 2021-04-15T17:55:48.334164 | 2018-08-07T13:43:26 | 2018-08-07T13:43:26 | 126,500,126 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 592 | sci | Perceptron.sci | // Macro for single perceptron -- Scilab
// Function to train a single perceptron model with given
// rate and iterations to converge
function theta = perceptronTrain(x, y, rate, iter)
// Making an initial guess
theta = (1.0/length(x(1, :)))*ones(1, length(x(1, :)));
// Training
for i = 1:iter
sigm = x*t... |
8dceb996db6837a900b4109fcbaa233eec2cd351 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3041/CH3/EX3.12/Ex3_12.sce | ac54942fcdb1e2a90c8b1d5e5b0b7c8b189f6171 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 944 | sce | Ex3_12.sce |
//Variable declaration
k=0.0002 //device parameter
Vt=4 //thevinin voltage(V)
Vdd=24 //drain voltage(V)
Id0=3 //drain current(mA)
//Calculations
Vgs=(sqrt(Id0/k))+4 //as Id=k(Vgs-Vt)^2
Rd=-(Vgs-Vdd)/Id0 //as Vds=Vdd-I... |
f0d6d3e873e373606cadaa23cab85ac48f321497 | d65667bd6da157e725e5083a95c7a5e3c5e50371 | /hdf5/HDF5Examples-0.1.1-Source/C/H5T/testfiles/h5ex_t_opaque.tst | 025097681018902666c9a4585abc1a3ce3b301ce | [] | no_license | DCC-Lab/Umuco | 4748640ddd5869f193303057445fccbf2e1cc6c5 | 41c38cd6c8e8d771708959eb02c9dee054148cbc | refs/heads/master | 2020-08-07T01:11:31.456247 | 2019-02-24T18:16:16 | 2019-02-24T18:16:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 112 | tst | h5ex_t_opaque.tst | Datatype tag for DS1 is: "Character array"
DS1[0]: OPAQUE0
DS1[1]: OPAQUE1
DS1[2]: OPAQUE2
DS1[3]: OPAQUE3
|
8d5fb45b8ffdcb10658272d69e8dc04a184a06b6 | c9285067e636c3d90d2ba32cd79618a83934bb7f | /Rayleigh_PM_3.sce | 49a85fa489edf884255ce237f6b2c71a0565fc53 | [] | no_license | SreekanthGunishetty/ScilabAssignment | 7313cc47e31aabad725b7f2b067f31e0ecf7f41f | b9df679f70d16af141534d1b18105c60476c726a | refs/heads/master | 2021-01-02T20:22:47.454878 | 2020-04-18T10:15:08 | 2020-04-18T10:15:08 | 239,784,550 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,133 | sce | Rayleigh_PM_3.sce | clc;clear;close;
A=[]
disp("Rayleigh Power Method")
printf("\nEnter a 3x3 matrix:\n\n")
for i=1:3
for j=1:3
printf("Enter element A(%d,%d):",i,j)
A(i,j)=input("")
end
end
disp(A,"The matrix is:")
x0=[]
disp("*****************************************************************")
printf(... |
b1bee5fe89831a36bbb29800c39d7570a1cc03c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /199/CH6/EX6.16.a/Example_6_16_a.sce | e5610738450884731b99d7bca28fbc4b3f64f7cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 527 | sce | Example_6_16_a.sce | // Chapter6
// Page.No-238
// Example_6_16_a
// Design of differentiator
// Given
clear;clc;
C1=0.1*10^-6; // Assume
fa=1*10^3; // Freq at which gain is 0 dB
Rf=1/(2*%pi*fa*C1); // Using fa=1/(2*%pi*Rf*C1)
printf("\n Feedback resistance is = %.1f ohm \n",Rf)
Rf=1.5*10^3; // Approximation
fb=20*10^3; // Gain ... |
bb4907f79e8ad1d874c2b455c94056dafd469f1d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2165/CH4/EX4.14/4_14.sce | a45186c469972ac0e7e5e64a49acb0c82baf6a11 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 533 | sce | 4_14.sce | clc
//initialisation of variables
a=1.025//in^2
h=18//in
h1=24//in
x=8.2//percent
v=15//in
v2=6.9//ft^3
p=0.74//lb/in^2
p1=50//lb/in^2
p2=83//lb/in^2
P3=48.0//lb/in
P1=29.8//lb/in^2
P2=14.6//lb/in^2
h2=29.8//in
D=(%pi/4)*(3/2)^2*2//ft^3
v1=23400//ft.lb
W=a*v1//ft.lb
V=0.082*D//ft^3
Q=1.530//ft^3
//C... |
8fe474eb7770643787efa5343a9b7abf8fa9c089 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH1/EX1.7/7.sce | b527a4c316ed6525caa147e76ebaca2d14e7513e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 485 | sce | 7.sce | clc
clear
//Input data
Pt=100;//Pressure of air when the bulb is placed in hot water in cm of Hg
P100=109.3;//Pressure of air in a constant volume thermometer at 100 degree centigrade in cm of Hg
P0=80;//Pressure of air in a constant volume thermometer at 0 degree centigrade in cm of Hg
//Calculations
t=((Pt-P... |
b514b9be2cead74aca922c0e9d331f6f5f06b185 | 717ddeb7e700373742c617a95e25a2376565112c | /671/CH5/EX5.13/5_13.sce | dfe16ada2471b933651b9d2d97314cbc18469a82 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 192 | sce | 5_13.sce | f0=1E6
Cmax=500E-12
C=450E-12
w0=2*%pi*f
L=1/(w0*w0*Cmax)
w=1/sqrt(L*C)
f=w/(2*%pi)
wb=2*2*%pi*(f-f0)
r=wb*L
Q0=2*%pi*f*L/r
disp(Q0,L,r)
////////calculation mistakes in book |
f69a3d4ceb64501d058bb5b1e6e82d853fc751e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /689/CH16/EX16.3/3.sce | a3bd7dbe259c12734309c08d6094a7b78e9c2a11 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 945 | sce | 3.sce | clc; funcprot(0);
//Example 16.3 Horsepower required at sea level
// Initialisation of variables
W = 11200;
S = 365;
rho = 0.002378;
// Calculations
Cl = poly(0,'Cl');
Cd = 0.023 + 0.0445*Cl^2;
Coeff_Velo = 19.77*sqrt(W/S); //Using equtaion 8.5.2
Coeff_HP = W^1.5/(550*sqrt(rho*S/2)); //U... |
67af2700e45123882bb5b66b6db9bfce3891263f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH7/EX7.5/Ch07Ex5.sce | 330e83e1219cb2cb1179369ce4892b357b41ee9f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 547 | sce | Ch07Ex5.sce | // Scilab code Ex7.5: Pg:288 (2008)
clc;clear;
m = 3.34e-027; // Mass of deutron, gm
q = 1.6e-019; // Charge, coulomb
r = 0.2; // Radius of the path of deutron, meter
B = 1.5; // Magnetic field, weber per meter square
v = q*B*r/m; // velocity of the deutron, m/s
E = 1/2*m*v^2/1.6e-013; // Energ... |
a4ee406b6edb3233cc0ccc574a861497e26547ee | 87749481136b7b72a47930f587f27667e0c0f97d | /DFT/Task_1.sce | 7d32c0b2966fe56e4f236b71fe1910e5ed817dc7 | [
"MIT"
] | permissive | brooky56/Digital_Signal_Processing | cf15e5ac443a16edcb3efc8d7703cf4746dedcba | f28651e40b0a99b79e9ba27deabc4db8bfc7f08e | refs/heads/master | 2022-06-30T17:59:28.072522 | 2020-05-11T18:58:39 | 2020-05-11T18:58:39 | 242,598,653 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,482 | sce | Task_1.sce | clear all;
b = chdir('C:\Users\work\OneDrive\Documents\SciLab\lab_v5')
exec('DFT.sci')
exec('FFT.sci')
figure(0)
f = 5;
Fs = 64;
dt=1/Fs;
T = 4;
t =0:dt:T-dt;
signal = cos(2*%pi*f*t);
plot(signal);
xlabel("Time")
ylabel("Amplitude")
figure(1)
subplot(2,1,1)
a = DFT(signal)
frequinces = (0:length(signal)-1)/length(si... |
02a7e037b4ae9b667fb28633e53b412e66ce2433 | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/CH6/EX6.5.2/6_5_2.sce | b41570802d5d6a41f59cee1e0452eaa0559015aa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 538 | sce | 6_5_2.sce | clc
pathname=get_absolute_file_path('6_5_2.sce')
filename=pathname+filesep()+'652.sci'
exec(filename)
printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
outputx=S/(S+100)
printf("x=%f Kg KNO3/Kg",outputx)
disp("Water balance")
m1=basis*(1-input... |
977c5a4cf53989e412e7a989d9adac8858903787 | 367fb86cc145c187bc8aa89afab0f15f7e8826e4 | /functions/cv_rgb2gray_path.sci | ea4fc04d8a49159012ccfbe61becaf5f4128a25d | [] | no_license | rishubhjain/funcforscilab | 19180cefb15a88df5cd55d91c2e50ab1829e4860 | 3f9fb8b1f467e1e89da1297bee8bd14645da5605 | refs/heads/master | 2021-01-23T00:15:23.622940 | 2015-04-22T09:32:28 | 2015-04-22T09:32:28 | 31,612,595 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 138 | sci | cv_rgb2gray_path.sci | function [image] = cv_rgb2gray_path(path)
pyImport rgb2gray_file
image=rgb2gray_file.rgb2gray(path)
endfunction
|
211195f36dcfb561d3b1561d562b732f9656c464 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH2/EX2.14.b/Ex_2_14_b.sce | e552a0c2ec115094e03043133b3211c99363d9f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 378 | sce | Ex_2_14_b.sce | // Example 2.14.b:Maximum Core Readius
clc;
clear;
close;
n1=1.48;//Waveguide Refractive Index
d= 0.01;// Cange in core-cladding refractive index
a=2;// parabolic refractive index
h=1.3;//wavelngth in micro meters
v= 2.4*sqrt(1+(2/a));//maximum value of normalised frequence
a= (v*h)/(2*%pi*n1*sqrt(2*d));//Core... |
8aaa898ee4cfb641de22a2ded81afd4cb25ed77a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3812/CH1/EX1.14.c/1_14_c.sce | d25dcad50876e7c158a2ce62f1975a12fe3fe5b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 205 | sce | 1_14_c.sce | //Example 1.14<c>
// Find wheather the following signal is periodic or not x3(n)=e^(i*7*pi*n)
clc;
n=-21:21;
x=exp(%i *7* %pi *n);
f=(7*%pi)/(2*%pi);
N=1/f;
disp(N,'the given signal is periodic');
|
6491f0d48366ad4021e9ae91413c54730705aaca | 449d555969bfd7befe906877abab098c6e63a0e8 | /3647/CH5/EX5.4/ex5_4.sce | b85e88ff7fd515a255cc2b1db283d151ea9340f7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 300 | sce | ex5_4.sce | //Solutions to Problems In applied mechanics
//A N Gobby
clear all;
clc
//initialisation of variables
d=60//rev/min
s=5//in
v=5//in/s
a=25.2//in/s
x=2.23//in
b=4.59//in
z=20.0//in
//CALCULATIONS
U=x*v//in/s
V=b*v//in/s
B=V/z//rad/s
//RESULTS
printf('the angular velocity=% f rad/s',B)
|
00305733e81fda4d6df5b11dbfb4708cf3e2d843 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH8/EX8.19/8_19.sce | f039e0ea166334cd14127e07bd0681bcc19233c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 298 | sce | 8_19.sce | T0 = 300; T = 1500;
Q = -8.5; W = 8.5;
// Case (a)
I = Q*(1-T0/T) + W;
R = Q*(1-T0/T);
disp("kW",I,"and",R,"Rate of availability transfer with heat and the irreversibility rate are")
// Case (b)
T1 = 500;
Ib = - Q*(1-T0/T) + Q*(1-T0/T1);
disp("kW",Ib,"Rate of availability in case b is")
|
c1aa116e63f38e72624d8fd443c70e49f10ef216 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH18/EX18.9/Ex18_9.sce | 161812b5e997f048beb6e33d55cfc245aaff9651 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 377 | sce | Ex18_9.sce | // Example 18_9
clc;funcprot(0);
// Given data
T=20.0+273.15;// K
// Calculation
theta_v=2740;// K
c_vbyR=(5/2)+((((theta_v/T)^2)*exp((theta_v/T)))/(exp(theta_v/T)-1)^2);
Y=8.3143;// kJ/kg.K
M_NO=30.01;// The molecular mass of nitrous oxide
R_NO=Y/M_NO;// kJ/kg.K
c_v_NO=R_NO*c_vbyR;// kJ/kg.K
printf("\nThe... |
ec105c6ebb1e5f77456d8c0adc6e4a5ba871104b | cfadc8057fba63a7793bcee7ce8e2e8c3e5dc359 | /solvers/IncNavierStokesSolver/Tests/Pyr_channel_SVV.tst | d6ea89dd1050c88194741a9a82b22f6f65e4ab32 | [
"MIT"
] | permissive | DarkOfTheMoon/nektar | a5132b836f9fb0894ec54c1f373c08df947dd5ca | b36f4214c0907f877fed8dfc08e53bd607eaea24 | refs/heads/master | 2021-01-20T03:59:10.430634 | 2017-04-27T11:50:26 | 2017-04-27T11:50:26 | 89,609,337 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,011 | tst | Pyr_channel_SVV.tst | <?xml version="1.0" encoding="utf-8" ?>
<test>
<description>3D channel flow, Pyramidic elements, using SVV</description>
<executable>IncNavierStokesSolver</executable>
<parameters>Pyr_channel_SVV.xml</parameters>
<files>
<file description="Session File">Pyr_channel_SVV.xml</file>
</files>
... |
3c8210fb55187902b648a9f628d3f7afb25cf3c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH12/EX12.5/Example12_5.sce | 6d98f902ac23c5413e2e2eac5f115cc799e55501 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,192 | sce | Example12_5.sce | clear ;
clc;
//Page No.367
// Example 12.5
printf('Example 12.5\n\n');
// Solution fig.E12.5
// Given
F = 100 ;// Overall feed/basis - [kg]
F_n_C5H12 = 0.80 ;// Fraction of n_C5H12 in overall feed
F_i_C5H12 = 0.20 ;// Fraction of i_C5H12in overall feed
S_i_C5H12 = 1 ;// Fraction of i_C5H12 in isopentane... |
d26913cbb0a188387fa09df876c7c01e01cfb014 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2858/CH1/EX1.7/Ex1_7.sce | a0b74260ce488e16119caa77bd958bc40d67e9c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 386 | sce | Ex1_7.sce | //example 1.7
clc; funcprot(0);
//parta
e1=0.92;
e2=0.86;
Hc=2.8;
s2=212;//sigma2dash
s1=140;//sigma1dash
Cc=(e1-e2)/log10(s2/s1);
Sc=Cc*Hc/(1+e1)*log10(s2/s1);
disp(Sc*1000,"consolidated depth in mm");
//part b
Sct=40;
T50=0.197;
t=4.5;
Cr=T50*12.7^2/t;
U=Sct/Sc*100/1000;
H=Hc/2;
Tv=%pi/4*U^2/100^2;
... |
8176e0b262b396d26582576516af36860a4ff51a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH7/EX7.1/Example7_1.sce | c8d4f7c72fe3b33c7247421b3f2d7106f3079861 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 727 | sce | Example7_1.sce | ///Chapter No 7 Fluid Mechanics
///Example 7.1 Page No:113
////Find mass density of liquid
//Input data
clc;
clear;
V=5; //volume of the liquid in m**3
W=45*10^3; //weight of the liquid in KN
g=9.81; //acceleration due to gravity in m/s**2
rhow=1000; //constant value
////Calculat... |
0366abdd2ba73f3c22b110ae5e5b029cd39c6df0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH2/EX2.23/2_23.sce | b4c3a25339a5cc0416e406c41803d96f0cc6d518 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 605 | sce | 2_23.sce | //ramanujan's method
//example 2.23
//page 47
clc;clear;close;
deff('y=f(x)','1-2*((3/2)*x+(1/4)*x^2-(1/48)*x^4+x^6/1440-x^8/80640)');
a1=3/2,a2=1/4,a3=0,a4=1/48,a5=0,a6=1/1440,a7=0,a8=-1/80640;
b1=1;
b2=a1;
b3=a1*b2+a2*b1;
b4=a1*b3+a2*b2+a3*b1;
b5=a1*b4+a2*b3+a3*b2;
b6=a1*b5+a2*b4+a3*b3;
b7=a1*b6+a2*b5+a3*... |
319d8d5203a32b24f45fda64e92ff81d1653539c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH27/EX27.12/Ex27_12.sce | 10d12cb65fa314102746474c31a51a5876b66daa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 248 | sce | Ex27_12.sce | clc;
//e.g 27.12
AV=1000;
f1=50;
f2=200*10**3;
D=0.05;
beta=0.01;
AV1=AV/(1+beta*AV);
disp(AV1);
fl1=f1/(1+beta*AV);
disp('HZ',fl1,"fl1=");
fu2=(1+beta*AV)*f2;
disp('MHZ',fu2*10**-6,"fu2=");
D1=D/(1+beta*AV);
disp('%',D1*100,"D1=");
|
6db06aad77b80cb5a6041cf708d233f95d8bbe8b | 2ba48648eefadee113a7c2f5d608cab5209c3a8b | /Unit&Func Test/单元测试文档/CagOS单元测试结果/LIBC/testcase/strtok.tst | de6cc145dcda0b8e88e8279bc774445fa13a396a | [] | no_license | wangdong412/Consen-SIS | 879762175575d0a62f26ec1effeb46c3fd62e3e8 | bca3fac35c961c3558a3438bca55e6d20825da3a | refs/heads/master | 2020-07-11T05:17:18.814104 | 2019-08-27T09:41:41 | 2019-08-27T09:41:41 | 204,450,874 | 1 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 1,920 | tst | strtok.tst | -- VectorCAST 6.4c (02/03/16)
-- Test Case Script
--
-- Environment : LIBC
-- Unit(s) Under Test: abort1 abs atof atoi atol bLib memchr memcmp memcpy memmove memset ns16550 qsort rand random random_r strcat strchr strcmp strcpy strlcat strlcpy strlen strncat strncmp strncpy strpbrk strspn strtod strtok strtok_r str... |
c6b1dc8f1fb4b2a4126b801c257e4a88aa45390a | f8bb2d5287f73944d0ae4a8ddb85a18b420ce288 | /Scilab/example/ナイキスト線図1.sce | 46694b6291332165cecdfe21c948f6a0e2496de0 | [] | no_license | nishizumi-lab/sample | 1a2eb3baf0139e9db99b0c515ac618eb2ed65ad2 | fcdf07eb6d5c9ad9c6f5ea539046c334afffe8d2 | refs/heads/master | 2023-08-22T15:52:04.998574 | 2023-08-20T04:09:08 | 2023-08-20T04:09:08 | 248,222,555 | 8 | 20 | null | 2023-02-02T09:03:50 | 2020-03-18T12:14:34 | C | SHIFT_JIS | Scilab | false | false | 156 | sce | ナイキスト線図1.sce | //ナイキスト線図
s=%s;
H=1; G=(s+2)^2/((s+1)*(s^2-2*s+4));
GH=G*H;
sys=syslin("c",GH);
clf();
nyquist(sys)
CharEq=denom(GH)+numer(GH)
roots(CharEq)
|
b54d468ae6133d2099d4da93f296ad8594f9200a | 449d555969bfd7befe906877abab098c6e63a0e8 | /74/CH12/EX12.1/example1_sce.sce | 328fb471383f40fd5ed5422226648fbf0c9020bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 220 | sce | example1_sce.sce | //chapter 12
//example 12.1
// page 413
n=8;// number of bits
Vofs=2.55;//in volts
R=2^n;//resolution
disp(R)
Resolution=Vofs/(2^8-1);
disp(Resolution)// an input change of 1LSB cause the output to change by 10mV |
eb031a2a534461ecc5622f7748ac9a038aa7287f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH21/EX21.6/Ex21_6.sce | 3ff59bb5e27bbc4c1b4c57f83dc03224b7173af3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,434 | sce | Ex21_6.sce | clc
// Given that
p1 = 0.56 // Ambient pressure in bar
t1 = 260 // Ambient temperature in K
r_p = 6 // Pressure ratio of compressor
n_c = 0.85 // Efficiency of compressor
v = 360 // Speed of aircraft in km/h
d = 3 // Propeller diameter in m
n_p = 0.8 // Propeller efficiency
n_g = 0.95 // Gear reduction efficie... |
8e41bf8da80bd7f063c5c00cd2d909b329d6c22e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3792/CH5/EX5.1/Ex5_1.sce | 592e9c8d4990e8e79de5b008ee55204e6d30e04d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 918 | sce | Ex5_1.sce | // SAMPLE PROBLEM 5/1
clc;clear;funcprot(0);
// Given data
n_1=1800;// rev/min
t_0=0;// s
// alpha=4t;
n_2=900;// rev/min
// Calculation
// (a)
omega_1=(-2*%pi*n_1)/60;// rad/s
// omega=-(60*%pi)+2t^2
omega_2=(-2*%pi*n_2)/60;// rad/s
t=sqrt((omega_2-omega_1)/2);// s
// (b)
// The flywheel changes direct... |
309f464a4269179e0085206b7cb869bb1c074b32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH4/EX4.6/example6_sce.sce | 6b9ef9b16247147b4e32775a83fd04ae762000ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 152 | sce | example6_sce.sce | //chapter 4
//example 4.6
//page 169
printf("\n")
printf("given")
Vbe=.7;Vce=-6;
Ib=20*10^-6
Ic=2.5*10^-3//from output characteristics
Bdc=Ic/Ib |
6c4527e07d510dce3a0edfa9031d1dde3502f125 | 449d555969bfd7befe906877abab098c6e63a0e8 | /623/CH10/EX2.9.2/U2_C9_2.sce | 067bb56d4ee07a4d4ce3c5cbd3993ced73905aac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 234 | sce | U2_C9_2.sce | //variable initialization
x=0:0.1:9999;
x0=0;
x1=9999;
//calculation
I=integrate('x^2*exp(-x)','x',x0,x1);
A=sqrt(1/(I*(%pi/2)));
r=(1/4)*integrate('x^3*exp(-x)','x',x0,x1);
printf("\n A = %f*a0^-1.5\n r = %.1f*a0",A,r);
|
b6f36d2dd0c2717ddf31edae6fd6908affb3aea5 | 573df9bfca39973c9bf2fa36f6e5af2643d7771e | /scilab/sistemas lineares/exemplo_Gauss.sce | 20611cd019af5b5d0d9d79e4b4786af1e40d684c | [] | no_license | DCC-CN/152cn | ef92c691edabe211b1a552dbb963f9fd9ceec94a | 4fe0b02f961f37935a1335b5eac22d81400fa609 | refs/heads/master | 2016-08-13T01:34:17.966430 | 2015-04-07T07:31:58 | 2015-04-07T07:31:58 | 44,502,526 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,905 | sce | exemplo_Gauss.sce | //
clc;
clear ;
getd('../lib');
function exemplo_Gauss(label, A, b, prec)
if ~exists("prec", "local") then
prec = 3;
end
tamanho = prec + 5;
pausa = %F;
mprintf("\n###################################################################################\n");
mprintf("Exemplo %s de solução de... |
6cbe2237453d479b852c29641ff98b3ec5322465 | f5bb8d58446077a551e4d9a6461a55255db523fe | /interpolação_polinomial/calc3.sce | 6b420e6a83ade4bc37ffc56feb3c019b8f0f3b1d | [] | no_license | appositum/numerical-calculus | 6be1a9990a1621c705af6ba5694cf8c7b891d06e | 7759e74ce9ce5c5826f96be7de84a2f7ecb97c91 | refs/heads/master | 2021-07-19T18:19:09.336819 | 2018-11-27T21:52:36 | 2018-11-27T21:52:36 | 143,060,426 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 640 | sce | calc3.sce | // calculo de erro de interpolaçao
// x | x1 | x2
// f(x) | f(x1) | f(x2)
// n = 2
// Estimativa do erro
// Er(x) <= |(x-x1)(x-x2)| / 2! * max λ∈[x1, x2] * |f^(n)(λ)|
// Sendo f(x) = 1/x^2 determine o pol. interpolador para x1 = 3 e x2 = 4 usando o método de Lagrange
// f(x1)*(x-x2) / (x1-x2) + f(x2... |
919ea16172c3ff4127104d533bd5dfaf9d86cb9a | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_And_Electronic_Principles_And_Technology_J._Bird_1529.zip/Electrical_And_Electronic_Principles_And_Technology_J._Bird_1529/CH12/EX12.6/12_06.sce | 69f89c5a1c69be44094944b59d907b02c5c78b0a | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 283 | sce | 12_06.sce | errcatch(-1,"stop");mode(2);//Chapter 12, Problem 6
;
hFE=125; //common-emitter current gain
Ic=50*10^-3; //collector current
Ib=Ic/hFE; //calculating base current
printf("Base current Ib = %d microampere",Ib*10^6);
exit();
|
1ea526e30c35a6a3ced5f9e6dd5834084650306d | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfi_a6_bfa_mt_d/~BivLCM-SR-bfi_a6_bfa_mt_d-PLin-VLin.tst | fe05fb1dd2c22cc0dcafbfb56746256eda84d4eb | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfi_a6_bfa_mt_d-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.354061D+00
... |
55761dba29ac8a087381d122c9ee50c8b899efcb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH10/EX10.5/10_5.sce | 380c7a71cbb90335029e7e7ce59b6ae6c0be3ecb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 785 | sce | 10_5.sce | //Example 10.5
//Newton Raphshon Method
//Page no. 320
clc;clear;close;
deff('y=f1(x,y)','y=x^3-3*x*y^2+1')
deff('y=f2(x,y)','y=3*x^2*y-y^3')
deff('y=f11(x,y)','y=3*x^2-6*y^2')
deff('y=f12(x,y)','y=-6*x*y')
deff('y=f21(x,y)','y=6*x*y')
deff('y=f22(x,y)','y=3*x^2-3*y^2')
x=[0;1];
printf('\nx(0) = %g\ny(0) =... |
2d7505d93be30c993b145ae4ea2523c8de4ba44b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3257/CH12/EX12.5/Ex12_5.sce | c33c10d690cbe3ee4abf57eb653874be13ac9be4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 562 | sce | Ex12_5.sce | // Heat generation in resistance spot welding
clc
I = 5500 // current in ampere
R = 250 // resistance in micro ohm
T = 0.15 // time in sec
d = 6 // diameter in mm
t = 3 // thickness in mm
rho = 7850 // density in kg/m^3
E = 1400 // energy required per gram mass
printf("\n Example 12.5")
Heat = I^2*R*1e-6*T
V... |
7d8b5093a8665b29b1992e6286b3d39eb9e58087 | 8ea401b354e99fe129b2961e8ee6f780dedb12bd | /macros/melt().sci | f46c5f92b11112763e7dbd5ce56a8d29c6302795 | [
"BSD-2-Clause"
] | permissive | adityadhinavahi/SciPandas | 91340ca30e7b4a0d76102a6622c97733a28923eb | b78b7571652acf527f877d9f1ce18115f327fa18 | refs/heads/master | 2022-12-20T04:04:35.984747 | 2020-08-19T16:10:51 | 2020-08-19T16:10:51 | 288,765,541 | 0 | 1 | null | 2020-08-19T15:35:04 | 2020-08-19T15:14:46 | Python | UTF-8 | Scilab | false | false | 831 | sci | melt().sci | function melt()
//Unpivot a DataFrame from wide to long format, optionally leaving identifiers set.
// Syntax
//pd.melt(df, id_vars=['A'], value_vars=['B'])
//
// Parameters
//id_vars: tuple, list, or ndarray, optional
//value_vars: tuple, list, or ndarray, optional
//var_name: scalar
//value... |
94230c1ba51d56cecd9165a6551b7c2c77296df2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH11/EX11.9/Ex11_9.sce | e020aaa3e67d582c7f271868838148209dbf867e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,974 | sce | Ex11_9.sce | clear;
clc;
disp('Example 11.9');
// aim : To determine
// (a) the actual and hypothetical mean effective pressures referred to the low-pressure cylinder
// (b) the overall diagram factor
// (c) the pecentage of the total indicated power developed in each cylinder
// given values
P = 1400;// steam supply pr... |
3139879a6c72131c9513a0980aefc80fad2ad0b5 | 3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc | /Área 1/Aula 6/Norma.sce | 23781d086e975c5bc3e75b52effd28c155b4a518 | [
"MIT"
] | permissive | JPedroSilveira/numerical-calculus-with-scilab | 32e04e9b1234a0a82275f86aa2d6416198fa6c81 | 190bc816dfaa73ec2efe289c34baf21191944a53 | refs/heads/master | 2023-05-10T22:39:02.550321 | 2021-05-11T17:17:09 | 2021-05-11T17:17:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 170 | sce | Norma.sce | A = [3 -5 7
1 -2 4
-8 1 -7]
disp(norm(A,1))
disp(norm(A,2))
disp(norm(A,%inf))
x = [1
2
3]
disp(norm(x,1))
disp(norm(x,2))
disp(norm(x,%inf))
|
3381bfba02c863acb2a4785dea25cdc406ecf85b | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3/Unix-Windows/scilab-2.3/macros/util/g_imag.sci | ce5ef6fa6c6e45afa3fcc2cfe1bc5643f3afdc5b | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 384 | sci | g_imag.sci | function x=g_imag(a)
// only to be called by function imag
//!
select type(a)
case 2 then
x=imag(a)
//-compat next case retained for list/tlist compatibility
case 15 then
if a(1)=='r' then
error(43)
else
error(43)
end
case 16 then
if a(1)=='r' then
error(43)
else
error(43)
end
case 5
[i... |
7124b8cac012769f5a9cf8644ded846d26ec367b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2792/CH5/EX5.8/Ex5_8.sce | a766021f4999db172a12b39e6f616a27473c736f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,802 | sce | Ex5_8.sce | clc
apsilen = 11.9*8.85*10^-14
disp("apsilen = "+string(apsilen)+"F/cm") //initializing value of relative permitivity
GL= 10^22
disp("GL= "+string(GL)+"cm^-3/s") //initializing value of rate of optical signal
A= 10^-4
disp("A= "+string(A)+"cm^2") //initializing value of diode area
Vr= 15
disp("Vr= "+string(Vr)+... |
a421e18196325885469b236b1c0ea07c0ccc0361 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1835/CH3/EX3.3/Ex3_3.sce | c971e4356bb4e17bf18003f9ffab858ab51b897d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 765 | sce | Ex3_3.sce | //CHAPTER 3 ILLUSRTATION 3 PAGE NO 104
//TITLE:FRICTION
//FIRURE 3.18
clc
clear
//===========================================================================================
//INPUT DATA
W=500// WEGHT IN NEWTONS
THETA=30// ANGLE OF INCLINATION IN DEGRESS
U=0.2// ... |
c281fed8a67f83f70054cd68909fefea2abc10a4 | 67ba0a56bc27380e6e12782a5fb279adfc456bad | /STAMPER_PROG_7.4/OffsetPolyline.sci | 014ec7769fc2fa5e0dc9c25c00086e563158bde5 | [] | no_license | 2-BiAs/STAMPER_PROG | 8c1e773700375cfab0933fc4c2b0f5be0ab8e8f0 | 4fdc0bcdaef7d6d11a0dcd97bd25a9463b9550d0 | refs/heads/master | 2021-01-18T19:30:06.506977 | 2016-11-10T23:32:40 | 2016-11-10T23:32:40 | 71,999,971 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,760 | sci | OffsetPolyline.sci | function plOutput = OffsetPolyline(plInput, mOffestRegimeBoundaries, mOffsetComponents)
//plInput = FwdSelfIntSmoothing(plInput, 10, .05);
iPointCount = size(plInput, 1);
iSegmentCount = iPointCount - 1;
iIntersectionCount = iSegmentCount - 1;
lnOffsetSegmentBuffer = [];
plOffsetP... |
6be9e2ec06234c27951cad6145aa9a35d81f847a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3841/CH5/EX5.6/Ex5_6.sce | 1bd22b8b40171113d5452e44ed2ebac88a9596df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 140 | sce | Ex5_6.sce | clear
//given
//
//find the final pressure gage
a=240.
b=15.
IP=14.7
FP=IP*(a/b)
Fpg=FP-IP
printf("\n \n final pressure gage is %.2f ",Fpg)
|
cb34b1405f3920d88fccd5e2f455fbdb11968ee3 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set4/s_Chemical_Reaction_Engineering_O._Levenspiel_249.zip/Chemical_Reaction_Engineering_O._Levenspiel_249/CH13/EX13.4/13_04.sce | dc5fc048074abf29727592cc0cbdcf22642a2ad3 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 98 | sce | 13_04.sce | errcatch(-1,"stop");mode(2);
disp("All the values have to be read from the given graph")
exit();
|
2695bacb6d0c580b91c1a632358d145ec05b4b71 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronics_Circuits_And_Systems_Y._N._Bapat_2561.zip/Electronics_Circuits_And_Systems_Y._N._Bapat_2561/CH10/EX10.3/Ex10_3.sce | 6f14dfec0bd158f7602dbc596cbabed805391054 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 231 | sce | Ex10_3.sce | errcatch(-1,"stop");mode(2);//Ex10_3
b='1001000';
disp("Binary number="+string(b))//Binary value
d=bin2dec(b)// Binary to decimal value
o=dec2oct(d)// Decimal to octal
disp("Eqivalent Octal number="+string(o))
exit();
|
8fa45bd4ad19c7fb54828bdc3f37e591dafa66d2 | fa73b9454b1d003e901d57ef2121b7544bcdfef2 | /scenes/creat-aa.sce | 1c4fd8139ea98e414e000a204e6452b3f94b9312 | [] | no_license | bernielampe1/ray_tracer | ea91cf08188194f6a0d1e8c9e95baa4aea12f021 | 7fa963ccd07695be3a78acd4837af6cd439698b9 | refs/heads/master | 2021-01-02T01:16:52.595743 | 2020-03-02T12:36:03 | 2020-03-02T12:36:03 | 239,428,546 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 627 | sce | creat-aa.sce | sce1.0
# camera
eyepos 1 -1.5 0.5
eyedir 0 1 -0.10
eyeup 0.0 0.0 1.0
wdist 1.0
fovy_deg 50
nx 400
ny 300
#options
max_recursion 4
aasample 4
# scene
background 0 0 0.6
ca 0.1 0.1 0.1
rotate -15 0 0 1
{
#ground
cr 0.4 0.5 0.4
cp 0.4 0.4 0.4
triangle -3 -10 0 3 -10 0 3 10 0
triangle -3 -10 0 3 10 0 -3 ... |
8bce22c28ae3846099752f79c840498e7a228228 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH12/EX12.1/Example12_1.sce | c19981d70fbe355a3a6dc1cab3efe756061aa6af | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 254 | sce | Example12_1.sce | //Given that
M = 1.4 //in kg
R = 8.5*10^-2 //in meter
v = 15*10^-2 //in meter
//Sample Problem 12-1
printf("**Sample Problem 12-1**\n")
I = 0.5*M*R^2
w = v/R
K = 0.5*M*v^2 + 0.5*I*w^2
printf("The total kinetic energy of the disk is %fJ", K) |
70df97db742e39a598d3006f8b240eaeb61dc1bc | 367fb86cc145c187bc8aa89afab0f15f7e8826e4 | /functions/cv_dilate.sci | dfa93a0839f6b8bfb30eb93b2e8bb34503fa1c9e | [] | no_license | rishubhjain/funcforscilab | 19180cefb15a88df5cd55d91c2e50ab1829e4860 | 3f9fb8b1f467e1e89da1297bee8bd14645da5605 | refs/heads/master | 2021-01-23T00:15:23.622940 | 2015-04-22T09:32:28 | 2015-04-22T09:32:28 | 31,612,595 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 145 | sci | cv_dilate.sci | function[img_ret]=cv_dilate(image,iterations)
pyImport morphological_file
img_ret=morphological_file.dilate(image,iterations)
endfunction |
c8a304f934e13e77480ef37362fd7049e3aff58f | ac66d3377862c825111275d71485e42fdec9c1bd | /Resources/res/map/map1307.sce | cb05b8a3f1e14606309a065766c8cf049742523d | [] | no_license | AIRIA/CreazyBomber | 2338d2ad46218180f822682d680ece3a8e0b46c3 | 68668fb95a9865ef1306e5b0d24fd959531eb7ad | refs/heads/master | 2021-01-10T19:58:49.272075 | 2014-07-15T09:55:00 | 2014-07-15T09:55:00 | 19,776,025 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 3,187 | sce | map1307.sce | <?xml version="1.0" encoding="UTF-8"?>
<Project Name="map1307" Width="13" Height="13" CellSize="40" BackgroundSize="1" Background="11plus.png">
<Cell Name="雪灌木" X="1" Y="1" />
<Cell Name="木箱" X="2" Y="1" />
<Cell Name="雪灌木" X="5" Y="1" />
<Cell Name="冰块" X="7" Y="1" />
<Cell Name="企鹅(怪)" X="8" Y="1" arg0="15... |
15c73002c569d11363496553593d974dc41defe1 | 7c3f5d0908e4b8296e6f510e1b52197d07f7aa50 | /seno_taylor.sce | 5427cdeeedcbdff99a3844cab34532ee3a4fc00e | [] | no_license | mtxslv/Projetos-Calculo-Numerico | 883da40114255c871b47fb1882e3890a63d71d9d | 96949e60d384d973f048712a5222796dc989a088 | refs/heads/master | 2020-03-26T08:43:46.551491 | 2018-09-01T23:19:56 | 2018-09-01T23:19:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 152 | sce | seno_taylor.sce |
function seno = seno_taylor(angulo, n)
seno = 0;
for i:1:n
seno = seno + ((angulo)^(2*n + 1) / factorial(2*n +1));
end
endfunction
|
e50c64fa2bdfc914d1bdad5385da9bce92e8c4bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1835/CH8/EX8.4/Ex8_4.sce | 69e41ed5db8525c1167dbe5ab29267474cbb4271 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 653 | sce | Ex8_4.sce | //CHAPTER 8 ILLUSRTATION 4 PAGE NO 225
//TITLE:BALANCING OF ROTATING MASSES
pi=3.141
clc
clear
mB=30// mass of B in kg
mC=50// mass of C in kg
mD=40// mass of D in kg
rA=18// radius of A in cm
rB=24// radius of B in cm
rC=12// radius of C in cm
rD=15// radius of D in... |
700f41f9bab513318983a490d2907390995eeeed | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH11/EX11.3/example11_3.sce | 6744d33022b0cb83abe18e8d376d36f14c47ac8c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 858 | sce | example11_3.sce |
//example 11.3
//calculate
//capacity of siphon
//head required in oggy spillway
//length of oggy weir required
clc;funcprot(0);
//given
t=6; //tail water elevation
h=1; //heigth of siphon spillway
w=4; //width of siphon spillway
hw=1.5; //head water elevation
C=0.6; ... |
731a286eef81cc7310927f000eb741d8a7da5bf1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /542/CH14/EX14.3/Example_14_3.sci | fab68f40e9ebda588685de7b3827cd454b8409cc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 800 | sci | Example_14_3.sci | clear;
clc;
printf('\n Example 14.3");
He = 2690; //He is the enthalpy of entrained steam in kJ/kg
H4 = ((1*2780)+(1.6*2690))/2.60;
//Again assuming isentropic compression from 101.3 to 135 kN/m2, then:
H3 = 2640; //in kJ/kg (from the chart)
n = (1.0+1.6)*(2725-2640)/[1.0*(2780-2375)];
printf("\n... |
05fd1cc3a7f91e88d5fb9eb826afd4b797d03ae3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /728/CH9/EX9.12/Ex9_12.txt | 4c97fc7e5ee6c866d8dc38717c8cb0c82bb41d76 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 487 | txt | Ex9_12.txt | //Caption:Calculate (i)-maximum power gain in dBs ,(ii)-noise figure F in dBs, (iii)-bandwidth for r=0.2
//Exa:9.12
clc;
clear;
close;
ratio=8;
r=0.2;
r_Q=8;
T_d=300;//in Kelvin
T_o=300;//in Kelvin
X=8;
G=(ratio)*X/(1+sqrt(1+X))^2;
G_in_dB=(10*log(G))/log(10);//gain
disp(G_in_dB,'Maximum Gain (in dB)=');
... |
6e390f04a28c193424c036e90bf3663ec97d2f70 | 27fecbbeb6c49dcf03b9bddf1b867c31e13a3825 | /Simulações/Relatório 04/t3.sci | 250d890358f3609327bb4d3024c4ea3e6dfe5fcd | [] | no_license | LucasHattoriCosta/Poli | 42c9fc2d34c31e01336265fbdac3e4921d56e096 | b1ac609c3675539b4e921909c35ea196ffc44df3 | refs/heads/master | 2023-03-15T12:22:03.745943 | 2020-06-29T17:32:48 | 2020-06-29T17:32:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 533 | sci | t3.sci | clc
clear
// Características do sistema:
pi = %pi
R = 3
c = 0.1
ro = 0.1 // kg/m
g = 9.80 // m/s²
l = 0.5 // m
L = 2*l // m
m = L*ro
alpha = l/R
//Vetor de Estados Iniciais
theta_0 = pi/6
omega_0 = 9
E = [theta_0,omega_0]
//Vetor Tempo
t0 = 0
dt = 0.005
tf = 100
t = t0:dt:tf
//Integração
function z_dot = deriva(t,... |
51e8a9e13e79fc53ab1ce9f5f901199eb9880942 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3773/CH24/EX24.3/Ex24_3.sce | 11df63691555b41bc4c691d69c0317c2f8db0aec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 894 | sce | Ex24_3.sce | //Chapter 24: Space Wave Propagation
//Example 24-9.3
clc;
//Variable Initialization
tx_h = 100 //Transmitting antenna height (m)
rx_h = 16 //Receiving antenna height (m)
tx_p = 40e3 //Transmitting antenna power radiation (W)
f = 100e6 //Frequency (Hz)
d = 10e3 //Distance (m)
c = 3e8 ... |
f05f619c93657b1f177f4bb62a3997ad74113ec2 | 85744a910858b3185731e57d7d39dac2b5b17982 | /Frequency Modulation.sce | 233ad6e56f374e90819dd86418ee7bd1b77105f0 | [] | no_license | shashwat2811/Analog-Digital-Communication | b53aac1ae75d53df90e0b938ef8fdc38caaf3084 | edd1ba5b0abad34aa74bed3441fddb26497f91db | refs/heads/main | 2023-06-05T04:33:21.979126 | 2021-06-12T13:41:56 | 2021-06-12T13:41:56 | 376,288,206 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 747 | sce | Frequency Modulation.sce | t= 0:1/10000:0.02; // declare time interval
Ec = 5; // amplitude of carrier signal
Em = 4.5; // amplitude of modulating signal
fc = 1000; // carrier frequency
fm = 300; // modulating frequency
//Carrier signal
Vc = Ec *cos (((2*%pi)*fc)*t);
//Modulating signal
Vm = Em * cos (((2*%pi)*fm)*t);
m1 = 1; // m... |
71835c045ee8c0bb0d7af6ee13591a5f56d354c8 | 08ee8059476493a308f8e13adcbace48d7bcfc92 | /Scilab_packetTracer_codes/fft.sce | 87c39148018fa7e76e7d23cb5e89eca397dc861a | [] | no_license | Rushi-Bhatt/Self-Study | 7ed44b7821154b7906c7d532255ea648ec9d6299 | 90cc75440328ba21769ffac878f46feadeb2f06f | refs/heads/master | 2021-01-11T15:29:31.739065 | 2017-02-08T22:17:57 | 2017-02-08T22:17:57 | 80,360,471 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 67 | sce | fft.sce | n=1:100
x=5*sin(2*%pi*n/10)
figure
plot(x)
a=fft(x)
figure
plot(a)
|
7b413669c112d9445160d853aeee7bdb91223757 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH5/EX5.5/5_5.sce | 5251a047725f92cfaffe38b08ea42e4462377f99 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 335 | sce | 5_5.sce | //Smallest weight W
//Refer fig. 5.9
mu=0.4
//consider equilibrium of block B
//using law of friction
N1=5/((0.5)+(tand(20))*(sind(20))) //kN
F1=N1*tand(20)
C=N1*cosd(30)-F1*cosd(60) //kN
//Consider the equilibrium of block A
F2=C //kN
//Law of friction
N2=4.196/0.4 //kN
W=N2 //kN
printf("\nW=%0.2f k... |
efdea91755a59fed084974960db33c2931e3566f | 4bcfc36b3fe4f98e84b3bf8fd08adde00b7da338 | /Results/exploration/graph1dIndivs_1147.364.sci | 064add61785d920906effc77a06c657c964db22d | [] | no_license | CSSS2013UrbanMobility/UrbanMobilityNew | 52bea127d39046a7ef6796936b07664784a8fa4c | 48fb4b517718a961ca99e2fab678b80f17c22bf2 | refs/heads/master | 2021-01-01T18:42:37.730732 | 2014-02-09T16:40:18 | 2014-02-09T16:40:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 111 | sci | graph1dIndivs_1147.364.sci | var=[];
max-cong=[];
max-trans=[];
var(1)=0.1;
max-cong(1)=302.5990099009901;
max-trans(1)=0.9518900343642611;
|
e6beb8f460a1a9c99c62f655d10eef21d6bff235 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/double.man.tst | 16346ea36c839418e3307ee7657067d7f6e5d8d7 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 45 | tst | double.man.tst | clear;lines(0);
x=int8([0 12 140])
double(x)
|
26cb341b990b28a1d41850a77f138b3f9e4245e8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3411/CH5/EX5.9.u1/Ex5_9_u1.sce | b200c2b79888e561521ade7041f9c7b44a87ffe2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 446 | sce | Ex5_9_u1.sce | //Example 5_9_u1
clc();
clear;
//To determine the interplanar spacing
h=6.63*10^-34 //units in m^2 kg s^-1
m=9.1*10^-31 //units in Kgs
e=1.6*10^-19 //units in coulombs
v=844 //units in Volts
lamda=h/sqrt(2*m*e*v) //units in meters
n=1
theta=58 //units in degrees
d=(n*... |
d8474456e54d4e1423414bab4782e5760880ccf8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH15/EX15.3/Ex15_3.sce | 8cab979faa7bab3fbd59f5b6028445d857877741 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,018 | sce | Ex15_3.sce | clear;
clc;
disp('Example 15.3');
// aim : To determine
// (a) the pressure, volume and temperature at each corner of the cycle
// (b) the thermal efficiency of the cycle
// (c) the work done per cycle
// (d) the work ratio
// given values
m = 1;// mass of air, [kg]
P1 = 1730;// initial pressure of carnot... |
3d2f6599115a039e8ab6e3c7a1c868c7fca5864e | a30abbc00448cb5a15a3ef1c07b1ac14e3142ce8 | /src/library_apps/mpreduce/src/packages/assert/assert.tst | 135bce389e3e23ebeed9feecd5b94fef1c5e79ea | [] | no_license | geovas01/mathpiper | 692178b2d9647a8a99fe43db44a85d38cc9f7075 | a1fdacb1dc7155183974fa2ea5d92fba597f23fc | refs/heads/master | 2016-09-05T15:28:49.409648 | 2015-07-17T10:06:45 | 2015-07-17T10:06:45 | 39,245,684 | 3 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 417 | tst | assert.tst | symbolic;
typedef any;
typedef number checked by numberp;
typedef sf checked by sfpx;
typedef sq checked by sqp;
procedure hugo(x1,x2);
x2;
assert hugo: (number,any) -> number;
assert_install hugo;
hugo(0,0);
hugo('x,0);
hugo(0,'x);
assert addf: (sf,sf) -> sf;
assert addsq: (sq,sq) -> sq;
assert_install addf,... |
46f3cd5250036488a44df6764dce5dffbd429edf | 57e3f1898d0364ee8f61b3eebfb77304d7b59bee | /Hooke_Jeeves(Newton).sce | f18ff789a3ba089f102a48a4112a904a0a8279a8 | [] | no_license | Arma-X/Metodos-de-Otimizacao | 74d3cfebc74224ebda1c738273a29232c2317e74 | 599b0d1d50238bc27a612983ce63fb8d02e85219 | refs/heads/main | 2023-08-04T07:27:42.937906 | 2021-09-16T16:42:58 | 2021-09-16T16:42:58 | 407,217,368 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,275 | sce | Hooke_Jeeves(Newton).sce | // @ metodo de Hooke-Jeeves com newton @
global d;
d = [1, 0; 0, 1];
global p;
p = [-10, 10];
global lamb;
lamb = [2,2]
N = 2
function z =f(p)
z = (p(1)+2)^2+(p(2)-10)^2;
endfunction
function y = flamb(lamb,j)
global d ;
y = f([p(1) + la... |
253824f929a6ebd74b4da78d68a14b34781eccd2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1544/CH3/EX3.19/Ch03Ex19.sce | 3f97143bd34c714a376b599d5b6e8467775bc347 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 917 | sce | Ch03Ex19.sce | // Scilab code Ex3.19: Pg 101-102 (2008)
clc; clear;
C = 270e-12; // Capacitance, F
A = 60e-04; // Cross-sectional area of plate, m^2
E = 350e03; // Dielectric strength, V/m
epsilon_r = 2.1; // Relative pemittivity
epsilon_o = 8.854e-12; // Permittivity of fr... |
83493e8bfbc5492a17ed960b67a5a13527c1d55c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1397/CH1/EX1.6/1_6.sce | 1703f30cd22a44a7456f5d2f809350a5021b5288 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 345 | sce | 1_6.sce | //clc();
clear;
// To determine the wavelength of source of light
beeta=0.30; // fringe spacing in centimtres
d=0.04; // distance between two slits in centimtres
D=180; // distance between the slit and screen in centimetres
lambda=(beeta*d*10^8)/D;
printf("the wavelength of source of light is... |
6a66655058d07853d3c701b5d10344beea35494c | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/CH26/EX26.3/26_3.sce | 7d8f7d3736bf02e7793ab3907b414b2d94adc23f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 534 | sce | 26_3.sce | pathname=get_absolute_file_path('26_3.sce')
filename=pathname+filesep()+'26_3data.sci'
exec(filename)
clear
Tr=T*L1/2;
mu=(8*G*t/(A*E*(b+a)))^0.5;
L=L1/2;
k1=((T*(b-a)*10^3)/(8*a*b*G*t));
k2=1/(mu*cosh(mu*L));
k3=((4*(b-a))/(a*b*(b+a)));
k4=(2*T*(10^3)/(a*b*G*t*(b+a)));
function[th]=f(z)
w=(k1*((k2*sinh... |
93531b7d6a2dd8ed85c0f5ac32cf7eca9723ca03 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/CreatingPlots/testparamfplot2d.sce | b22f22d00fab6d514d8f1d51d72d0499efd9bb03 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 112 | sce | testparamfplot2d.sce | function y=f(x,t)
y=exp(-(x-t).^2/2)
endfunction
x=[-10:0.05:10].';
t=[-5:0.2:5];
clf;
paramfplot2d(f,x,t);
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.