blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4e89fb4120a17f206baf51a3e90ea94519cb01e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH17/EX16.10/EX16_10.sce | d8aebb83867ba737f59826de01a53adaf9d1fcd0 | [] | 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 | 662 | sce | EX16_10.sce | // Grob's Basic Electronics 11e
// Chapter No. 16
// Example No. 16_10
clc; clear;
// For the tantalum capacitor shown in Fig. 16–21, determine the capacitance C in both pF and uF units. Also, determine the voltage rating and tolerance.
disp ('Moving from top to bottom, the first two color bands are yellow and v... |
a5469b94c6590154c70ae5e089ffdffe12317c5e | b2efed85f1632d9ed4b7d9f4eebc7126d3074940 | /ted_mini/artandsci_positive/168.ted.sci | aa0aa313fd337d7f84edbf2d3079797f9c9a129f | [] | no_license | joytafty-work/unsupervised_nlp | 837d8ed75eb084b630d75a1deba7bdd53bbcf261 | 7812c7d24bb677c90cf6397ed0e274caba1b884c | refs/heads/master | 2021-01-10T09:24:33.254190 | 2015-11-11T20:40:32 | 2015-11-11T20:40:32 | 45,651,958 | 2 | 7 | null | 2018-01-28T18:54:18 | 2015-11-06T01:42:42 | Scilab | UTF-8 | Scilab | false | false | 13,277 | sci | 168.ted.sci | i have 18 minutes to tell you what happened over the past six million years all right we all have come from a long way here in africa and converged in this region of africa which is a place where 90 percent of our evolutionary process took place and i say that not because i am african but it s in africa that you find t... |
4332fe94a82df73a47700e01a8fe2a5b44759dff | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH23/EX14.23.17/Ex14_23_17.sce | 9f8d59de893637ea67d450e8a68ea6ee1470674c | [] | 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 | 912 | sce | Ex14_23_17.sce | //Section-14,Example-1,Page no.-PC.112
//To calculate the pH values of the following.
clc;
C_HCl=0.001 //(M)
C_1=C_HCl //Since HCl is a strong acid,[H3O+]=[HCl](M)
pH_1=-log10(C_1)
disp(pH_1,'pH of 0.001 M HCl')
C_NaOH=0.0001 //(M)
C_2=C_NaOH //Since NaOH is a strong... |
8a422a1b3fef9507ae1a0adbb24b6340eefcfb8d | 24d10061002a530e6bdf0445e4de131efcc70662 | /devtest/rest_demo/Tests/Sub.tst | f76dd11ba6d7f34135d41e6b06fbfa6fe2742773 | [] | no_license | joel-nesmith/devtest | 95a8f9d33024668cfabd633b07a25b147d209578 | bc3d584c1a4d7e334b7e1c5639e2ea7f8fd870c7 | refs/heads/master | 2020-03-19T03:27:30.566633 | 2018-06-14T12:47:04 | 2018-06-14T12:47:04 | 135,729,886 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,712 | tst | Sub.tst | <?xml version="1.0" ?>
<TestCase name="Sub" version="5">
<meta>
<create version="10.1.0" buildNumber="10.1.0.283" author="admin" date="06/08/2018" host="NESJO02" />
<lastEdited version="10.1.0" buildNumber="10.1.0.283" author="admin" date="06/08/2018" host="NESJO02" />
</meta>
<id>806EAC186B1211E8BEF7FAAA20524... |
2c13e7a09b45457ccb8acd117c844e6c80bc873c | bd9ba5abb6de1e9d9485b5e98b2b68868aab21db | /Lab/signal functions/Decaying exponential/code.sce | c483f6b1d80fb3f4100e563406083fb1b972edce | [] | no_license | ShubhamRattra/Scilab_programs | c61b6538a064afe82c99507c1064cd55bbd870fa | de2bf6ab0de0b1a19c4903bb13819edc39f93d0e | refs/heads/master | 2023-03-04T17:53:58.414180 | 2021-02-11T08:08:11 | 2021-02-11T08:08:11 | 296,920,175 | 2 | 2 | null | 2021-01-11T15:53:39 | 2020-09-19T17:37:42 | Scilab | UTF-8 | Scilab | false | false | 248 | sce | code.sce | --> a = 0.6;
--> n = 0:10;
--> x = a^n
x =
column 1 to 6
1. 0.6 0.36 0.216 0.1296 0.07776
column 7 to 9
0.046656 0.0279936 0.0167962
column 10 to 11
0.0100777 0.0060466
--> plot2d3(x)
|
b11a2449543401d6ad4534af547727fe12ecfdba | 449d555969bfd7befe906877abab098c6e63a0e8 | /1388/CH10/EX10.2/10_2.sce | d0ac42ce75b4a233f45d29be691663b6256532b2 | [] | 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 | 137 | sce | 10_2.sce | clc
//initialisation of variables
k= 2.63*10^-3 //min^-1
//CALCULATIONS
t1= 0.693/k
//RESULTS
printf (' Half time= %.f min',t1+1)
|
33821d61150d1cda8fe51a074a682a07915665b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3809/CH5/EX5.2/EX5_2.sce | 925718d881c48b6be0e6b8a423883866371ad819 | [] | 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 | 763 | sce | EX5_2.sce | //Chapter 5, Example 5.2
clc
//Initialisation'
i=6 //current in amp
n=500 //no of turns
l=0.4 //mean circumference
pi=3.14 //pi
uo=4*pi*10**-7 //dielectric constant
a=300*10**-6 ... |
7c034cac30388aa555629e043fbf9968800457a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH9/EX9.3/Ex9_3.sce | 522658e0f40ddba24a177a23c2732a4c5477086f | [] | 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 | 775 | sce | Ex9_3.sce | clear
//
//
//Initilization of Variables
//Flange
b=100 //mm //Width
D=80 //mm //Overall Depth
t=10 //mm //Thickness of web and flanges
L=3000 //mm //Length of strut
E=200*10**3 //N/mm**2 //Modulus of Elasticity
//Calculations
//Let centroid be at depth y_bar from top fibre
y_bar=(b*t*t*2**-1+(D-t)*t*((D-t)*2**-1... |
c0b63d109cf04e75c4a257c08b4694dfbacb1296 | 3daf46b810f462d6c8e936bef696ade9bd2e41a8 | /AulaPratica1/Resolve_com_LU.sce | dbb5d87840597fdf2b88b71cc3714b91b53a301a | [] | no_license | JPMarciano/Algebra-Linear-Numerica | 4575a2bd95a4b056100a7d8adaaeb2a0a0fee2d4 | 6d2c8555650b5f8a156f3d1c207c77f6986b8fcd | refs/heads/master | 2021-03-12T14:27:28.360160 | 2020-05-11T14:59:05 | 2020-05-11T14:59:05 | 246,628,921 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 576 | sce | Resolve_com_LU.sce | function X =Resolve_com_LU(C, B, P)
// C e B são como especificados no enunciado e P é a matriz de permutações
n = size(C,1);
m = size(B,2);
//permuta os elementos dos vetores b_i
B = P*B;
//
Y=zeros(n,m);
// resolve LY=B, ou seja, resolve L y_i = b_i com 1<=i<=m
for j=1:m
Y(1, j)=B(1,j);
for i=2:n
Y(... |
8a1c4bd73a33433b574e10ff1b6df2c6709356dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH13/EX13.16/ex_13_16.sce | 7d4ef24c94e942c6e2a259f0f138b9a822a9b712 | [] | 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 | 324 | sce | ex_13_16.sce | //Print the alternate characters of the file output1.dat
warning('off');
fstream1=mopen('output1.dat','r');
for a=1:13
ch=mfscanf(fstream1,"%c"); //Read data from file output.dat
printf("%c ",ch); //Print the data
mseek(1,fstream1,'cur'); //Skeep 1 character after every reading
end
mclose(fstrea... |
f40154e3ce9481a71be9f0a7d359072ec4594d6e | 449d555969bfd7befe906877abab098c6e63a0e8 | /28/CH6/EX6.7/ex6_7.sce | 466502438041219fb36259faf1f6c04645d69469 | [] | 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 | 564 | sce | ex6_7.sce | s=%s;
syms eps
p=s^5+s^4+2*s^3+2*s^2+3*s+5
r=coeff(p);
n=length(r);
routh=[r([6,4,2]);r([5,3,1])]
syms eps;
routh=[routh;eps,-det(routh(1:2,2:3))/routh(2,2),0];
routh=[routh;-det(routh(2:3,1:2))/routh(3,1),-det(routh(2:3,2:3))/routh(4,2),0];
routh=[routh;-det(routh(4:5,1:2))/routh(5,1),0,0];
disp(routh,"routh... |
fde02b79c452b801a6c9c040aacb08a4c3fb0e02 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH7/EX7.3/ex7_3.sce | 0aa27aea023fb66a543c467e6de7e1eb3f598bb5 | [] | 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 | 327 | sce | ex7_3.sce | // Exa 7.3
clc;
clear;
close;
// Given data
I_DSS = 10;// in mA
V_GS = 0;// in V
I_D = 0;// in mA
V_P = -4;// in V
V_GS= 0:-0.1:V_P;// in V
I_D = I_DSS*(1-(V_GS/V_P))^2;// mA
plot(V_GS,I_D);
xlabel("V_gs in volts");
ylabel("I_D in mA");
title("Transfer characteristics for an n-channel depletion type MOSFE... |
2939c368a2cae4b92c47837fddbfe77857fcd74b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH3/EX3.69.b/ex_3_69_b.sce | 7996df050ea5a48ee135137ecb3772017fef2057 | [] | 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 | 866 | sce | ex_3_69_b.sce | //Example 3.69.b:resistance and capacitance
clc;
clear;
close;
rab=521;//ohms
lab=2;//micro-H
cab=550;//pF
rbc=1200;//ohms
lbc=5;//micro-H
cbc=250;//pF
rda=12.1;//ohms
rda1=1.5;//m-ohms
f=10;//kHz
cda=0.045;//micro-F
zab=1/((1/(rab+(%i*2*%pi*f*10^4*lab*10^-6)))+(%i*2*%pi*f*10^3*cab*10^-12));//
zbc=1/((1/(rbc+(%i*2*%pi*... |
4222367729567a8597c7568f65464c06998fe6d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1184/CH16/EX16.3/Ex16_3.sce | db0428eb3b6d8933a10947de19289852f51b9290 | [] | 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 | 212 | sce | Ex16_3.sce | //Example 16-3,Page No- 623
clear
clc
printf('The c band is approximately 4 to 6 Ghz since a waveguide \n acts as a high pass filter with cut off frequency of \n 9.08 Ghz it will not pass c band signal')
|
54f10d401d226600e07a4193543a00fc65d04803 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH10/EX10.9/9.sce | b5fe1d0d5e3d94ada9ade76ff3a2b644f347d300 | [] | 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 | 406 | sce | 9.sce | clc
clear
//INPUT DATA
Eg=1.2*1.6*10^-19//The energy gap of intrinsic semiconductor in J
T1=600//Temperature in K
T2=300//Temperature in K
e=1.6*10^-19//charge of electron in coulombs
kb=1.38*10^-23//Boltzmann's constant m^2 Kg s^-2 k^-1
//CALCULATION
x=exp((-Eg/(2*kb))*((1/T1)-(1/T2)))/10^5//The ratio of co... |
f68127123e21bd014d8bb5bdd0c1da76998ee6de | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH7/EX7.45/45.sci | 4ba0b751e565b3668f89f2902241ab762621a873 | [] | 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 | 583 | sci | 45.sci | clc;
clear all;
disp("Required tube length")
m=50/60;//kg/sec
di=2.5/100;//m inner diameter
ts=100;// degree C
ti=25;// degree C
to=55;// degree C
cp=4187;//J/kg.C
t1=100-25;
t2=100-55;
tm=(t1-t2)/log(t1/t2);
Q=m*cp*(to-ti);//W
As=%pi/4*di^2;
;tw=(ts+(ti+to)/2)/2;// degree C temperature at which the prope... |
688ecb82916d52941d9b00bb302882eba2bb3798 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1019/CH2/EX2.9/Example_2_9.sce | 9bbf918bcee94273ca4f293d63c3372b93b4ee09 | [] | 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 | 781 | sce | Example_2_9.sce | //Example 2.9
clear;
clc;
//Given
R=8.314;// gas constant in J K^-1 mol^-1
t1=298;// temperature in K
p1=303975;// initial pressure in Pa
v1=1.43;//initial volume in dm^3
v2=2.86;// final volume in dm^3
Cp=29.1;// heat capacity at constant pressure in J mol^-1 K^-1
// To determine t2,p2,w,delH and DelE
C... |
c1a2dfa2f1b89e50efe5c3aa5c028db40aae6432 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH6/EX6.11/Chapter6_Example11.sce | f0eb366263e2032100ba80a3223125481fb01160 | [] | 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 | 698 | sce | Chapter6_Example11.sce | clc
clear
//Input data
T1=450;//The temperature of the source in k
H1=1000;//The amount of heat taken by the engine at T1 in calories
T2=350;//The temperature of the sink in K
//Calculations
H2=(T2/T1)*H1;//The amount of heat rejected to the sink in each cycle in calories
n=(1-(T2/T1))*100;//The efficien... |
c11a33753132af1e717ca8bfb2c2585853e967ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /2399/CH1/EX1.12.1/Example_1_12_1.sce | c3dad185254f0e3da880a90528aa31f26b170b8e | [] | 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 | 320 | sce | Example_1_12_1.sce | // Example 1.12.1
clc;
clear;
Bandwidth = 2d6; //Bandwidth of channel
Signal_to_Noise_ratio = 1; //Signal to Noise ratio of channel
Capacity = Bandwidth * log2(1 + Signal_to_Noise_ratio); //computing capacity
Capacity=Capacity/10^6;
printf("Maximum capacity of channel is %d Mb/sec.",Capacity);
|
4fc342309fc0c209006562c12be60e5891b6c7f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH4/EX4.13/4_13.sce | 223a4cb4e9ca0509bdbfc7aa943a3909660893bb | [] | 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 | 319 | sce | 4_13.sce | clc
//initialisation of variables
dH293= -115595.8 //cal
T1= 1500 //K
T2= 298 //K
k1= -5.6146 //cal deg^-1 mole^-1
k2= 1.8931*10^-3 //cal deg^-2 mole^-1
k3= 4.723*10^-7 //cal deg^-3 mole^-1
//CALCULATIONS
dH=dH293+ k1*(T1-T2)+(k2*(T1^2-T2^2)/2)+(k3*(T1^3-T2^3)/3)
//RESULTS
printf ('dH1500= %.f cal ',dH)
|
b1718598ff1e8c6d0f96032742b0f1976d2d12b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1199/CH2/EX2.11/2_11.sci | 69aeff402c25078b1a47cd56f5d71c5a1c194ab9 | [] | 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 | 146 | sci | 2_11.sci | //2.11
clc;
RAB=125;
Rtotal=5000;
R2=75/125*Rtotal;
R4=2500;
ei=5;
eo=[(R2/Rtotal)-(R4/Rtotal)]*ei;
printf("Output voltage = %.1f V",eo)
|
5965a2505776342b5394ea82a94f4c072ba2d264 | d7087cf730b37f76170323e080c090f8094979ac | /test/lexer/test3.tst | b27daab708bb3e993c042c4e96191c1f6b7e16eb | [] | no_license | VladimirMeshcheriakov/42sh | 025dffe358b86f48eaf7751a5cb08d4d5d5366c4 | 52d782255592526d0838bc40269f6e71f6a51017 | refs/heads/master | 2023-03-15T17:26:20.575439 | 2015-06-26T12:44:05 | 2015-06-26T12:44:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 192 | tst | test3.tst | <cmd>
./main_test/lexer_tst 'echo "we are the \"best ones\" yeah"; echo "Share our \\\"SHELL\\\" yeah"; echo "Share\\" our \\" shell";'</cmd>
<ref>
cat ./lexer/test3.ref</ref>
<ret>
0</ret>
|
8465fec0371f935137449d50111e76517122ff04 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2231/CH1/EX1.37/Ex_1_37.sce | a326cadcd956d417440aaf5091d4f3cac046fb87 | [] | 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 | 501 | sce | Ex_1_37.sce | //Example 1_37
clc;
clear;close;
//Given data:
V=300;//V
RL=10;//ohm
L=0;//H
Ith=100;//A
f=2000;//Hz
dv_by_dt=100*10^6;//V/s
//dv/dt=(vth(tau)-vth(0))/tau
//dv/dt=RL*(1-0.368)*V/(R+RL)/((R+RL)*C)
R=V/Ith;//ohm
C=RL*(1-0.368)*V/(R+RL)/(R+RL)/dv_by_dt
disp(R,"Value of R(ohm)");
disp(C,"Value of C(F)");
... |
b86f5768af7b56bec2b64880780369ee137d3431 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH20/EX20.08/20_08.sce | 22b05fa6857ac7b76d99b24d8a37f4b1baffef72 | [] | 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 | 796 | sce | 20_08.sce | //Problem 20.08: A 100 kVA, 4000 V/200 V, 50 Hz single-phase transformer has 100 secondary turns. Determine (a) the primary and secondary current, (b) the number of primary turns, and (c) the maximum value of the flux.
//initializing the variables:
S = 100000; // in VA
V1 = 4000; // in Volts
V2 = 200; // in Volts... |
166fa4be48fbfa862dec79dc60c37c23229fe411 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH13/EX13.8/ex_13_8.sce | d41c74e5e2db8257ce9d94463862f550143dbd27 | [] | 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,268 | sce | ex_13_8.sce |
clc
//soltuion
//given
P=90*10^3//W
N=250//rpm
ts=40//N/mm^2
q=0.0175
tb=30//N/mm^2
//let d be dia
T=(P*60*1000)/(2*%pi*N)//N-mm
//T/J=ts/(d/2)
//T/(%pi*d^4/32)=ts/(d/2)//considering strength iof shaft
d1=(35*10^6/80)^(1/3)//mm
//considering rigidity
//T/J=(C*q/l)
//T/(%pi*d^4/32)=84000*0.0175/(20*d)
d2=(35*10^6/73.5)... |
3731db3514f7f8399714382d49d6ab6a961323f4 | 1ebbdce5d3f3daa6d9e8b439410e447941bc49f5 | /résolution numérique/livrable/schéma explicite sans matrice/[EXPLICITE] paramètres.sce | 9736646cd75d182f88e8b87169e364e1c4a03fbe | [] | no_license | sebastienbaur/legionella_proliferation_modeling | 2aff0e2499584e99c07116a700e43218976b9b12 | ae9b5d4dde1912a98584c6319eae41980355ef03 | refs/heads/master | 2020-03-07T15:25:49.881820 | 2018-03-31T17:27:52 | 2018-03-31T17:27:52 | 127,554,634 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,159 | sce | [EXPLICITE] paramètres.sce | //------------------------------------------------------------------------------
// PARAMETRES DU MODELE
//------------------------------------------------------------------------------
//Température
Temperature 20;
T_opt_L = 37.5; // température optimale de croissance des légionnelles
T_i_L = 55; // paramètre d'aju... |
5b5dbd6000194e2a91a988b5ad9a4e94172ee765 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.1_18.tst | 27cc3d8c58716954efa7df353b8a01b4e5aad2cc | [] | 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 | 3,620 | tst | bow.1_18.tst | 1 10:0.5 19:0.05263157894736842 30:0.1 66:0.25 149:1.0 203:1.0
1 4:0.09090909090909091 11:1.0 49:0.08333333333333333 249:0.125 345:1.0
1 3:0.3333333333333333 13:0.3333333333333333 14:0.07407407407407407 17:0.03225806451612903 28:1.0 30:0.1 84:0.2 187:1.0 298:1.0 883:1.0
1 4:0.09090909090909091 6:0.5 10:0.5 14:0.0740740... |
27056941ef73abce167b658e0bd2b280736cb5d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH14/EX14.12/Ch014Ex12.sce | e20e2bf745ca145927718ab9095225b89057f1c8 | [] | 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 | 382 | sce | Ch014Ex12.sce | // Scilab code Ex14.12 : Pg:725(2011)
clc;clear;
I_E = 2; // Emitter current, mA
alpha = 0.88; // Emitter current amplification factor
I_C = alpha*I_E; // Collector current, mA
I_B = I_E - I_C; // Base current of BJT in CB mode, mA
printf("\nThe base current of BJT in CB mode = %4.2f mA", I_B);
... |
9949b01116e3c8b4863b978873261409e4330ff1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2204/CH5/EX5.6/ex5_6.sce | b866fe18d2320755797c327c0d5992c13bb2ab28 | [] | 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 | ex5_6.sce | // Exa 5.6
clc;
clear;
close;
// Given data
f_c = 2;// in kHz
f_c = f_c * 10^3;// in Hz
C2 = 0.033;// in µF
C2 = C2 * 10^-6;// in F
C3 = C2;// in F
C = C2;// in F
R2 = 1/(2*%pi*f_c*C);// in ohm
R2 = R2 * 10^-3;// in k ohm
R3=R2;// in kohm
disp(R2,"The value of R2 and R3 in kΩ is : ");
//R_F= 0.586*R1
R1... |
d36a951f947d237fcec75525846c6b4408508a08 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3636/CH1/EX1.6/Ex1_6.sce | f6e8b8571e391a39fbfb17f49ec63220109fdda8 | [] | 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 | 230 | sce | Ex1_6.sce | clc;
clear;
V=2000 //potential in V
e=1.602*10^-19 //electronic charge in eV
m=9.1*10^-31 //mass of electron in kg
//Calculation
u=sqrt((2*V*e)/m)
mprintf("velocity with which electron beam will travel= %.2e m/s",u)
|
fe244046e8baa4d7960feebfb1319a489a33d16d | 449d555969bfd7befe906877abab098c6e63a0e8 | /45/CH8/EX8.5/example_8_5.sce | 93c6942988b7133644b6281173abd938f30552cb | [] | 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 | 557 | sce | example_8_5.sce | //example 8.5
clc;
clear;
disp('Here what happens at each point in time' );
disp('Time t0: S = 0, R = 0, no change in Q (Q remains 0)');
disp('Time t1: S = 1, R = 0, Q changes from 0 to 1');
disp('Time t2: S = 0, R = 1, Q resets to 0');
disp('Time t3: S = 1, R = 0, Q sets to 1 ');
disp('Time t4: S = 0, R = 0, ... |
d812acb0dd27f8ff941b635338695f0d2a4e09b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH10/EX10.3/example10_3.sce | 4067c67bd2c50b8a5468fb382aa81d1d637b741a | [] | 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,264 | sce | example10_3.sce | //clc()
Nflue = 100;//kmol
NCO2 = 9;
NCO = 2;
NO2 = 3;
NN2 = 86;
NCflue = NCO2 + NCO ;
MC = 12;
mC = MC * NCflue ;
//let A kmol air supplied, taking N2 balance,
Nair = NN2 * 100/79;
NO2supplied = Nair - NN2;
// if CO in the flue gas was to be completely converted to CO2, then, the moles of oxygen present in... |
66c3c0ac9193eafb9bf6504303fbaf2f2ab13ccb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2642/CH5/EX5.8/Ex5_8.sce | dfaf920e3b2ade3122e4a8a6970cef5994e5c716 | [] | 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,520 | sce | Ex5_8.sce | // FUNDAMENTALS OF ELECTICAL MACHINES
// M.A.SALAM
// NAROSA PUBLISHING HOUSE
// SECOND EDITION
// Chapter 5 : DIRECT CURRENT MOTORS
// Example : 5.8
clc;clear; // clears the console and command history
// Given data
I_L1 = 5 // dc shunt motor current in A
V_t = 230 // supply voltage in V
R_a... |
c00e0addb1133c42217d0a26ee19dac28d6c63be | 816ccefab515b9e1fc5871beebf0913ecd2c8b94 | /regTests/cgtc/ko.tst | e90021c2e57957dfdd0cde08e26601108ccd7c63 | [] | no_license | CurtisHughey/ergo | 45dff870a6592cb29b9aa68c416bae1577f41452 | 634ea9eddbd23c917407e667a535be9dae32d55c | refs/heads/master | 2020-04-06T07:02:17.089864 | 2016-08-21T23:53:12 | 2016-08-21T23:53:12 | 58,999,319 | 8 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,330 | tst | ko.tst | #------------------------------------------------------------------------------
# Ko
#
# Computer Go Test Collection http://www.cs.ualberta.ca/~games/go/
#
# $Source: /usr/cvsroot/project_cgtc/ko.tst,v $
# $Id: ko.tst,v 1.3 2004/04/28 17:10:39 emarkus Exp $
#-------------------------------------------------------------... |
7de56f9d6ad28bab5002ee7202a7d3bc99ed609f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3665/CH8/EX8.17/Ex8_17.sce | c98beffad2763252d730aac899cb5d92d409974d | [] | 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 | 439 | sce | Ex8_17.sce | clc//
//
//
//Variable declaration
RH=6.85*10^-5; //hall coefficient(m^3/coulomb)
e=1.6*10^-19;
sigma=250; //conductivity(m-1 ohm-1)
//Calculation
n=1/(RH*e); //density of charge carriers(m^3)
mew=sigma/(n*e); //mobility of charge carriers(m^2/Vs)
//Result
printf("\n density of charge ... |
f73c83b48ee0e38e55299b16eb989c4403c1ad19 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2492/CH5/EX5.5/ex5_5.sce | cc6c7a0236e696772ff8d31f7ccfff7bd3bbbc80 | [] | 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 | 310 | sce | ex5_5.sce | // Exa 5.5
format('v',7)
clc;
clear;
close;
// Given data
Ri = 1;// in k ohm
Ro = 80;// in k ohm
Aiint = 150;
R_S = 5;// in k ohm
R_L = 1;// in k ohm
//Aiext = i1/i2 = (R_S/(R_S+Ri)) * (Ro/(Ro+R_L))*Aiint;
Aiext = (R_S/(R_S+Ri)) * (Ro/(Ro+R_L))*Aiint;
disp(Aiext,"The external current gain is");
|
68d75e3c5df0463deac2a9e49a746cb3faed4856 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2207/CH1/EX1.20.2/ex_1_20_2.sce | a4f3c85f066274804bda99cbc25edc8399429ad1 | [] | 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 | 320 | sce | ex_1_20_2.sce | //Example 1.20.2: Peak Current and turn off time
clc;
clear;
close;
format('v',6)
//given data :
Vs=200;//in volts
R1=10;// in ohm
R2=R1;
Vc=200;//in volts
C=10;// in micro-farad
I1=Vs/R1;
I2=(Vs+Vc)/R2;
It1=I1+I2;
disp(It1,"Peak Current,It1(A) = ")
Tc=(R1*C)/1.44;
disp(Tc,"The Circuit Turn Off Time,Tc(micro-sec) = ")
|
54ca8e972744eb88d3dbb82913b4dc8e404f7cf8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH8/EX8.3b/eg8_3b.sce | 58086b7d00e7e7703cf80955ea6f4b09e5b15bd1 | [] | 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 | 179 | sce | eg8_3b.sce | noise_var = 4;
noise_mean= 0;
num = 5;
Xbar = 8.5;
u = 8;
statistic = sqrt(num/noise_var)*(Xbar - u);
prob = 2*cdfnor("PQ", -1*statistic , 0,1 );
disp(prob, "P-value is") |
222a163f6a80d648161fd0690f5577a6e3f7ac02 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1388/CH2/EX2.4/2_4.sce | 85495155eda8afd7baf3571acf9ce03e69d183fc | [] | 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 | 145 | sce | 2_4.sce | clc
//initialisation of variables
a= 4.086 //A
//CALCULATIONS
d= a*sqrt(2)
r= d/4
//RESULTS
printf (' radius of silver atom= %.3f A ',r)
|
99ce3edea842f55444650935be664caa819002f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2969/CH5/EX5.12/Ex5_12.sce | 071ec9b691932f7b467f4ae6c1a3469289f78e64 | [] | 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 | 805 | sce | Ex5_12.sce | clc
clear
//DATA GIVEN
T1=1990; //Temperature of the heat Source in K
T2=850; //Temperature of the heat Sink in K
Qs=32.5; //heat supplied in kJ/min
P=0.4; //power developed by the engine in kW
ETAcarnot=(T1-T2)/T1;
//Also ETAth=wo... |
3dca61db1d0ae8c5886d8fec44de8a963cd1012e | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH3/EX3.11/ex3_11.sce | d58c151da38a80d3f9b86db8664e3e906a71b58b | [] | 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 | 496 | sce | ex3_11.sce | clc
vl=415 //assigning values to the parameters
r=15
l=0.1
c=0.000000177
f=50
vph=vl/sqrt(3)
xl=2*%pi*f*l
xc=1/(2*%pi*f*c)
zph=r+%i*(xl-xc)
[r1,t]=polar(zph)
iph=vph/zph
il=iph
p=sqrt(3)*vl*il*cos(t)
q=sqrt(3)*vl*il*sin(t)
s=sqrt(3)*vl*il
disp("Amperes",polar(iph),"The phase current is")
disp... |
fb1e46aefdcc22aa5f928d29ee050bb88243dff5 | 5f48beee3dc825617c83ba20a7c82c544061af65 | /tests/s/72.tst | 128ac00ac66f290035add4d52db22d25fd5b8a78 | [] | 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 | 143 | tst | 72.tst | int main(void) {
int (**p)(int)[3]; /* ошибка: p -- указатель на функцию, возвращающую массив */
}
|
05985c178106a58a0c998ca88fed5e5ad2b022ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /1397/CH6/EX6.2/6_2.sce | 66bd17260c36a65accefb66680ad59f9481ae280 | [] | 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 | 346 | sce | 6_2.sce | //clc();
clear;
//To determine the lattice constant
n=2; //number of atoms per unit cell
M=55.85; //atomic weight in a.m.u
N=6.02*10^26; //avagadro number in kg/mol
rho=7860; //density in kg/m^3;
a=((n*M)/(N*rho))^(1/3);
printf("lattice constant in m is ");
disp(a);
/... |
3f1e08ba904f662780b73b477e8ca8e58a53bbc7 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /prog_assembly/libs/scilab_code/GPIO.sce | da74208160410673b3c961e578aaa36e7b51a315 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 1,799 | sce | GPIO.sce | function GPIO = GPIO(time,single)
[path,fname,extension] = fileparts(file_name);
hid_dir = path + '.' + fname;
if single ==[] then
[a1,b1]=unix_g("sudo ~/rasp30/prog_assembly/libs/sh/asm2ihex.sh ./sftreg ~/rasp30/prog_assembly/libs/asm_code/sftreg_GPIO.s43 16384 16384 16384")
if b1==1
disp('There is an error in you... |
b861b43d7ab326aaeedb1a14c940b7972ff2df56 | 27fecbbeb6c49dcf03b9bddf1b867c31e13a3825 | /Simulações/Relatório 04/rascunhÃO.sci | 91b88c321fa2f974d08b8b143d224cdcd36e510b | [] | 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 | 3,214 | sci | rascunhÃO.sci | clc
clear
// Características do sistema:
pi = %pi
ro = 0.1 // kg/m
g = 9.80 // m/s²
l = 0.5 // m
comp = 2*l // m
L = 10 // m
m = comp*ro
// Condições iniciais:
//E=[-pi/6,pi/4,L/5,0,comp] // alpha, beta, sigma zero, sigma_ponto_zero, lambda_zero
//E=[-pi/6,pi/6,L/5,0,comp]
//E=[-pi/6,pi/4,L/5,0,comp]
//E=[-pi/4,-pi... |
a45d78494e785a263e4b1e9aa0a5d8e45f180637 | 06a62d768e69fd9dda11b30011c252807e301813 | /lab/integral.sci | f4cf9025c157f4fd6d5d552314edac2e4e12296e | [] | no_license | vikram-niit/matlab | 36ce3d9539629128251eab060164ce81c03aa690 | da8aeb4d727c47474d37676650664bd028d7e41d | refs/heads/master | 2020-03-18T13:40:37.068765 | 2018-05-25T03:51:55 | 2018-05-25T03:51:55 | 134,800,217 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 412 | sci | integral.sci | recursionlimit(110);
function [y] = integral(x0, x1, y0, N)
printf("recursion: %d N: %d\n", recursionlimit("current") - 1, N)
if(N == 0)
y = y0;
else
y = integral(x0, x1, y0, N-1);
printf("y: %f x0: %f x1: %f y0: %f N: %f\n", y, x0, x1, y0, N)
y = y0 + x... |
923b321f7766fd61d89720afa7a73dd9e572f1c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/CH4/EX4.3/4_3.sce | 6733dd4518c076bb947b10efa141c621fe4606dc | [] | 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 | 819 | sce | 4_3.sce | pathname=get_absolute_file_path('4_3.sce')
filename=pathname+filesep()+'4_3_data.sci'
exec(filename)
//Question 4.3
//New Pressure(in bar)
p2=p1*(rc^n)
//New temperature(in kelvin)
t2=(t1)*(p2/p1)*(1/rc)
//Average temperature(in kelvin)
//t=(t3+t2)/2
//Heat transfer(in mJ)
Q23=CV/AF
//Finding t3 using formu... |
8d21c49be1cecd414fe7593efd4b0c5f0ffa29f2 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/scicos/EVENTSCOPE_f.sci | b64cd97bdcfe32a8cc689b41dab22616b4fe7e75 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | 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 | 2,311 | sci | EVENTSCOPE_f.sci | function [x,y,typ]=EVENTSCOPE_f(job,arg1,arg2)
x=[];y=[];typ=[]
select job
case 'plot' then
standard_draw(arg1)
graphics=arg1(2); [orig,sz]=graphics(1:2)
thick=xget('thickness');xset('thickness',2)
xrect(orig(1)+sz(1)/10,orig(2)+(1-1/10)*sz(2),sz(1)*8/10,sz(2)*8/10)
xarrows([orig(1)+sz(1)/5,orig(1)+sz(1)/5;
... |
1ca53f4f907d0cd3f8be2fa8d8543e1fd5dacbbe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH9/EX9.16/example16.sce | f8669ce030de6fdd57c0bdada0a050f77741b7b8 | [] | 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 | 723 | sce | example16.sce | //Chapter-9 example 16
//=============================================================================
clc;
clear;
//input data
//Da = 7*lamda; diameter of antenna
//Calculations
//HPBW = 70*(lamda/Da)
//HPBW = 70*(lamda/(7*lamda));
HPBW = 70/7;//half power beamwidth
NNBW = 2*HPBW;//null to null beamwid... |
ed08f10d42fdeeb619228770aa57e203013a82c5 | a178109facfc72b26e4addfe1fa3952c764630dd | /2 Control_Design_Scilab_bette_than_1/Test_Abstract_problem/Second_Method/main_controller.sce | df7ba59be351f1e3b7571a8595280c415fb78713 | [
"BSD-2-Clause"
] | permissive | yi1128/Disturbance_observer | fb20d7db81193841e35b61e7c727e5fe91240dca | 6b5e79d25f0ab7a410adf30c2d1399864055cd56 | refs/heads/master | 2022-04-21T23:58:22.911921 | 2020-04-20T12:17:02 | 2020-04-20T12:17:02 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,548 | sce | main_controller.sce | clear
clc
loadmatfile('A.mat');
loadmatfile('B.mat');
loadmatfile('H.mat');
loadmatfile('C.mat');
loadmatfile('observer.mat');
m=rank(B);
n=size(A);
n=n(1,1);
qw=rank(H);
p=rank(C);
function [LME,LMI,OBJ]=DRC(XLIST)
[delta2,delta3,deltah3,betah,Thx,Thw,gama6,gama7]= XLIST(:)
LME=list(delta2-delta2... |
61dcb1530268c743c6ac776dac7964c60de7fc56 | 099b4b0f30eafd7a0e9eac539caf7578b0e562fd | /Projets/simulation of the temperature evolution in a material/scilab/AnimationP.sce | 178087545622155096139370956d9bcf9c48a8a4 | [] | no_license | Mehdikossir/Projects | 2c60cd6ff0ebbeda17d529d25c10d241a8eaf724 | a43366f4aa11f541b70209ba9778d8547cb8b025 | refs/heads/master | 2021-09-26T13:55:43.208141 | 2021-09-13T21:53:08 | 2021-09-13T21:53:08 | 240,940,996 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 363 | sce | AnimationP.sce | tab= read("polystyrene",100,101)
for i=1:50
clf
a=string(double(i*16/100))
plot2d(tab(i,:),rect=[0,285,101,315],style=14)
xtitle("Température à "+a+" sec, barre de polystyrène","x","T(K)")
sleep(100)
end
plot2d(tab(50,:),rect=[0,285,101,315],style=14)
xtitle("Température à "+string(a)+" sec... |
ef6752dd8d89717dcae5dd949cdf1e59cc70669a | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Instrumentation_H._S._Kalsi_3554.zip/Electronic_Instrumentation_H._S._Kalsi_3554/CH14/EX14.2/Ex14_2.sce | 897b497755311f57c3a60969a398cd2e39e44da9 | [] | 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 | 444 | sce | Ex14_2.sce | errcatch(-1,"stop");mode(2);// Exa 14.2
;
all;
// Given data
Va=2;// Volts
Vb=1;// Volts
Vc=3; // Volts
Ra=3;// k Ohms
Rb=3;// k Ohms
Rc=3;// k Ohms
Rf=1;// k Ohms
Rom=270;// Ohms
Supply=15;// Volts
// Solution
disp(" Assuming that the opamp is initially nulled");
// Using equation 14.8 to det... |
fcc2d799feabdbca7802f279f02201f26f1eecce | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH3/EX3.8/c3_8.sce | e8147395f7ab8142a57743dda199246adda3695a | [] | 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,112 | sce | c3_8.sce | //(3.8) A piston–cylinder assembly contains 0.9 kg of air at a temperature of 300K and a pressure of 1 bar. The air is compressed to a state where the temperature is 470K and the pressure is 6 bars. During the compression, there is a heat transfer from the air to the surroundings equal to 20 kJ. Using the ideal gas m... |
7a7eadad39bacedd37f0e40d1992b58174961bf3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /914/CH5/EX5.10/ex5_10.sce | 9c92960b82bb7dec44d803fd2966ca4b02b730f2 | [] | 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,518 | sce | ex5_10.sce | clc;
warning("off");
printf("\n\n example5.10 - pg171");
// given (from example 5.9)
vol = 1 //cm^3
na=2; // moles of a
nb=3; // moles of b
nc=4; // moles of c
mma=2; //molecular weight of a
mmb=3; //molecular weight of b
mmc=4; //molecular weight of c
ma=na*mma; //[g] weight of a
mb=nb*mmb; //[g] weight of b
m... |
2e0d8ac14e42afd1a2eb7103aa8edbe98dc8725e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3557/CH15/EX15.3/Ex15_3.sce | 5599950f2597a976b523803d0bb81214971a2dd8 | [] | 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 | 360 | sce | Ex15_3.sce | //Example 15.3//
pcu=8.93;// g cm^-3 //Density of Copper
a=63.55;//amu //atomic mass of copper
c=10^6;//cm^3/m^3 //given
d=1;//g.atom //given
h=0.6023*10^24;//atoms/g.atom //Avogardo's Number
p=pcu*c*(d/a)*(h)
mprintf("p = %e atoms/m^3",p)
a1=104*10^27;//m^-3 //density of free electrons in copper at room temp... |
b08094867ea4ef6c2b2f593dd67378f59223fb60 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH1/EX1.16/1_16.sce | 77adb7baa7869fd45471221494e438bcffda87f2 | [] | 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 | 525 | sce | 1_16.sce | //ques-1.16
//Calculating degree of Total and Permanent and Temporary Hardness
clc
V=50;//volume of water sample (in mL)
v1=15;//volume of EDTA used before boiling (in mL)
v2=5;//volume of EDTA used after boiling (in mL)
M=0.01;//Molarity of EDTA
total=v1*M*(1000/V)*50*2;//Total hardness (in ppm)
perm=v2*M*(100... |
fe6dd2146f0ea81a7a42d1ed445a6f75977517da | 449d555969bfd7befe906877abab098c6e63a0e8 | /2279/CH7/EX7.8/eg_7_8.sce | 5257de4580227a4c075501337fc142b9002c0745 | [] | 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 | 724 | sce | eg_7_8.sce | //x[n] = 1+sin(2*%pi/N)n+3cos(2*%pi/N)n+cos[(4*%pi/N)n+%pi/4]
clear;
close;
clc;
N = 10;
n = 0:0.01:N;
Wo = 2*%pi/N;
xn =ones(1,length(n))+sin(Wo*n)+3*cos(Wo*n)+cos(2*Wo*n+%pi/4);
for k =0:N-2
C(k+1,:) = exp(-sqrt(-1)*Wo*n.*k);
a(k+1) = xn*C(k+1,:)'/length(n);
if(abs(a(k+1))<=0.1)
a(k+1)=0;
en... |
ffc4bd0eb8f08dcb50514faafcfd1eb77b7375b7 | 19c6e93614bb02c3c860d74c25b49558f521ba17 | /opdracht4.sce | 610e686a699241a66b5d9c90137253ecdd0d9470 | [] | no_license | darkeclipz/spherical-geometry | cc26edcf55aa7bef6c876a5d9208ab9dd5e1e9de | 4eb9c757ef271442c31f55b2d18b0bfe9457530d | refs/heads/master | 2023-02-19T03:33:57.024519 | 2021-01-19T13:35:12 | 2021-01-19T13:35:12 | 319,594,472 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 752 | sce | opdracht4.sce | function [v]=vertex(lat_a, lon_a, lat_b, lon_b)
// bA, bB en Lab bepalen
bA = lat_a
bB = lat_b
Lab = abs(lon_b - lon_a)
if(Lab > 180)
Lab = 360 - Lab
end
// hoek GrKgrc bepalen
tanK = sind(Lab) / (cosd(bA)*tand(bB)-sind(bA)*cosd(Lab))
K = atand(tanK)
if(K < 0 &&... |
5fcf515cb967083a215af901fdcb868194a21596 | 584105ff5b87869494a42f632079668e4c3f82de | /TestCases/calib3d/estimateAffine3D/test2.sce | 8bd9a0d95c747bb48486d46e2d7d433cf040fce2 | [] | no_license | kevgeo/FOSSEE-Computer-Vision | 0ceb1aafb800580498ea7d79982003714d88fb48 | 9ca5ceae56d11d81a178a9dafddc809238e412ba | refs/heads/master | 2021-01-17T21:11:31.309967 | 2016-08-01T14:45:40 | 2016-08-01T14:45:40 | 63,127,286 | 6 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 282 | sce | test2.sce | first = [ 0 0 1;
0 3 1;
4 3 1;
2 2 2;
7 1 2;
8 0 2];
second = [ 0 0 3;
0 3 3;
4 3 3;
2 2 4;
7 1 4;
8 0 4];
[out1 ou2t] =estimateAffine3D(first,second,3,2);
//output->
// !--error 999
//confidence value should be between 0 and 1.
|
9c1100740ef731fb306cd4118fab61b775c1e4f1 | a09ffb7ebceab9afb82e709d443663089ba3e37b | /Hamming Distance.sce | c6135cf4f625514d29c52dd3fbab8a97c3731786 | [] | no_license | Sid-149/Hamming-Code | 7eb459aabe968fa9264243d826f56028f1e0ab62 | 0778c2f4e59075467cc4e890a9da58fc7a73e077 | refs/heads/main | 2023-01-14T11:04:46.731831 | 2020-11-16T15:04:41 | 2020-11-16T15:04:41 | 312,824,658 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 658 | sce | Hamming Distance.sce | clear
M=[0 0 0 0;0 0 0 1;0 0 1 0;0 0 1 1;0 1 0 0;0 1 0 1;0 1 1 0;0 1 1 1;1 0 0 0;1 0 0 1;1 0 1 0;1 0 1 1;1 1 0 0;1 1 0 1;1 1 1 0;1 1 1 1]
P=[0 1 1;1 0 1;1 1 0;1 1 1]
I=[1 0 0 0;0 1 0 0;0 0 1 0;0 0 0 1]
G=[I P]
for i=1:16
c(i,:)=[0 0 0 0 0 0 0]
c(i,:)=M(i,:)*G
c(i,:)=modulo(c(i,:),2)
end
for i=1:16... |
00c19bc5c7387dcedd098b70df2204cda857be5f | 449d555969bfd7befe906877abab098c6e63a0e8 | /331/CH10/EX10.7/Example_10_7.sce | a6c190386c6eb5fb2671ca0e44915c69d617f3fd | [] | 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 | 572 | sce | Example_10_7.sce | //Caption:Simple (Single) Exponential Smoothing Method
//Example10.7
//Page385
clear;
clc;
F1 = 600;//forecast of a product for the first week of march
D1 = 550; //Demand of the first week
D2 = 620; //Demand of the second week
alpha = 0.2; //smoothing constant
F2 = F1+alpha*(D1-F1);
disp(F2,'Forecast for the ... |
3a9a05ff80fc36779cd855664aa1adfc06b9008c | 449d555969bfd7befe906877abab098c6e63a0e8 | /73/CH16/EX16.14/Example16_14.sci | 96e5d4937659e1b6a8ce92d1473d5f670abc2820 | [] | 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 | 461 | sci | Example16_14.sci | //Chapter 16_Bipolar and MOS Digital Gate Circuits
//Caption : AC Power
//Example16.14: Calculate the ac power dissipated by a CMOS inverter which drives a 20pF load.Given f=1MHz and Vdd=10V.
//Solution:
clear;
clc;
Ct=20*10^-12;// load capacitor in Farad
Vdd=10;//drain voltage supply in Volt
f=1*10^6;//frequen... |
12aff93962fe020e6b8e587a0233c8c0c6544595 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH18/EX18.11/18_11.sce | 664002835845cbe3edb27c57a902be022412b0a0 | [] | 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 | 673 | sce | 18_11.sce | //Chapter 18, Problem 11
clc;
//initializing the variables:
R = 15; //resistance in ohms
V = 110; //supply voltage
taw = 2; //time constant
t1 = 3; // in secs
i2 =5; // in amperes
//calculation:
L = taw*R
t = 0:0.1:10
I = V/R
... |
460f57137c6f328248ae60b2d2ec08400730af9f | 93c7fb5ee09b14b93d6c6a5a99d15e57555802be | /tests/test_100/test17.tst | bbb32d004d02038c1317aeede1991e64b274abcc | [] | no_license | ach5910/42PushSwap.com | b1cd724453b20296e39c18e5d576bdfb6290f7da | bfa2755c1cb84c7d72a4858c77193743a5583a1a | refs/heads/master | 2020-04-05T12:35:36.043271 | 2017-07-26T06:33:40 | 2017-07-26T06:33:40 | 95,174,903 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 490 | tst | test17.tst | 1753 7086 3645 8503 3408 5324 7158 9016 2370 6570 4467 4396 3156 2359 6563 7279 619 4397 1715 916 1211 9065 786 8138 1119 823 9334 3544 2795 3284 6400 4659 2179 8990 7675 9906 7690 9972 6870 3043 9528 5374 3310 1137 1169 9868 4473 7714 4558 430 4367 2659 1086 8386 5710 4277 9058 9256 5652 7602 5904 3103 7864 246 4327 8... |
e3b7293b4526d468c2357b0dfc84bfd5b0fb6988 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/1.1/macros/robust/musolve.sci | 0b4173f94dc706040510123ddb8efb56b8b00a17 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | 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 | 7,113 | sci | musolve.sci | function [D,G,mu]=musolve(M,KK,T,params)
// musolve - Structured Singular value problem
//%Syntax
// [mu [,D [,G]] ]=musolve(M,KK,T [,params])
//
// M - n by n matrix for which the upper bound of SSV is to be computed.
// K - m by 1 vector contains the block structure. K(i), i=1:m, is the
// size... |
62604e8d587dd71ee44ff016773b3b21a23fde5a | 9f9364e082d4bc2f7ee5cbd7a489642615821873 | /src/testCases/test1-13.tst | ced5b26eb3dca9a596e483f0c5654e9b75c2dfd0 | [] | no_license | abrageddon/DLX-Opt | 4602617f83ddf8cb0fea83fecd2faa362849dfcd | 20038078f11a7ae67e7ab336e551e23966551290 | refs/heads/master | 2021-01-01T05:49:33.218016 | 2013-03-14T06:08:45 | 2013-03-14T06:08:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 290 | tst | test1-13.tst | main
var a22a, b33b;
{
let a22a <- 0;
let b33b <- 4;
if a22a < b33b then
let a22a <- a22a - b33b - b33b;
if a22a < b33b then
let a22a <- a22a - b33b - b33b
fi
fi;
call outputnum(a22a);
call outputnewline();
call outputnum(b33b);
call outputnewline()
}.
|
350b6908f601f20c2f81259f3d1cf0fa30a51ccf | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/rlevinson.sci | 300723403b08c6cf322ff537fa7ceb07c5a4921a | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,030 | sci | rlevinson.sci | function [R, U, kr, e] = rlevinson(a, efinal)
//rlevinson function computes the autocorrelation coefficients using prediction polynomial.
// Calling Sequence
// a = rlevinson(a, efinal)
// [a, U] = rlevinson(a, efinal)
// [a, U, kr] = rlevinson(a, efinal)
// [a, U, kr, e] = rlevinson(a, efinal)
// Paramete... |
f850afd11107637b6c78d02d0fd51ab994caa8de | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH3/EX3.9/EX3_9.sce | 983ed6cebfa8b686233a929139d0f02ec5f2e63f | [] | 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 | 278 | sce | EX3_9.sce | //EXAMPLE 3-9 PG NO-178-179
Z1=10+%i*0;
Z2=13+%i*7.5;
Z3=-13+%i&7.5;
Z4=8.66-%i*5;
X=[Z1+Z2 Z3;Z3 Z2+Z4];
Z5=-104+%i*180.13;
Z6=280+%i*0;
Y=[Z5 Z3;Z6 Z2+Z4];
I1=det(Y/X);
disp('i) Current (I1) is = '+string (I1) +' A ');
|
0991e4cef73a9414e3fe8a66a6437058264c11db | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH3/EX3.20/MS_20.sce | fc9eeb8449d5acd12ab4d14a3eba6eef1e8609df | [] | 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 | 312 | sce | MS_20.sce | // sum 3-20
clc;
clear;
H=20;
D=5;
d=3;
rho=21;
sigd=rho*H;
p=2;
A=D*H;
P=p*A;
M=P*H/2;
Z=%pi*(D^4-d^4)/(32*D);
sigb=M/Z;
sigmax=420+sigb;
sigmin=420-sigb;
// printing data in scilab o/p window
printf("sigmax is %0.2f kN/m^2 ",sigmax);
printf("\n sigmin is %0.2f kN/m^2 ",sigmin); |
b37fc1bab333f0b4e47bad7ee7b946fbeddc1068 | 299721455523ed57682bfaa01171a2cad61590b9 | /exp 1/Addition of Matrices.sce | 1c20876dafe2edfa6b804888a28566dd8a8e2f72 | [] | no_license | Anupamgupta01/SCILAB-PROGRAMS | 5acc63c3409fa62f02a1f60ed488c10c7d489b88 | 924a153d3227c007a3682b487a1ebd14a523da96 | refs/heads/master | 2023-05-11T14:14:25.453037 | 2021-06-05T22:25:37 | 2021-06-05T22:25:37 | 374,222,790 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 453 | sce | Addition of Matrices.sce | clc;
m=input('Enter The Number Of Rows:')
n=input('Enter The Number Of Columns:')
A=zeros(m,n)
B=zeros(m,n)
C=zeros(m,n)
disp('Enter the elements of first matrix:')
for i=1:m
for j=1:n
A(i,j)=input('')
end
end
disp('Enter the elements of second matrix:')
for i=1:m
for j=1:n
B(i,j)=input('')
end
end
for i=1:m
for j=1:n
... |
0276af1e1c65ea30667b2294fee5fc2c81f57082 | c0aa53c5c57ef13997c78f6723cd4302b10db35a | /Segunda Unidade/verificarSeidel.sce | 6db2c6e736b4f5cffc9992a15278210aaccc0976 | [] | no_license | mpsdantas/computacao_numerica | 4a47a71c849f04f0493817ba1c502dfd22118598 | 5906b38941b99c7e702f730911878aba2b12bc71 | refs/heads/master | 2021-01-15T08:36:48.054724 | 2016-12-17T16:52:24 | 2016-12-17T16:52:24 | 67,094,751 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 453 | sce | verificarSeidel.sce | function converge = verificarSeidel(B)
[l c] = size(B);
C = abs(B);
Beta = ones(l,1);
converge=%T
for i=1:l
if (sum(C(i,:)) > 1)
converge = %F
break
end
Beta(i) = C(i,:)*Beta;
end
BetaMax = max(Beta);
if(BetaMax>1) then
converge = %... |
20de770558b1b7c0e57a35a8d9063170e4dac1dc | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee_scicoslab/utils/cos2cosf_converter.sce | 866d266b98d5533e18958eab752b11f070479945 | [] | no_license | mannychang/erika2_Scicos-FLEX | 397be88001bdef59c0515652a365dbd645d60240 | 12bb5aa162fa6b6fd6601e0dacc972d7b5f508ba | refs/heads/master | 2021-02-08T17:01:20.857172 | 2012-07-10T12:18:28 | 2012-07-10T12:18:28 | 244,174,890 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,354 | sce | cos2cosf_converter.sce | // ***********************************************************
// * ScicosLab Pack Installer *
// * Requires: Scicoslab v4.4.1 *
// * Built/Tested On: XP, Windows 7 *
// * Description: Convert .COS to .COSF *
... |
9140e9836c69466db38151549e24d90c30461142 | 449d555969bfd7befe906877abab098c6e63a0e8 | /704/CH2/EX2.7/2_7.txt | c4fd24808d828d192ccbece320255b62f68376fd | [] | 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 | txt | 2_7.txt | //Caption:Find out the speed for 6 pole machine
//Exam:2.7
clc;
clear;
close;
F=60;//flux per pole(in m Wb)
F_1=F*10^-3;//flux per pole(in Wb)
Z=480;//Number of armature conductors
P=6;//Number of poles
A=2;//Number of parallel paths(Armature wave wound)
E_g=320;//generated emf (in V)
N=E_g*60*A/(F_1*Z*P);/... |
367d363a5e452d70a40f5e467971fad2a210ebc6 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/percent/%s_4_hm.sci | ed9ce9a6014bc5a0b5dd24f71d37bee4ddced1b5 | [
"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 | 163 | sci | %s_4_hm.sci | function M=%s_4_hm(s,M)
// Copyright INRIA
//s>=M
if size(s,'*')<> 1 then
error('>= : arguments have incompatible dimensions')
end
M('entries')=s>=M('entries')
|
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... |
c39c2e64681b34888ae7c4dab1ef3bd77709f5c3 | 009e6209a86f0838f0faca8a33b2c162e5d1a7a6 | /src/scripts/euler.sce | aadc9ae4618845267ac2cb611efbd47c30cbbc23 | [] | no_license | MoisesU/MESO-MetodosNumericos | 90a62a31e3213c50dec55228ceca7ce034cfbb7c | 17fe0efa1690ac93f36799a12a9f9c99f1ab94a4 | refs/heads/main | 2023-06-02T05:51:03.641326 | 2021-06-20T03:18:17 | 2021-06-20T03:18:17 | 306,203,044 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,093 | sce | euler.sce | function datos = euler(fxy, x1, y1, h, n)
datos = []
for i=1:n+1
datos(i, 1) = i-1
datos(i, 2) = x1
datos(i, 3) = y1
f2xy = fxy(x1, y1)
datos(i, 4) = f2xy
datos(i, 5) = h*f2xy
datos(i... |
61a434cb25e19ffb89062f3e2bf667958cabce87 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1541/CH2/EX2.40/Chapter2_Example40.sce | 729ec320c677cdf78d43824da41c4d19adc441b5 | [] | 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 | 806 | sce | Chapter2_Example40.sce | //Chapter-2, Example 2.40, Page 2.75
//=============================================================================
clc
clear
//INPUT DATA
VLP=11000;//Primary line voltage in V
VLS=440;//Secondary line voltage in V
Vphp=11000;//Primary phase voltage in V
Vphs=(440/sqrt(3));//Secondary phase voltage in V
ILP... |
7ed0969aa9689da18a230e1f5db69c7cb822e9c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH4/EX4.2/example_4_2.sce | 74a256d4d5144ba28550966b0a425ee773021060 | [] | 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 | 503 | sce | example_4_2.sce | syms s t V q L C R L1 L2 X1 X2 q1 R1 R2 q2 X
//F-V anolagy
F=V;
x=q;
M=L;
K=1/C;
B=R;
V=L1*q1*s^2 + R1*s*q1 + R2*s*(X1-X2)
//0=L2*s^2*q2 + (1/C)*q2 + R2*s*(q2-q1)
//REPLACING I/s=Q
disp("V=L1*s*I1 + R1*I1 + R2*(I1-I2)") //LOOP 1
disp("0=L2*s*I2 + 1/(s*C) + R2*(I2-I1)") //LOOP 2
//... |
9d8b0aad6e6acfd72033a689c1073cba39242024 | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/DEPENDENCIES/16_10data.sci | df8cf2454d52f5f0636b6475e0ed21a2ff1d87f8 | [] | 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 | 72 | sci | 16_10data.sci | W=10;//load in N/m
L=20;//L in m
EI=70000;//flexural rigidity,in N.m^2 |
9a39e6896d291b9c44bfd3bb70910663b74adc90 | 494b677053e1199325a80808377463794e1003e5 | /experiments/gfs-gccl-c/gfs-gccl-c/results/Ignore-MV.GFS-GCCL-C.vehicle/result2s0.tst | 0b3df1f2572d5da3827309e2d025b01802c4041d | [] | no_license | kylecblyth/IIS-Project | 92fb0770addced8022817470f974bf5191bfe05d | abf66fd98d9b6c7c3a0fbc254ef4026641338489 | refs/heads/master | 2020-06-12T19:41:02.430510 | 2016-12-07T10:35:31 | 2016-12-07T10:35:31 | 75,764,815 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,863 | tst | result2s0.tst | @relation vehicle
@attribute COMPACTNESS integer[73,119]
@attribute CIRCULARITY integer[33,59]
@attribute DISTANCECIRCULARITY integer[40,112]
@attribute RADIUSRATIO integer[104,333]
@attribute PRAXISASPECTRATIO integer[47,138]
@attribute MAXLENGTHASPECTRATIO integer[2,55]
@attribute SCATTERRATIO integer[112,265]
@attr... |
1631599c4635a5faed66b8e52eab5c77af8e23b7 | fa428f297a915e9a041597642bfe29627ab69c42 | /app/views/partials/navbar.sce | 313823afb256d8666ba5b0f00fb9aca51517c5ce | [] | no_license | TheBrenny/Web-Dev-and-Security | dff903be92838b14f7126dd1f7092922b86bf2cc | e4abb96dc24e606704b09f5acdd2684d6d5d577d | refs/heads/main | 2023-06-17T08:33:35.176024 | 2021-06-15T05:07:20 | 2021-06-15T05:07:20 | 343,603,444 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 358 | sce | navbar.sce | <div class="navbar">
<img src="/assets/img/logo_small.png" alt="z5217759 // QM" class="logo">
<nav>
[[e= navItem in navList ]]
<a href="[[navItem.slug]]" class="navItem
[[?= navItem.active ]]
navActive
[[?==]]
">[[navItem.title]]</a... |
8b3a71e13b7de7b2624d87cd39068a339dadda78 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-MachineLearning/FLCoxPH-TD-05.tst | 4498cdcf4f76eca4b8f2dcce5db8f32f44442588 | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 109 | tst | FLCoxPH-TD-05.tst | .run file=../PulsarLogOn.sql
CALL FLCoxPH('tblCoxPHdeep','ObsID', 'VarID', 'Num_Val', 15, NULL,AnalysisID);
|
9461b8d1b1c1b763fde70d81fd1d9e4fd6550e85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH1/EX1.4/Ex1_4.sce | 8616179108b83fd9dac02be899c31f8d22c7a970 | [] | 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 | 592 | sce | Ex1_4.sce | clc
//Variable Initialization
Vm=320 //Input Voltage In Volts
Eb=100 //Back Emf In Volts
Ra=5 //Armature Resistance In Ohm
af=45 // Firing Angle Of SCR In Degree
N=1200 //Speed Of Motor In RPM
//Solution
Va=Vm* (1/%pi)* (1+cosd(af)) //Voltage Across Armature In volts
Ia=(Va-Eb)/Ra //Armature Current Amp
W=(... |
a4454535c9a8cffa81f7f31592e4767f71234db6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH8/EX8.2/8Ex2.sce | 84612186190e7d684c0f8267ddcf1d88acda697c | [] | 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 | 261 | sce | 8Ex2.sce | //chapter 8 Ex 1
clc;
clear;
close;
//let age of younger person be x
//by the given condition: equation is 3(x-6)=x+16-6;
mycoeff=[-28 2];
p=poly(mycoeff,"x","coeff");
x=roots(p);
mprintf("Their present ages are %d years and %d years",x,x+16);
|
ef3d957765ae26054534bc1daf10baf75798b94a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2213/CH7/EX7.24/ex_7_24.sce | 9cfe137ba6d4df66eb08845fd6cd56b5aa332a6d | [] | 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 | 373 | sce | ex_7_24.sce | //Example 7.24: weight of the locomotive abd number of axles
clc;
clear;
close;
//given data :
W=12*30;//tonnes
we=1.04*360;//tonnes
r=5*9.81;//
G=1;//in percentage
mu=0.2;//
alpha=0.8;//
x=13.882;//
y=0.041;//
wlo=(x)/(mu-y);//in tonnes
al=20;//allowable load in tonnes
na=wlo/al;//
disp(wlo,"weight of the locomotive i... |
9403133bcbd8a6d9ad9413c74191b5f2738113a3 | 1a679c5bea6f6f3d080ec52122a5c04f941f8e67 | /log transformation.sce | 83adcf9d7f31adbd5fd6ba877407354688f85ecf | [] | no_license | Malay1998/Image-Processing-with-Scilab | c34c35d76d2db50f41c9b95b239a0f5e6d203a80 | 4ab83c92212d4fdbb9cb6f75ce06cfced34d0c7c | refs/heads/main | 2023-06-04T04:06:35.361106 | 2021-06-26T22:00:38 | 2021-06-26T22:00:38 | 380,540,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 158 | sce | log transformation.sce | a=imread('milkeway.jpg');
b=double(a);
[m,n]=size(b);
for i=1:m
for j=1:n
c(i,j)=10*log(1+b(i,j));
end
end
imshow(c);
|
3e184a3625bb83d02359c35b78913b287532db34 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3401/CH5/EX5.1/Ex5_1.sce | aac57710d763388dd5d4e652290d0f82e03af120 | [] | 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 | 329 | sce | Ex5_1.sce | clc
Nd=10**16 //cm^-3
Na=0
ni=1.8*10**6 //cm^-3
T=300 //K
k=8.617*10^-5 //eV/K
E=10 //V/cm^2
e=1.6*10**-19
un=8500
n0=((Nd-Na)/2)+sqrt((((Nd-Na)/2)^2)+ni^2)
disp(n0,"n0 in cm^-3 is")
p0=(ni^2)/n0
disp(p0,"p0 in cm^-3")
//Jdrf=e*(un*n0+up*p0)*E= e*un*Nd*E
Jdrf=e*un*Nd*E
disp(Jdrf,"Jdrf in A/cm^2 i... |
1173e54a74a30228a5fbdd828ea7e01e2468a5c7 | 2f14b5754bf00d8f425d930813ec9fbb37443f20 | /rps2.sce | fa43e0afe843dcb800fb062e4e7020231ecfa155 | [] | no_license | sohamkan/Sci-projects | 9f14b01e4937ccf3cf59732fc19d495d566bfaae | 5baf7456498ba0075760095655826b7ddcae471e | refs/heads/master | 2022-11-22T04:03:53.155413 | 2020-07-12T04:31:34 | 2020-07-12T04:31:34 | 278,990,043 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,660 | sce | rps2.sce | function [] = rockpaperscissors(n)
clc;
clear all;
R = 1;
P = 2;
S = 3;
n = 1;
while n == 1
pause(0.5);
pause on
o = 1;
while o == 1
player_move = upper(input('Make your move [R/P/S]: ','s'));
disp(' ');
pause(0.5);
pause on
if player_move == 'R'
disp('Player chose Rock');
o=0... |
60bfd3afc3de008a0777651f4ad4706c5043eff1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH8/EX8.17/8_17.sce | f5b16eeb6dab4d49c7a28f281bb89c5cf4d5dde2 | [] | 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 | 112 | sce | 8_17.sce | //8.17
clc;
R1=50*10^3;
R=10*10^3;
Vs1=4.5;
Vs2=5;
Vo=R1/R*(Vs2-Vs1);
printf("Output voltage=%.1f V", Vo) |
384e0971ccdc13d6cb8cb319e8bf48707188b24b | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/LT52YEG/ATWM1_Working_Memory_MEG_LT52YEG_Session1/ATWM1_Working_Memory_MEG_Salient_Cued_Run1.sce | 91403c168cd7cf36d410142afdece5e246adef13 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,381 | sce | ATWM1_Working_Memory_MEG_Salient_Cued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monitor... |
af3ec877c01552e3ad519ee2c5e6a38bdfdd68ab | c9fb7b224ecd2667e852df2fa71650e0d151ff40 | /Average_Traditional.sce | 5fd3e08c9eef916e8679d57db7ef7f931d9021b7 | [] | no_license | janeriongcol/ndsg-chupacabra | 13a2d3983fa57ae411fa9b665d255e5e7ed00d58 | bafd668a8247b965aee9d2482f0ead4ea6d158a3 | refs/heads/master | 2021-01-18T14:05:38.927008 | 2014-01-08T14:31:45 | 2014-01-08T14:31:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,382 | sce | Average_Traditional.sce | di = pwd() + "/Documents"
num_files = 15
num_cycles = 100
file_names = ["data_traditional_AverageConnectionSetUpTime.txt", "data_traditional_AverageUtilization.txt", "data_traditional_AveragePlaybackDelayTime.txt", "data_gcp2p_AverageRTT.txt", "data_traditional_AverageReject.txt"]
conn_arr =
["data_traditional_Con... |
0f48dc664b51069682acb6a9e58cf8379a70774d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH7/EX7.5/ex7_5.sce | 2d184880c8b5b1ff13ee9ff7daa09567539aee27 | [] | 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 | 278 | sce | ex7_5.sce | // Example 7.5, page no-163
clear
clc
rho=1.54*10^-8//ohm-m
E=100//V/m
n=5.8*10^28//m^-3
e=1.6*10^-19//C
mu=1/(rho*n*e)
vd=mu*E
printf("\nMobility of electron in silvetr is %.4f*10^-3 m^2/v-s\n\nThe drift velocity of the electron in silver is %.5f m/s ",mu*10^3,vd)
|
ca688f3175415ee6fdc3793208b1e1f2e09dfdcd | d7ec0352fdd4cf451ee9dd6bac2218fb96c24c0f | /src/gui/qml/img/input.sci | 17705fc74c6dfdd73ba14731fbf2c657b5193f02 | [] | no_license | mireq/facedetect | d3fc340926a54e144dcf09ef4a814a77cbc9afde | 94ab039149efb2d8f1496c6042bf3a6b133bb49e | refs/heads/master | 2021-01-22T04:33:34.209921 | 2011-05-13T01:08:47 | 2011-05-13T01:08:47 | 1,525,248 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 80 | sci | input.sci | border.left: 6
border.top: 6
border.right: 6
border.bottom: 7
source: input.png
|
c1d46ad057d9fe0995a3debeb210d102d9e989f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH2/EX2.5/ex_2_5.sce | 964a09ae702bf125c9433728558497107cee2e2a | [] | 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 | 365 | sce | ex_2_5.sce | //Example 2.5://torque
clc;
clear;
close;
d=2.5;//diameter in cm
n=500;//turns
b=1.1;//mWb/m^2
v=100;//volts
pf=0.7;//power factor
rp=2000;//ohms
x=((%pi*(d*10^-2)^2*n*b*10^-3*v*pf)/(4*rp));//
ang1=45;//degree
ang2=90;//degree
td1=x*sind(ang1);//
disp(td1,"torque in Nm when angle is 45 degree")
td2=x*sind(ang2);//
disp... |
746633dbbd113a7a9b0ef227a69adf98b84fc3a0 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Objname.sci | 6c523fc29ec0a84e2c8ee3dcbe268570267081fa | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 224 | sci | Objname.sci | // s: 2014.09.07
function Objname()
global OBJFIGNO OBJJOIN
if OBJJOIN==0 then
OBJFIGNO=OBJFIGNO+1;
Gname="ketfig"+string(OBJFIGNO);
Printobjstr("# "+Gname);
Printobjstr("g "+Gname);
end;
endfunction
|
01878dceff52239d6e23199f4854a6bd5c3053e8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH7/EX7.38/ex_7_38.sce | b90fcaa30d8250b601558388fabeba51f7add238 | [] | 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 | 392 | sce | ex_7_38.sce | clc;
A=[0 3/2;-1/2 2];
B=[1;0];
C=[1 -1];
D=[0];
Mc=[B A*B];
if (det(Mc)<>0) then
disp("and is controllable",rank(Mc),"Mc has a rank of")
else
disp("and is uncontrollable",rank(Mc),"Mc has a rank of");
end
Mo=[C;C*A];
if (det(Mo)<>0) then
disp("and is observable",rank(Mo),"Mo has a rank of")
e... |
2a027c8f7e366d9c55b80fa6aad99a487dbf9605 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/1.1/macros/optim/linpro.sci | cd593a00080e5076867d571fb3b6abfc1b537119 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | 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 | 183 | sci | linpro.sci | function [x,f,lagr,info]=linpro(x0,p,c,d,ci,cs,mi,modo,imp)
[lhs,rhs]=argn(0)
if rhs=8 then imp=0,end,
n=maxi(size(p))
[x,f,lagr,info]=quapro(x0,0*ones(n,n),p,c,d,ci,cs,mi,modo,imp)
|
0c1aba3ebae2bacba4b555c4579d1529163fedce | 449d555969bfd7befe906877abab098c6e63a0e8 | /3487/CH7/EX7.5/Ex7_5.sce | 2d16ee49936370cfd032cbd5db94aa68f3cbacea | [] | 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 | Ex7_5.sce | //Chapter 7,Example 7.5 Page 226
clc
clear
E = 500
Z = 350
L = 800
E1 = E*(1-exp(-(2*Z/L)*2))
printf (" E'' = %f kV \n",E1)
//Answers may vary due to round off error
|
16aa5bbddeb57eb6bbb400529fb5a68656896758 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2207/CH6/EX6.6.6/ex_6_6_6.sce | 0b06e0c9e5d54948d31c10c2993d56d9370ca5d1 | [] | 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 | 626 | sce | ex_6_6_6.sce | //Example 6.6.6 :minimum instantaneous load current,peak instantaneous current and maximum peak to peak ripple
clc;
clear;
close;
format('v',6)
v=220;//volts
r=10;//in ohms
l=15.5;//in mH
f=5;//in kHz
Eb=20;//in volts
d=0.5;//
x=exp((-(1-d)*r)/(f*10^3*l*10^-3));//
y=(1-x)*(Eb/r);//
y1=(1-x)*((v-Eb)/r);//
A=[0.94 -0.94*... |
e895b812fac8ae54fc31bac1cc4394a511436e2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH12/EX12.25/example12_25.sce | 7cd98caac3ac44a279f906eb29e243ee75412083 | [] | 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 | 442 | sce | example12_25.sce | clc
// Given that
P = 1e9 // power required for enlighten the city in watt
e = 30 // percentage efficiency of nuclear reactor
E = 3.2e-11 // energy released per fission in J
// Sample Problem 25 on page no. 12.40
printf("\n # PROBLEM 25 # \n")
printf("Standard formula used \n")
printf(" E_total = E*N_0/n \n")
E_ = E *... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.