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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d10e0d9e2d8adfa8e6eff4805d58bc7bd465f6da | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/percent/%lss_n_lss.sci | 5a580cd9c6b158c27063237c45ae778f7badaf8f | [
"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 | 156 | sci | %lss_n_lss.sci | function [r]=%lss_n_lss(s1,s2)
//%lss_n_lss(s1,s2) : inequality test s1<>s2
//!
// Copyright INRIA
for k=2:7,r=or(s1(k)<>s2(k));if r then return,end,end
|
011e57c8ad28c58323d56dd43de18560c23f670b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH15/EX15.2/15_2.sce | e59a03a4e7e3ca27168c743e4eb2f824a0b651b0 | [] | 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 | 755 | sce | 15_2.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 15.2
//calculation of the amplitude,wave number,wavelength,frequency,time period,wave velocity
//given data
//given equation......y = (5mm)*sin((1cm^-1)*x - (60 s^-1)*t)
w=60//angular frequency
//calculation
A=5//... |
eeef01239075616711ce324a108ab562bc1a0ca0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /23/DEPENDENCIES/ICPS.sci | e44f49381cb3ff8ffa9808ee5def635888d967a0 | [] | 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 | 149 | sci | ICPS.sci | function[Q]=ICPS(T0,T,A,B,C,D)
t=T/T0;
Q=((A)*log(t))+(((B*T0)+(((C*T0*T0)+(D/(t*t*T0*T0)))*(t+1)/2))*(t-1))
funcprot(0);
endfunction
|
36aa69b2a5eacc281790f92cc004f00b8ab54710 | 6d2caab84011487d2fb307dec2c9d5428bd3a25a | /C/Shell/eshtests/basic.tst | 45cb486d21809004fe0b7d7a1819070166e3977d | [] | no_license | hjiahui7/MyProjects | 23c791abc7a4bf9a01146a26a39c06e8b71de293 | e6d34db3fa0afa9c3139bf36eacfc67684c0aee4 | refs/heads/master | 2023-02-06T10:34:58.988543 | 2019-08-06T02:38:28 | 2019-08-06T02:38:28 | 200,756,944 | 2 | 1 | null | 2023-01-25T12:21:37 | 2019-08-06T01:52:59 | C | UTF-8 | Scilab | false | false | 203 | tst | basic.tst | = Basic Tests
6 basic/ctrl-z_test.py
6 basic/ctrl-c_test.py
8 basic/fg_test.py
8 basic/jobs_test.py
7 basic/stop_test.py
8 basic/bg_test.py
1 basic/reap_on_child_termination_test.py
6 basic/kill_test.py
|
154f1cd1f76685430b68be4f26f5316957a80ca2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2840/CH3/EX3.2/ex3_2.sce | 1699a1995b5949f3e6fa990cef1bde961d61d850 | [] | 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 | 304 | sce | ex3_2.sce | clc;
t=40*1e-2;
//pulse covers 2x distance in arriving back
//so, 30*1e-6=2*x/v
//and, 2nd pulse will cover a distance of 2*40 cm in 80*1e-6 seconds
//therfore, 80*1e-6=(2*40*1e-2)/v
//compare both equation
e1=30;
e2=40*2
x=e1*t*2/(2*e2);
disp(+'m',x,'distanc of the flow from near end =')
|
4b363d05f9acbaceb3851565caefca1e0338bf6b | 5f2ca8e18735204f5995ac7e44a6e301eb23ea0b | /scripts/eqm/aerodata_f16.sci | bbfda07b65186b227b9aff148680ec8060803d17 | [] | no_license | Jettanakorn/mcflight | 4e7d4e20976e8f3621bf13fec2a8b522ecfc49a9 | e6579a11e10c5e9ae9ee558f464a6b88e1ae7a26 | refs/heads/master | 2023-03-17T10:49:28.906700 | 2019-10-30T20:20:58 | 2019-10-30T20:20:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 10,433 | sci | aerodata_f16.sci | aero_damp_alpha_table = [
-.267 -.110 .308 1.34 2.08 2.91 2.76 2.05 1.50 1.49 1.83 1.21
.882 .852 .876 .958 .962 .974 .819 .483 .590 1.21 -.493 -1.04
-.108 -.108 -1.88 .110 .258 .226 .344 .362 .611 .529 .29... |
768e356a7549b637470bcf0b817caaf31a48e1c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH12/EX12.10/Ch12Ex10.sce | 0c36bfa60811327bf64d0112ffb2482ae9659130 | [] | 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 | 493 | sce | Ch12Ex10.sce | // Scilab Code Ex12.10 : Page-608 (2011)
clc; clear;
e = 1.6e-19;....// Charge on anlectron, C
m = 9.1e-31;....// Mass of the electron, kg
r = 5.1e-11;....// Radius of the electronic orbit, m
B = 2.0;....// Applied magnetic field, weber per metre-square
delta_pm = e^2*r^2*B/(4*m);
printf("\nThe change in the mag... |
fb7cd5e06c47ba299e594b7c4fe6e08c540bbbc2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH3/EX3.27/ex3_27.sce | bc3ab598bfe69fdba6de54ca9e8446baf2caedf9 | [] | 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 | 492 | sce | ex3_27.sce | // Exa 3.27
format('v',7);clc;clear;close;
// Given data
Im = 10;//current in mA
Im = Im * 10^-3;// in A
Rm = 50;//meter resistance in ohm
I = 5;// in A
// Value of resistance to be connected in parallel
Rsh = (Im*Rm)/(I-Im);// in ohm
disp(Rsh,"The value of resistance to be connected in parallel in Ω is");
V... |
a9821a5b517bfea9a98e76e3d19b4872deeefd7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /43/CH4/EX4.32/ex4_32.sce | 46451615808f8899de597c197e61265154fc8bbc | [] | 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 | 55 | sce | ex4_32.sce | //Ex 4.32
clc;
clear;
f=[0 1 1 1 0 0];
F=fft(f,-1); |
a00b8cf95aefd6c968a20fe5a8ceba6b09e22207 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH15/EX15.2/example15_2.sce | cdd91285b5880953e595b92a5c19c03eb49513c1 | [] | 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 | 456 | sce | example15_2.sce | //Chapter 15
//Example 15_2
//Page 385
clear;clc;
kw=25000;
pf=0.8;
v=33;
r=5;
x=20;
i2=kw*1000/sqrt(3)/v/1000/pf;
ip=i2*pf;
iq=i2*sind(acosd(pf));
v1=v*1000/sqrt(3);
im=579.5;
capacity=3*v1*im/10^6;
printf("Load current = %d A \n", i2);
printf("Ip = %.2f A \n", ip);
printf("Iq = %.2f A \n", iq);
printf("Sending en... |
f6bfb868ef92c5e6c5797a34d60187eda2177cbd | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH13/EX13.2/ex2.sce | 97d7be16c2dc3a3135e8fd9c76b71f0ce8ab2570 | [] | 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,793 | sce | ex2.sce | //example 2
//P-v-T Behavior of Nonideal Gas Mixtures
clear
clc
NN2=2 //No.of kmol of N2
NCO2=6 //No. of kmol of CO2
Nm=8 // total no. of kmol of mixture
Ru=8.314 //Universal gas constant in kPa-m^3/kmol-K
Tm=300//Temp. of mixture in K
Pm=15000 //Pressure of mixture in kPa
Vm=Nm*Ru*Tm/Pm //volume of tank on t... |
7c811f196342e6d20702f3fee1c55023d5c52f07 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH19/EX19.03/19_03.sce | 6f5294d3ffa2e09f885951e07668f86f078bd984 | [] | 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,963 | sce | 19_03.sce | //pathname=get_absolute_file_path('19.03.sce')
//filename=pathname+filesep()+'19.03-data.sci'
//exec(filename)
//Specific heat of gases(in kJ/kg.K):
Cpg=1.14 //kJ/kg.K
Cpa=1.005 //kJ/kg.K
//Mechanical efficiency:
nm=0.96
//Polytropic efficiency of compressor:
nc=0.87
//Turbine efficiency:
nt=0.90
//Nozzle e... |
1d1285331bb1cd5dcb84df0560a7dac18ce0bc82 | e25bb3040c96f9782aab0493e05ba22f5bf50ccf | /ex3/ex3a.sce | fafa3222aafc14188409ba4e0487633477403811 | [] | no_license | gpioblink/aizu-spls-exercise | c13258d46f50ed2db7797693a097b0fb75d24eaf | 6c0b9326ba8e4b52378cfe777e82a2bfcdecc9b9 | refs/heads/master | 2022-09-14T06:09:44.774157 | 2020-05-31T07:43:26 | 2020-05-31T07:43:26 | 263,856,972 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 195 | sce | ex3a.sce | [x,Fs] = wavread('abc.wav')
k = 4 * x
wavwrite(k,Fs, 'abc_k.wav')
plot(k);
xlabel('t');
ylabel('amplitude');
a=get("current_axes");
set(a,"x_location","origin")
set(a,"y_location","origin")
|
6e1e43ef7c497570454f3c837e8ef29fdff9e26d | 9fd700113e21acbb9d3cef5e6010e7f37656b6e6 | /cs16b025_lab1/Xor.tst | 89cbca26de9abbbc7e8a282260ca0607ab2257b0 | [] | no_license | madhav543/cs16b025_lab | 01432fe8d0fbacf4dafe5189413943ec48afaed4 | 4924ea918b9b4dc6eb22b713e639204c9e59c697 | refs/heads/master | 2020-07-11T22:44:32.575114 | 2019-11-19T16:06:12 | 2019-11-19T16:06:12 | 204,659,765 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 249 | tst | Xor.tst | load Xor.hdl,
output-file Xor.out,
compare-to Xor.cmp,
output-list ip1%B3.1.3 ip2%B3.1.3 out%B3.1.3;
set ip1 0,
set ip2 0,
eval,
output;
set ip1 0,
set ip2 1,
eval,
output;
set ip1 1,
set ip2 0,
eval,
output;
set ip1 1,
set ip2 1,
eval,
output;
|
d724f6a896aa0e3ae39c4be811033296685e94c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH3/EX3.22/ex_3_22.sce | 8e1f6bbda030f5d0a3d38b957e71571382dd8e19 | [] | 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 | 253 | sce | ex_3_22.sce | //Example 3.22:Resistance and inductance
clc;
clear;
close;
//given data :
S=2000;// in ohm
P=1000;// in ohm
Q=S;// in ohm
C=1*10^-6;// in F
r=200;// in ohm
R=P*Q/S;
disp(R,"Resistance,R(ohm) = ")
L=(C*P/S)*(r*(Q+S)+(Q*S));
disp(L,"Inductance,L(H) = ")
|
2ea8b96108945d6dc843cbe45b344c85eef6285b | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH3/EX3.5/EX3_5.sce | 37fb03cdcd45a63faea494e08cb3ed9ef8666903 | [] | 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 | 874 | sce | EX3_5.sce | clc;funcprot(0);//Example 3.5
//Initilisation of Variables
As=0.25;....//Surface area of a copper slab in m^2
L=0.01;....//thickness of surface slab in m
Ti=300;...//Uniform temparature of the slab in degrees celcius
Ta=40;...//Ambient temparature in degrees celcius
h=90;...//heat transfer coefficient on surface ... |
3a91a27fd0121b3b409efbb3594090abd96ac972 | cee0a584987e8f6eae19ed5deb199e1394820f95 | /labpart1/edsonj.sce | 70cf1e2b7e72da33e1e2f0ba829e06eaf04d8294 | [] | no_license | izlervaldivia/Penduloinvertido | 55e11b16d0565e4c6e85ad5ce79814467afc4191 | 71745eeadf03ee63992a80eebf231d8b931c7035 | refs/heads/master | 2022-12-01T16:32:50.105285 | 2020-08-16T07:12:00 | 2020-08-16T07:12:00 | 287,870,940 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 515 | sce | edsonj.sce | function xdot=edsonj(u1,u2,u3,u4,u5)
// This is nonlinear EDSON-J model
// Load the parameters
exec('edsonjParameters.sce', -1);
m=0.017;
M=0.696;
l=0.3;
g=9.81;
// state variables
//u1; //angulo
//u2; //velocidad angular
//u3; //posicion
//u4; // velocidad
// control variables
//u5
//
xdot... |
e1b67ba9ff11aa24babd11679e609ab92e537752 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1241/CH6/EX6.2/exa6_2.sce | c472e95b466320d5db644ad9a101d627d8fdc2a7 | [] | 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 | 375 | sce | exa6_2.sce | //Example 6-2//
//find minterms for A+BC//
clc
//clears the console//
clear
//clears all existing variables//
//conversion to minterms//
disp('Given expression- A+BC ')
disp(' on solving ')
disp(' A(B+B'')(C+C'')+BC(A+A'') ')
disp(' (AB+AB'')(C+C'')+BCA+BCA'' ')
disp('multiplying')
disp(' C''AB+AB''C+AB''... |
4af600045404f398dc98a9cc19bcc8a520e357ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH2/EX2.1/2_1.sce | f04af1406ce7f1c65625418ab6cace15a48e1762 | [] | 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 | 303 | sce | 2_1.sce | clc
//initialisation of variables
l= 60 //ft
w= 10 //ft
h= 5 //ft
t= 3/16 //in
sp = 7.75
H= 4 //ft
w1= 62.4 //lb/ft^3
y= 4 //ft
//CALCULATIONS
V= (l*w+2*w*h+2*l*h)*t/12
W= V*w1*sp
x= W/(w1*l*w)
W1= H*l*w*w1
dW= (W1-W)/2238
//RESULTS
printf ('weight of water displaced= %.1f tons',dW)
|
a9320a5355aed7c1eff14a555852d2c9997c106f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH2/EX2.27/Exa_2_27.sce | b30e079ccbd56f86d0224b7ed891b4648d00b272 | [] | 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 | 294 | sce | Exa_2_27.sce | //Exa 2.27
clc;
clear;
close;
format('v',8);
//Given Data :
Q1_2=85;//KJ
Q2_3=-90;//KJ
W2_3=-20;//KJ
Q3_1=0;//Adiabatic process
W1_2=0;//constant volume process
//integrate(dQ)=integrate(dW)
W3_1=Q1_2+Q2_3+Q3_1-W1_2-W2_3;//KJ
disp(W3_1,"Direction is 3-1 and work in KJ : ");
|
09d5121721f572b9de5c8a7a3e018f82ca2e83f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH1/EX1.5/EX1_5.sce | 0687a896adc28c71db36b3e7084ac0dbd128ba7d | [] | 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 | EX1_5.sce | //EXAMPLE 1-5 PG NO-19
V1=230; //VOLTAGE ONE
P1=1000; //POWER
R=V1*V1/P1; //RESISTANCE OF HEATER
V2=210; //VOLTAGE TWO
P2=V2*V2/R; //POWER OF HEATER WHEN VOLTAGE IS 210
R=(V1*V1)/P1 //Resistance
disp('i)RESISTANCE = '+string (R)+' ohm');
P2=(V2*V2)/R; ... |
84c44697094ad0b66d1cca0a71bbe486ab2e11a9 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Computing/testfind.sce | 74dc2a5f48bcc4c63b890c0475ffb853ee82a945 | [] | 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 | 299 | sce | testfind.sce | // search
find([%F %F %T %F])
//vectors
L=grand(1,7,'uin',0,100)
i=find(L==L(3)) // i=3
i=find(L<50) // multiple results
// matrix
A=zeros(5,3);A(:)=15:-1:1
// entry (1,3) = entry number 11
[i,j]=find(A==5)
ind=find(A==5)
// A=7,8,9
[i,j]=find((A-7).^2<=1)
ind=find((A-7).^2<=1)
|
e8b7418aa9e816dc98a472d59522f01d999f0701 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3756/CH8/EX8.3/Ex8_3.sce | db082fb38e72a062ecff0f2281096a7ad3ada1a0 | [] | 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 | Ex8_3.sce | clc
//
//
//
//Variable declaration
k=1.000074
//Calculations
X=(k-1)
//Result
printf("\n The Electrical Susceptibility is %0.6f ",X)
|
fb69da5f2abc5541cb9ed36c8c2ca9d7ddeff8dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH11/EX11.12/exa11_12.sce | d08167d37455dbf07a7c92ea485c5298b1eb856e | [] | 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 | exa11_12.sce | //Caption:unit_step_and_impulse_response
//example 11_12
//page 482
s=%s;
syms t;
G=(4*s+1)/(4*s^2)
H=1;
CL=G/.H
disp(CL,"C(s)/R(s)=")
y=ilaplace(CL,s,t);
disp(y,"unit impulse response,c(t)=");
//for unit step response R(s)=1/s;
C=CL*(1/s)
c=ilaplace(C,s,t)
disp(c,"expression_for_unit_step_response_is=") |
589d3aed848bb2048ddd7d6c0f071552525532e1 | 976f8d18f4b4e0d3498ddd93d84cb72db64f6a88 | /time2-2012/metodoReconhecimentoForcaBruta.sce | d0cbbe5ae2662be833fc7af1bcf7cdcf42d4ed4d | [] | no_license | rfabbri/aln-src | 4dc6aa39e23e7faa13eeaad64312a4b98a9139a7 | 87c4a623190743043cc2301c83ed646d476eeaf7 | refs/heads/master | 2021-05-08T19:47:16.034974 | 2018-01-30T18:44:15 | 2018-01-30T18:44:15 | 119,578,311 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,329 | sce | metodoReconhecimentoForcaBruta.sce | //metodo de reconhecimento baseado na distancia da img teste para a...
//...minima distancia de cada pessoa
//***********************ajustes************************
//img teste
//imgteste = ts(1);
//imgteste = is(2)(9);
//******************************************************
//calculando distancia para cada pessoa
... |
ca5e9e73c436bb9e8242f06d06ab46744a9fd4f3 | ad617742f184bf6d4cceb3e9c99232d8bd52b862 | /tests/stfl.tst | c0bab9c614d355933086046bd90746bcf51bce9a | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause"
] | permissive | 9track/hyperion | d621343e7eea27c45db49c7c284dd1680491c82c | 9ceed2cc7261820eef01c55dac9b9a6ae47636b2 | refs/heads/master | 2022-09-15T12:19:09.059528 | 2020-05-28T03:05:29 | 2020-05-28T03:05:29 | 268,044,749 | 3 | 1 | NOASSERTION | 2020-05-30T09:03:56 | 2020-05-30T09:03:55 | null | UTF-8 | Scilab | false | false | 2,527 | tst | stfl.tst | #----------------------------------------------------------------------
*Testcase STFL and STFLE
*
* Because this Testcase uses STFLE it will fail on ESA hardware.
*
#----------------------------------------------------------------------
# This file was put into the public domain 2016-08-20
# by John P. Hartmann. Y... |
db421ce0203e5ff5ffd849abcde2a5d716848c5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH9/EX9.7/exp9_7.sce | 368fff300be1d0ae1343c37f289ad0d704b09a0c | [] | 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 | 328 | sce | exp9_7.sce | clear
clc
disp("example 9.7")
en=3*10^6
a=12
fen=0.1
Es=2/(12+2/3)
re=exp(Es)
printf("(a)\nratio of energies per collision is %f",re)
rietf=en/fen
ldie=log(rietf)
nc=ldie/Es
printf("(b)\npatio of iniial to final energies is %e \n logarithemic decrement in energy is %f \n number of collisions is %d",rietf,ld... |
718a90efbe14ef402dee8cd7a0470cb823aaf9be | 449d555969bfd7befe906877abab098c6e63a0e8 | /2666/CH12/EX12.3/Ex12_3.sce | 8a8fe9eca22d65bd7ac5d441cedd6188a3b21a51 | [] | 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 | 546 | sce | Ex12_3.sce |
clc
//initialisation of variables
p=5//tons
q=200//ft
t1=20//F
t2=60//F
s=0.01468//Btu per lb
g=80.49//ft
f=67.94//ft
h=21.57//Btu per lb
h1=84.82//ft
d=42.4//tons
v=1.121//ft
v2=1.1097//ft per min
//CALCULATIONS
H=g-s*f//Btu per lb
H1=(p*q)/(H-h)//lb per min
H2=H1*(h1-H)//Btu per min
G=H2/d//hp
Cv=... |
c4687030af613df1cd25ad1aa4a36fc2044cf31d | f0f1b6e39dc4e4ab53472ba68e36550537f95470 | /test/testcases/directed/tan.tst | bc1d35639e71f76e9674095e07931439accf6354 | [
"Apache-2.0"
] | permissive | miRackModular/optimized-routines | 1cfa167ba8b830478fda27329c47794250e202e9 | 2f9e5ce5bbaaf3bf025dc17d123388a12d8ba6b9 | refs/heads/master | 2020-03-16T17:38:17.640927 | 2018-05-10T03:02:21 | 2018-05-10T03:02:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,299 | tst | tan.tst | ; tan.tst - Directed test cases for tangent
;
; Copyright (C) 1999-2015, ARM Limited, All Rights Reserved
; SPDX-License-Identifier: Apache-2.0
;
; Licensed under the Apache License, Version 2.0 (the "License"); you may
; not use this file except in compliance with the License.
; You may obtain a copy of the License at... |
bf0a5e257d15edd95a1c2d7ced0d7f103041e572 | 449d555969bfd7befe906877abab098c6e63a0e8 | /716/CH3/EX3.8.b/Solved_Ex3_8b.sce | 9b1661b608d34d7cfe5748bf0c007bb2f7642719 | [] | 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 | 383 | sce | Solved_Ex3_8b.sce | //X=L(x(t))->find initial value,x(0) and final value,x(inf) using initial and final value theorem
clc;
clear;
s=poly(0,"s");
X=(s+1)/(s.^2+2*s+2);
X=s*(X);
xinf=horner(X,0);
disp(xinf,'x(inf) by final Value theorem:');
x0=(1+1/%inf^2)/(1+2/%inf+2/%inf^2);//directly putting and dividing Numerator and Denominator... |
c67c842228bdbdd9f9eccb3d5bb53fbce9360b82 | fc97dca636256fc30f018840e244a173c06ec54b | /hard/tests/parametersFoundWhenNoneRequired.tst | f0185293c078a1e58e328e2251c942aeab0478f0 | [
"MIT"
] | permissive | tuomasb/compiler | 23fd2190bc6911380a5acf45241c1f2b2580538f | aa366ace6f2c29b5e0080faf8c50dcb7be0b02f4 | refs/heads/master | 2020-05-17T21:51:17.977674 | 2014-06-09T00:24:17 | 2014-06-09T00:24:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 173 | tst | parametersFoundWhenNoneRequired.tst | int getOne() {
return 1;
}
main {
int s;
int[] array;
array := new int [3];
array[0] := 0;
array[1] := 1;
array[2] := 2;
s := getOne(array);
return s;
}
|
e4dee9fce687b80b7a9056367bbf98e6abfd627d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3131/CH5/EX5.8/5_8.sce | 06c518cd5dffe666748c4e81fa03c06145253e60 | [] | 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 | 328 | sce | 5_8.sce | clear all; clc;
disp("Ex 5_8")
disp("Free body diagram is as shown in fig 5-16b")
disp("Summing moments about A:")
disp("-90-60*1+N_B*0.75=0")
disp("N_B=200 N")
disp("Summing forces in X-direction:")
disp("A_x-200*sin30=0")
disp("A_x=100.0 N")
disp("Summing forces in Y-direction:")
disp("A_y-200*cos30-60=0")
disp("A_y=... |
bdc9a21e15164c79804202d5e4c3365a31e3bef7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH35/EX35.2/Example35_2.sce | b64e0793688dc1161ce2b68f60f0a004ff66ffe2 | [] | 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,029 | sce | Example35_2.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART III : SWITCHGEAR AND PROTECTION
// CHAPTER 9: PROTECTION OF TRANSFORMERS
// EXAMPLE : 9.2 :
// Page number 635-636
clear ; clc ; close ; // Clear the work space and c... |
5b89831de18839389841a5b1cf2774b360fef467 | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH2/EX2.8/Example2_8.sce | cfefb5060e6bb17edadbc6eba1deeb4586562979 | [] | 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 | Example2_8.sce | //chapter-2,Example2_8,pg 485
R1=10*10^3
R2=10*10^3
V1=10//input voltage-1
V2=10//input voltage-2
R31=10*10^3//R3,case-1
Vo1=((1+(R2/R1)+(R2/R31))*V1)-(R2/R1)*V2//output voltage case-1
printf("output voltage case-1\n")
printf("Vo1=%.2f V\n",Vo1)
R32=100*10^3//R3,case-2
Vo2=((1+(R2/R1)+(R2/... |
d0f41338b4519f2423da3b124fb75626466802d9 | 5c808b0f55fefd29b91c7cb73f2f3a08093c5033 | /Code/Scilab Code/FalsePosRateChordSamples.sci | c41658fc24a3b637c3c998a4177fc938761887f5 | [] | no_license | JOfTheAncientGermanSpear/Filter-Bank-Guitar-Note-Chord-Detection | a01e2ce521561dfea555a588d6bb1e0f1deca18e | cb0d54c74275a990dcb984c4ec349e6ca4e72a1a | refs/heads/master | 2021-01-20T12:00:42.472605 | 2013-06-14T03:04:33 | 2013-06-14T03:04:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,138 | sci | FalsePosRateChordSamples.sci | function [chordNames, falsePosRates]= FalsePosRateChordSamples()
chordNames = GetChordNames();
numOfChords = length(length(chordNames));
falsePosRates = zeros(1, numOfChords);
for currChordIndx = 1:numOfChords
[falsePosChords, falsePosCount] = GetFalsePosForChord(currChordIndx)
... |
48cd75fb91d9146d6f1b49692fff47878242d920 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH18/EX12.18.10/Ex12_18_10.sce | e736befe89d027b99f48fe8195b27a621551b1b0 | [] | 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 | Ex12_18_10.sce | //Section-12,Example-2,Page no.-SS.46
//To find the distance between(100) planes of a crystal.
clc;
lm=2*10^-10 ///Wavelength of X-ray(m)
s=sind(30)
d=lm/(2*s)
disp(d,'Distance between planes(m)')
|
975af2b16c2e289e64fed36088887938594fd4ba | 5f48beee3dc825617c83ba20a7c82c544061af65 | /tests/s/80.tst | 1cf509e107a6e42d2eb3d1d367088c1c7ad7d0eb | [] | 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 | 116 | tst | 80.tst | int (*f)(int)[3];
/* ошибка: указатель на функцию, возвращающую массив */
|
b90ab6808123289dae63edcfe560341bbbd075cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1478/CH3/EX3.7.15/3_7_15.sce | ee19ed4e26bc99b60d8530b973520b471c8d24d5 | [] | 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 | 420 | sce | 3_7_15.sce | //lubricants//
//example 3.7.15//
clc
volume_oil=20//volume of oil titrated(ml)//
density_oil=0.86//density of oil titrated//
wt_oil=volume_oil*density_oil//weight f oil saponified(gms)//
volume=2.5//volume of alcoholic KOH consumed to neutralize fatty acids(ml)//
normality_KOH=0.1//normality of KOH //
A=volume... |
d4598fae1e0a2cf1329fa850d5a8fe4b5d5ea336 | 63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa | /test/0009.tst | f9a2c44f37401869d214311bef8fcc9a00a4133c | [] | no_license | fmeci/nfql-testing | e9e7edb03a7222cd4c5f17b9b4d2a8dd58ea547c | 6b7d465b32fa50468e3694f63c803e3630c5187d | refs/heads/master | 2021-01-11T04:09:48.579127 | 2013-05-02T13:30:17 | 2013-05-02T13:30:17 | 71,239,280 | 0 | 0 | null | 2016-10-18T11:01:57 | 2016-10-18T11:01:55 | Python | UTF-8 | Scilab | false | false | 274 | tst | 0009.tst | sPliTTER VRx {}
fIlteR D { }
FiLTeR Y {NoT um OR h or NoT KW gFkOv Or noT Ax or Da oR LI dz OR nOt DN or m or Not Pofw }
bMq BRANch n
gROUper hHB {MoDULe T{ } mODULE j{ } aggReGaTE uniOn(KM.g) As hz }
ungrouper J { }
gRoUPFILter CDAr {}
merGER e { eXPORt VP } |
684836fe46f638f6fde80ed538565567649ef88d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH5/EX5.21/example5_21.sce | a0b6f22c0eeebe5247be1abb5412814b2034b689 | [] | 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 | 989 | sce | example5_21.sce | clear;
clc;
// Stoichiometry
// Chapter 5
// Energy Balances
// Example 5.21
// Page 248
printf("Example 5.21, Page 248 \n \n");
// solution
// enthalpy at Tbb
Tbb = 321.6
T1 = 298.15
H1 = 65.4961*(Tbb-T1)+628.628*10^-3*(Tbb^2-T1^2)/2-1898.8*10^-6*(Tbb^3-T1^3)/3+3186.51*10^-9*(Tbb^4-T1^4)/4 // kJ... |
10c57896b38cc0c5d14f83bd769bd5a55bebfbde | 449d555969bfd7befe906877abab098c6e63a0e8 | /905/CH2/EX2.6/2_6.sce | 7ae43e74f5276321c39e33e352e24c7973c1c795 | [] | 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,602 | sce | 2_6.sce | clear;
clc;
// Illustration 2.6
// Page: 111
printf('Illustration 2.6 - Page: 111\n\n');
// solution
//*****Data*****//
// a-UF6 b-air
M_a = 352; // [molecular weight of UF6, gram/mole]
M_b = 29; // [gram/mole]
d = 0.01; // [diameter, m]
x = 0.1; // [length exposed to air stream, m]
v = 1; // [m/s... |
01f43b9b26cab661cc54c083a4dc6aec5e55e6ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /1436/CH8/EX8.7/ex8_7.sce | 1422aef3cd8cd52825dc17d02a01c9d6a9ae402d | [] | 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 | 705 | sce | ex8_7.sce | //Example 8.7, page no-510
clear
clc
T=[98.5 99 99.5 100 100.5 101 101.5]
f=[4 13 19 35 17 10 2]
//(i)
k=0
a=0
for i=1:length(T)
k=k+(T(i)*f(i))
a=a+f(i)
end
x_bar=k/a
printf("(i)\nArithmatic Mean x_bar = %.2f°C",x_bar)
//(ii)
m=0
n=0
for i=1:length(T)
x=(T(i)-x_bar)
if x<0 then
x=-x
end
m=m+(x*... |
54023d22db3b9c4ac6154b07a6ac8e611afc886b | c5d6d533a57715399d80e8747feb3dc12be988c0 | /Trabalho-1/Div.tst | 18204f28d4103219cf62fe0264d84633cfe4f044 | [] | no_license | Serpharos/Elementos-de-Sistemas-Computacionais | 460945cb0ec41ed32e381281a9361ffb4ffda588 | a4ed36462a57240ecbffd0c8069cb8c65da3efb6 | refs/heads/master | 2020-05-02T21:47:37.919753 | 2019-05-08T23:47:38 | 2019-05-08T23:47:38 | 178,231,831 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,493 | tst | Div.tst | // Projeto ESC 2019-1: Divisão em ASM
load Div.hack,
output-file Div.out,
compare-to Div.cmp,
output-list RAM[0]%D2.6.2 RAM[1]%D2.6.2 RAM[2]%D2.6.2 RAM[3]%D2.6.2;
// Caso 1
set PC 0,
set RAM[0] 42, // Argumento: dividendo
set RAM[1] 7; // Argumento: divisor
repeat 150 {
ticktock;
}
output;
// Caso 2
set PC 0,
se... |
3987f5112b2e7417c0d2aa0a54fdde78e0fa44d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3446/CH2/EX2.3/Ex2_3.sce | bfc6eef8cf27a637ccc598ae286c5d05cceb613f | [] | 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 | 308 | sce | Ex2_3.sce | // Exa 2.3
//TO find Offered Load.
clc;
clear all;
B=0.05; //Blocking(5%)
CL=3000; //Carried Load in CCS
//Solution
//Offered Load=Carried Load/(1-Blocking);
OL=CL/(1-B); //Offered Load in CCS
printf('Offered load is %d CCS \n',round(OL));
printf(' Overflow is %d CCS \n',round(OL)-CL);
|
347e293e7bbe8fe0305684cef3c0a348ceef8e23 | d6fbbd7ed46c204dc3d43ecf06c59bd29ae570e4 | /tests/cmd-rv.tst | 6d342e4e9c66b1b3fd67450d89532c93abdc05b9 | [
"Zlib",
"BSD-3-Clause",
"BSD-2-Clause",
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | mstramb/hyperion | 24b368ca3d0c4c7a92cbcb2ac5d9d9dd712352d1 | 7890543f7982b2fa4c426469857c28230288adab | refs/heads/master | 2021-01-15T14:41:32.405500 | 2015-11-10T20:50:34 | 2015-11-10T20:50:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 346 | tst | cmd-rv.tst | *
#------------
defsym cmd r
#------------
*
defsym arch S/370
script cmd-rv-2K.txt
*
defsym arch S/390
script cmd-rv-4K-32.txt
*
defsym arch z/Arch
script cmd-rv-4K-64.txt
*
#------------
defsym cmd v
#------------
*
defsym arch S/370
script cmd-rv-2K.txt
*
defsym arch S/390
script cmd-rv-4K-32.txt
*
defsym arch z/Arc... |
c6139e25a8080578f868169de7a4358d3171edac | 20de144f57c866e91361673421260cf7779a5931 | /euler/gui/components/exercises.sci | c6a0d75037c3d6fed34dff0577cfea0602ee17c8 | [] | no_license | pablovilas/fisica | 0ae0db3a6c7a5293d78a9101ef21b20942e32384 | 924d96593f4c300a420257bc9ce9041a46835bf8 | refs/heads/master | 2016-08-06T00:19:10.566377 | 2014-10-08T01:50:19 | 2014-10-08T01:50:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,775 | sci | exercises.sci | function updateLstExercises()
lst = findobj('tag','exercises_list');
index = lst.value;
if (index > 0) then
populateParameters(exercises(index)(3), []);
executeButton = findobj('tag', 'execute_button');
executeButton.callback = exercises(index)(2);
end
endfunction
function ... |
750160ec173901398155081f07f593c323d1f2d0 | f04d3d47f893de08cd99a31b4870112915b80d5b | /Datasets/vehicle/data9.tst | 6cefafb8f86b88b8d3f4b81a8ed51fb462d123c2 | [] | no_license | MesumRaza/MyWorkInPython | f5364b8514943e44c7200123653da9f4551251b1 | bd8c9b3ca2fb02ae6d2b626054fa3cd32c28b330 | refs/heads/master | 2021-08-19T21:46:41.412995 | 2017-11-27T13:37:52 | 2017-11-27T13:37:52 | 111,728,604 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 15,241 | tst | data9.tst | 0.586957 0.115385 0.458333 0.414847 0.285714 0.0754717 0.326797 0.4 0.25 0.128571 0.310526 0.260192 0.100629 0.171053 0.272727 0.463415 0.8 0.766667 class2
0.391304 0.115385 0.444444 0.253275 0.142857 0.113208 0.248366 0.514286 0.166667 0.214286 0.189474 0.179856 0.0754717 0.0526316 0.0909091 0.536585 0.666667 0.8 clas... |
ab113297e65144828f894545ca022511345e894a | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH16/EX16.1/Ch16Ex1.sci | c75d385ff2aa077b5fad9b6c595976171a7fa019 | [] | 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 | 607 | sci | Ch16Ex1.sci | // Scilab Code Ex16.1 Response of Cu to magnetic field: Page-503 (2010)
H = 1e+06; // Applied magnetic field in copper, A/m
chi = -0.8e-05; // Magnetic susceptibility of copper
mu_0 = 4*%pi*1e-07; // Magnetic permeability of free space, henry/metre
M = chi*H; // Intesity of magnetization in copper, ... |
ed00057ae1e2841baaf4695ea941000cea40e4d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH10/EX10.13.b/solution10_13.sce | ba50c81f3c48afc597b3bf75a8b0ec8b41c98e6f | [] | 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 | 955 | sce | solution10_13.sce |
//Obtain the path of solution file
path = get_absolute_file_path("solution10_13.sce")
//Obtain the path of datafile
datapath = path + filesep() + 'data10_13.sci'
//Clear all
clc
//Execute the data file
exec(datapath)
//Calculate the spring index C
C = D/d
//Calculate the Wahl Factor K
K = (4*C - 1)/(4*C - 4) + (0.615/... |
3f45852a3b4ebc2ebaae8bbe135aa7b61a271639 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH11/EX11.5/Example11_5.sce | f6ddadae9d03dbd44b730b4525257ac1e3423921 | [] | 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 | 259 | sce | Example11_5.sce | //Example 11.5
clc;
clear;
close;
format('v',8);
//Given data :
Cd=0.66;//constant
H=0.15;//meter
L=0.40;//meter
g=9.81;//constant
Q=2/3*Cd*sqrt(2*g)*L*H^(3/2);//m^3/s
disp(Q,"Discharge in m^3/sec : ");
disp(Q*10^3,"Discharge in litres/sec : ");
|
45cbec294a14e61e5250e5c8b295502a2eaa2518 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1367/CH8/EX8.1/8_1.sce | f0de35a200348897f177411daff748b46ddb6ddd | [] | 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 | 502 | sce | 8_1.sce | //Find Flexural Strength Shear Strength and Modulous of Rupture
//Ex:8.1
clc;
clear;
close;
b=225;//in mm
h=10;//in mm
l=1100;//in mm
f1=250;//in N
m=f1*l/4;//in N-mm
f=f1/2;//in N
a=(6*m)/(b*h^2);//in N/mm^2
disp(a,"Flexural Strength (in N/sqmm) = ");
t=(3*f)/(2*b*h);//in N/sqmm
disp(t,"Shear Strength (... |
0e36b8a6eec9d5ccfd84524b32d73d47b2ff70a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH25/EX25.6/Ex25_6.sce | 3100ed7e3d7b7e86a5d4c372088470ddab50a7a5 | [] | 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 | 937 | sce | Ex25_6.sce | //Example 25.6
//Using ray tracing, image distance, d_i, is found to be about 1.50m and magnification, m, to be about -2.
d_i_rt=1.50;//Image distance from ray tracing (m)
printf('Image distance found using ray tracing = %0.2f m',d_i_rt)
m_rt=-2;//Magnification from ray tracing
printf('\nMagnification found using ... |
b705a932021fd2fdd111ebbaf58069350cba24ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH13/EX13.2/13_2.sce | bee681c1a80df9eaeb9976e337e1d8d75979baab | [] | 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 | 13_2.sce | //Person jumping over ditch
//refer fig. 13.4
h=2 //m
Range=3 //m
//let t be the time of flight and u the minimum horizontal velocity required
//consider vertical motion
t=sqrt((2*2)/(9.81)) //sec
//consider horizontal motion of uniform velocity
u=3/0.6386 //m/sec
printf("Person should jump with u=%.2f m/... |
7ff65062cd65ca2a2400512a2434d6d7248fea63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH13/EX13.2/Ex13_2.sce | 9ddb443b09750d315279312f41a20e7c6892926a | [] | 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,171 | sce | Ex13_2.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 13 Example 2")
To=(273+1100);//stagnation temperature in K
a=45;//mach angle over exit cross-section in degree
Po=1.01;//pressure at upstream side of nozzle in b... |
f2e875e008a2da2ad97edeb51d0e9721e89c8091 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH3/EX3.6/Ex3_6.sce | b27a913ebcc2cf013b07a3ab14381f716b4ea291 | [] | 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 | 599 | sce | Ex3_6.sce | //example 6 pagenumber 142
clear
v1=150;//volt
vone=300//volt
idmax=40*10^-3;//ampere
idmin=5*10^-3;//ampere
r=(vone-v1)/idmax;
imax=idmax-idmin;
disp('maximum current = '+string(imax)+'ampere');
//minimum
zq=1;
while (zq<=2)
if zq==1 then
ione=25*10^-3;
i1=ione+idmin;
vmi... |
4795380a6a6b5303371b1af914a3d5e2f0405b97 | b9c6de66a61d6f9a57edaa44baf92266ccbab3db | /tests/binomial/binostat.tst | c5b35d0e53ee783375a9f2f2c1aa7cc3038924a4 | [] | no_license | papriwalprateek/distfun-scilab | 81b3edef0af1d1908e05472dfb15b0a55f61571d | 82fd34521d1e6ebb6513773264b54a0d48f5f3f9 | refs/heads/master | 2016-09-03T07:08:47.605240 | 2013-10-13T05:53:43 | 2013-10-13T05:53:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,150 | tst | binostat.tst | // Copyright (C) 2012 - Prateek Papriwal
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCI... |
1f9a4074811a38e35fc2b4a299f32121bba7ef7d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3041/CH1/EX1.4/Ex1_4.sce | f8e2c06c2b31fdcf047a3c8afb0a8a55760f5bb2 | [] | 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 | 759 | sce | Ex1_4.sce | //Variable declaration
ni=1.5*10**16 //intrinsic concentration(electron-hole pairs/m^3)
n=4.99*10**28 //number of Si atoms(atoms/m^3)
un=0.13 //electron mobility(m^2/V.s)
up=0.05 //hole mobility(m^2/V.s)
e=1.6*10**-19 //electronic charge(c)
//Calculation
//Part a
g=e*ni*(un+up) //intrinsic ... |
b557b3dc7195c77ce5e2b91d4e55850b0b2e5228 | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH5/EX5.6/EX5_6.sce | fa96e1b90544d6517a9fb79ba668f73c47c58782 | [] | 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 | 799 | sce | EX5_6.sce | clc;funcprot(0);//Example 5.6
//Initilisation of Variables
x=0.3;...//Length of the pipe in m
L=1;...//Length of the flat plate in m
v=5;...//Velocity of air in m/s
T=300;...//Temperature of air in K
Tw=345;.......//Temperature of entire length after heated in K
//Properties of air at 345K
mu=17.36*10^-6;......... |
34ad89779fe9a5a4373ac9e47c67fcd9ee6d96a0 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/enbw/enbw11.sce | 3b8c04bd2985980e7c55af9845a9fe75cf1053c5 | [] | 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 | 260 | sce | enbw11.sce | //check o/p when no i/p args are passed to the function
en=enbw();
//output
//!--error 10000
//Expected input number 1, WINDOW, to be one of these types: double, single..Isntead its type was char.
//at line 28 of function enbw called by :
//en=enbw();
|
5dfbe9a133772faee2eee4fa644de9bdf1e515a1 | 3ab7c3ba0b53c896747be95b21d2a39dc0ba021a | /TrapecioCompuesto.sci | d3a287df5e84b9c33d98750424244c83f1334b63 | [] | no_license | Farber98/MetodosNumericos | 0752f090eb596926f05bff0730a088eb70e77033 | 5c1be0d0e8274d204b41d0b91778847e6469e6bb | refs/heads/master | 2021-04-23T12:58:07.339435 | 2020-03-25T08:41:32 | 2020-03-25T08:41:32 | 249,926,955 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | sci | TrapecioCompuesto.sci | function [t] = TrapecioCompuesto (x,f)
n = length(x);
h = (x(n) - x(1) / (n-1));
i= 2;
si= 0;
while i<n
si = si + f(x(i));
i = i + 1;
end
t=(h/2)*(f(1)+2*si+f(n));
endfunction
|
f511d54cffdab33e5cd81465f914611f8d6c3064 | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH6/EX6.21/ex_21.sce | 5491b5bbefd2c93910ad4e3cef5659a27b35c29c | [] | 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 | 207 | sce | ex_21.sce | // PG (405)
deff('[y]=f(x,y)','y=lamda*y+(1-lamda)*cos(x)-(1+lamda)*sin(x)')
lamda = -1;
[x,y]=Euler1(1,1,5,0.5,f)
lamda = -10;
[x,y]=Euler1(1,1,5,0.1,f)
lamda = -50;
[x,y]=Euler1(1,1,5,0.01,f)
|
8763ac3e17e29597e241d20fefa68d7f00ccc16e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH35/EX35.27/35_27.sce | 47f42dba2a32ad272e391fd1705c70d19c934985 | [] | 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 | 260 | sce | 35_27.sce | //ques-35.27
//Calculating magnetic field strength required
clc
f=60;//precessional frequency (in Hz)
g=5.585;
Bn=5.0508*10^-31;//(in J/G)
h=6.6262*10^-34;//(in Js)
Ho=(h*f*10^6)/(g*Bn);
printf("The magnetic field strength required is %.0f G.",Ho);
|
491fdbc010a8117a3eac53233aa9918469268509 | 449d555969bfd7befe906877abab098c6e63a0e8 | /38/CH5/EX5.3/3.sce | 60097134583a7a26d36d51bb6859153b21ae100c | [] | 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,213 | sce | 3.sce | // Caption: Finding maximum torque deliver by motor when it is supplied with the power from a)infinite bus b)turbine generator
// Example 5.3
clear;
close;
clc;
kVA_r=1500/3;//per phase
V_ta=2300/sqrt(3);//per phase
I_r=500000/V_ta;//per phase
X_sm=1.95;
I_a_X_sm=I_r*X_sm;//syn-reactance V-drop
E_afm=sqrt(V... |
e6db3779d9c3dfc8926aade706587b73239a4455 | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/diffuse/mdifruneasa2.sce | f9fbed2b85bc9793f0d26adf1f18f9bd9314ad72 | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,660 | sce | mdifruneasa2.sce |
exec('diffuse_utils.sce');
exec('diffuse.sce');
exec('diffuse_multi.sce');
exec('diffuse_drv.sce');
mkdir('resultsm1');
mkdir('tmp');
//exec('diffuse_analysis.sce');
directory=sprintf('resultsm1');
chdir(directory);
nspec=3;
nsteps=400;
nsubsteps=1;
dt=0.0001;
n1=20;
n2=20;
n3=1;
//in(1)=5; //d
in(... |
fabb4c1b0db48f4a4f3cd2f148ab85f09d74f2a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH11/EX11.9/ex11_9.sce | 0b61d3d5640bdcd4370128f22cee9c839315472f | [] | 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 | 282 | sce | ex11_9.sce | clc;
clear all;
c = 3e8; // Velocity of light in air
h = 6.626e-34 ; // Planck's constant
e = 1.609e-19; // Charge of an electron
Eg = 0.02*e ; // Ionization energy
lambda = (h*c)/Eg; // Wavelength of emitted radiation
disp('m',lambda,'Wavelength of emitted radiation is')
|
65536739cf0e852ab561d8e01c7d565555bb44b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3669/CH1/EX1.5/5.sce | 121913e1fcbed2e809adeb9352f816c2c3ae7f3d | [] | 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 | 279 | sce | 5.sce |
//Variable declaration
m=1;
n=9; //repulsive exponent value
a=1.748*10**-28;
r0=0.281*10**-9; //seperation(m)
e=1.6*10**-19;
//Calculation
Ur0=-a*(1-(m/n))/(e*r0**m); //cohesive energy(eV)
//Result
printf('cohesive energy is %0.3f eV \n',(Ur0))
|
4e5aeabb0d1e065f6c80967a9f472bd332c09f7f | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.12_19.tst | ad92da2e42a848900aee8b4df0df63ebdd94fd6f | [] | 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 | 412,260 | tst | 5.12_19.tst | 12 660:1 697:1 789:1 894:1 1413:1 1585:1 1590:1 1820:1 2688:1 2875:1 3573:1 4719:1 4810:1 4896:1 5394:1 5747:1 6274:16 6934:1 7405:1 7811:1 8668:1 9688:1 10749:1 11000:1 11086:1 11914:1 12106:1 12359:1 12482:1 12586:1 12606:1 12633:1 12728:1 12789:1 13465:1 13922:1 14397:1 14840:1 15457:1 15548:1 15925:1 18299:1 18524:... |
3a62950dfdcc3ab3a25d8302225c1001aba64af3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2642/CH4/EX4.2/Ex4_2.sce | 3c395ae32eb4c2fd0a894c14151240116d61e698 | [] | 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 | 511 | sce | Ex4_2.sce | // FUNDAMENTALS OF ELECTICAL MACHINES
// M.A.SALAM
// NAROSA PUBLISHING HOUSE
// SECOND EDITION
// Chapter 4 : DIRECT CURRENT GENERATORS
// Example : 4.2
clc;clear; // clears the console and command history
// Given data
l = 0.65 // length of conductor in m
v = 35 // speed in m/s
B = 0.8 // mag... |
aaecb8d1f53e328a15f1e79d601a78280e375f67 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH7/EX7.16/Ex7_16.sce | 750409d1569e1d9c19d27c6c9069335f6a46562e | [] | 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 | 474 | sce | Ex7_16.sce | //===========================================================================
//chapter 7 example 16
clc;clear all;
//variable declaration
W1 = 20; //wattmeter reading in kW
W2 = -5; //wattmeter reading in kW
//calculations
P = W1+W2; //input power in kW
phi = atan(((W1-W2)/(W1+W2))*sqrt(3)); //phase... |
968473f7451e55578aca753ca474dc776c4936a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH8/EX8.4/Ex8_4.sce | 77870e696a8158203659d802ff865add94c75ad2 | [] | 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 | 512 | sce | Ex8_4.sce | //Ex_8_4
clc;
clear;
close;
format('v',6);
//given data :
Beta=50;//unitless
VBE=0.7;//V
VCC=22.5;//V
Rc=5.6;//kohm
VCE=12;//V
IC=1.5;//mA
S=3;//Stability factor(S<=3)
Rec=(VCC-VCE)/IC;//kohm(Rec=Re+Rc)
Re=Rec-Rc;//kohm
RbBYRe=(S-1)/(1-S/(1+Beta))
Rb=RbBYRe*Re;//kohm
IB=IC/Beta;//mA
V=IB*Rb+VBE+(IB/1... |
6d4a25788f920c62c6628a770170fcbbbce6674f | 449d555969bfd7befe906877abab098c6e63a0e8 | /830/CH3/EX3.1.5/Signal_Sum.sce | 285ca96f87ddcdb56cf952390c9208b9bc71f2f8 | [] | 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 | 257 | sce | Signal_Sum.sce | //Graphical//
//Example 3.1.5
//Z transform of x[n] = a^n.u[n]+b^n.u[-n-1]
//a = 0.5 and b = 0.6
clear;
close;
clc;
syms n z;
x1=(0.5)^(n)
X1=symsum(x1*(z^(-n)),n,0,%inf)
x2=(0.6)^(-n)
X2=symsum(x2*(z^(n)),n,1,%inf)
X = (X1+X2)
disp(X,"ans=")
|
57bccb53bb2e6d3c18ae80c81cdf4e0f2c101665 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1595/CH16/EX16.1/ex16_1.sce | 99de15c59652c04b0e22adffa15549d62fbecdd1 | [] | 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 | 304 | sce | ex16_1.sce | //Microwaves and Lasers : example 16-1 : pg(753)
h=0.3;//curve depth of parabolic reflector
D=3;//diameter of parabolic reflector
f=D/(16*h);//focal length
printf("\nFocal length(f)= D/16.h = %.3f m",f);
mprintf("\nThe focal length is %.3f m out from the center of the parabolic reflector",f);
|
6e38fc107532f1546488fbd128204bb7f38794d0 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.11_17.tst | dd986e9346375883fbd34f2c706e963da173d9ec | [] | 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 | 768,606 | tst | 5.11_17.tst | 11 1:1 62:1 161:1 686:1 1225:1 1615:1 1640:1 1927:2 1931:1 1940:1 2103:2 2209:1 2260:1 2308:1 2501:1 2508:1 2626:1 2745:1 2846:1 2913:2 2991:1 3027:1 3118:1 3407:1 3418:1 3700:1 3732:1 3935:1 4132:1 4283:1 4366:1 4385:1 4612:1 4665:1 4682:1 4732:1 5064:1 5088:1 5179:2 5333:1 5754:1 5757:1 5940:2 5974:1 6099:1 6134:2 65... |
273ef89bcd84f9ef46b109818a68ffc578b9d835 | 449d555969bfd7befe906877abab098c6e63a0e8 | /854/CH5/EX5.2/Example5_2.sce | c967ec591594193304e103b7b8defcb59956b67a | [] | 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,062 | sce | Example5_2.sce | //clear//
//Caption: Program to find potential at point P, Electricf Field Intensity E, Flux density D
//Example5.2
//page 126
clc;
x = sym('x');
y = sym('y');
z = sym('z');
ax = sym('ax');
ay = sym('ay');
az = sym('az');
V = 100*(x^2-y^2);
disp(V,'Potential in Volts V =')
Ex = diff(V,x);
Ey = diff(V,y);
... |
697039b3b6ad66eaad45711a3490bfe05d4b5890 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3885/CH5/EX5.17/Ex5_17.sci | 3eb81997a2c08dcc1283371c40a1afcc62af3016 | [] | 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 | 403 | sci | Ex5_17.sci | //control systems by Nagoor Kani A
//Edition 3
//Year of publication 2015
//Scilab version 6.0.0
//operating systems windows 10
// Example 5.17
clc;
clear;
s=poly(0,'s')//defines s as poly nomial variable
h=syslin('c',(5/(s*(1-s))))//the given transfer function assigned to variable h
scf()
nyquist(h)
sho... |
5e6ac01dc2ab605f7eedb7f848df7ad493890951 | 1a00eb132340e145c8a7d8fd0ef79a02b24605a2 | /help/en_US/ANALOG_READ_SB_help.tst | 7ba080c3f65c79ce608b5bd172fa54c35b2ae418 | [] | no_license | manasdas17/Scilab-Arduino-Toolbox | e848d75dc810cb0700df34b1e5c606802631ada4 | 2a6c9d3f9f2e656e1f201cecccd4adfe737175e7 | refs/heads/master | 2018-12-28T15:51:35.378091 | 2015-08-06T07:22:15 | 2015-08-06T07:22:15 | 37,854,821 | 3 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 1,136 | tst | ANALOG_READ_SB_help.tst | \name
ANALOG_READ_SB
\palette
Arduino
\smalldescription
Analog ports of an Arduino board which allow the acquisition of an analog input
\description
Arduino UNO board has 6 analog input ports (A0 to A5), the Arduino Mega board has 16 analog input ports (A0 to A15). The 10 bits channels convert the analog i... |
39502fa9b0dc7f8d16b5e2df2284eaf2f89028b4 | 3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc | /Área 1/Aula 6/Teste9.sce | b4b59e91bdf80b9894521af6f18287b44bdbec25 | [
"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 | 394 | sce | Teste9.sce | //Executar MetodoJacobEGaussSeidelExemplo.sce antes
b = ones(1,8)'
x1 = zeros(1,8)'
A = zeros(8,8)
for i = 1:8
for j = 1:8
if i == j then
A(i,j) = 2
elseif abs(i - j) == 1 then
A(i,j) = 1 //A(i,j) = 0, suprimido por A ser matriz de zeros
end
end
end
[x,dx,k] = j... |
b4f1273db31ab038ff51079554ccbf2a03d566ea | a439c420539294c6e178cc89c43c4231246f9cbe | /Scripts/21. Signal/dd.sci | b26776008fb32c3ac2ee1db1d1386cc00abc0d20 | [] | no_license | PirateKing19902016/Scilab-Spoken-Tutorials | b7927e196acbefa47abdbdeb326d37385d5cbc34 | a110fc425c123f7041cb9ee8eca42ce08619ae60 | refs/heads/master | 2021-05-02T06:14:37.089440 | 2018-02-09T16:23:27 | 2018-02-09T16:23:27 | 120,855,481 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 183 | sci | dd.sci | function y=dd(n)
y=0;
if n==0 then
y=1
end
endfunction
n=-2:2;
for i = 1 : length(n)
f(i) = dd(n(i));
end
plot2d3(n, f)
xlabel('n')
ylabel('Impulse Function') |
acfa79d60310fdb60d8f6890a1f60476176f6bdd | 717ddeb7e700373742c617a95e25a2376565112c | /249/CH18/EX18.3/18_03.sce | a281ee41ee45aae8af5a7f0ce76a928f022d0a86 | [] | 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 | 922 | sce | 18_03.sce | clear
clc
CAo=0.1;//mol/litre
FAo=2;//mol/hr
eA=3;
CA=[0.074;0.06;0.044;0.029];//mol/litre
W=[0.02;0.04;0.08;0.16];//kg
//Gussing 1st order,plug flow rxn
//(1+eA)*log(1/(1-XA))-eA*XA=k*(CAo*W/FAo)
for i=1:4
XA(i)=(CAo-CA(i))/(CAo+eA*CA(i));
y(i)=(1+eA)*log(1/(1-XA(i)))-eA*XA(i);
x(i)=CAo*W(i)/FAo;
W_by_FAo... |
02d00ea3f1a3361e0c7f9366722f0c72cb2835b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2267/CH7/EX7.13/ex7_13.sce | 95917101a6542e790975cd99f8c0a2fab194c5be | [] | 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 | 751 | sce | ex7_13.sce | //Part A Chapter 7 Example 13
clc;
clear;
close;
mg=100;//kg
pg=100;//kPa
x1=0.5;//dryness at 1000kPa
//At 100 kPa
hf=417.46;//kJ/kg
uf=417.46;//kJ/kg
vf=0.001043;//m^3/kg
hfg=2258;//kJ/kg
ufg=2088.7;//kJ/kg
vfg=1.6940;//m^3/kg
v1=vf+x1*vfg;//m^3/kg
h1=hf+x1*hfg;//kJ/kg
V=mg*x1*v1;//m^3
U1=mg*(hf+x1*... |
af42ecafed0319e2b3f4a620da8020358f73d356 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH6/EX6.33/Ex6_33.sce | 27c1e6a20d06860fa9f993dd8d8698ce77c3f6d0 | [] | 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,198 | sce | Ex6_33.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 6 : SYNCHRONOUS MACHINES
// EXAMPLE : 6.33
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
v = 6.6*10^3; // Operating voltage of the Synchronou... |
a80c8920f519fae891214eb7182da33c2bd5f276 | 449d555969bfd7befe906877abab098c6e63a0e8 | /389/CH12/EX12.6/Example12_6.sce | 0da90fcce83cbb4b47b7eed94d2458cd5e433d71 | [] | 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,358 | sce | Example12_6.sce | clear;
clc;
// Illustration 12.6
// Page: 685
printf('Illustration 12.6 - Page: 685\n\n');
// Solution
//***Data***//
Y1 = 0.01;// [kg water/kg dry air]
Gs = 1.1;// [kg dry air/square m.s]
dia = 13.5/1000;// [m]
l = 13/1000;// [m]
zS = 50/1000;// [m]
Density_S = 600;// [kg dry solid/square m.s]
a ... |
df6e59f7654e513baf9d33eacd351095950baa34 | 0845790d81f9fd3b8393b14fc9c2bdde0ffe46cf | /5_correlationoffunc/5coroffunctions.sce | d8f0dd94010c2fa21fcb0657dc2549463afe62a6 | [] | no_license | NARAYAN1201/Scilab | 1a3fb62895b157f87b0d9e024ecd2f1c000eb6df | 48980c28ab2def9939e7519867da572660c8ac97 | refs/heads/main | 2023-02-26T02:09:05.762483 | 2021-02-01T07:24:54 | 2021-02-01T07:24:54 | 335,216,077 | 0 | 0 | null | 2021-02-02T08:17:23 | 2021-02-02T08:17:23 | null | UTF-8 | Scilab | false | false | 1,072 | sce | 5coroffunctions.sce | //Program 5 - To find the correlation of signals
clc ;
clear ;
close ;
x = input('Enter the Input Sequence =') // x=[1 2 3 1 ]
m = length(x);
xl = input('Enter the lower index of Input Sequence= ' )// 0
xh = xl +m -1;
n = xl:1:xh;
subplot(2,2,1);
a=gca();
a.x_location ="origin";
a.y_location ="origin";
plot2d3('gnn',n,... |
c1353e60c85d2ac1ba584fb91c9fa8c619decb12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH15/EX15.1/15_1.sce | 2d2edc8b7e42f4317f97c7f06fd319cc2821f3f0 | [] | 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 | 865 | sce | 15_1.sce | Ps = 0.033363; P = 1.0132;
W2 = (0.622*Ps)/(P-Ps);
hfg2 = 2439.9; hf2 = 109.1; cpa = 1.005;
hg = 2559.9; hw1 = hg;
T2 = 25+273; T1 = 32+273;
W1 = (cpa*(T2-T1)+(W2*hfg2))/(hw1-hf2);
Pw = ((W1/0.622)*P)/(1+(W1/0.622));
disp("kg vap./kg dry air",W1,"Specific humidity is")
disp("bar",Pw,"Partial pressure of water v... |
334116161b012e1b206d678e3c795c9dc6bb46d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /545/CH3/EX3.6/ch_3_eg_6.sce | 8b5ce8d3590b08532bff6bfbeb4a03b419fa524e | [] | 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,448 | sce | ch_3_eg_6.sce | clc
disp("the soln of eg 3.6-->Vapour Pressure using Cubic Eqn. of State")
t=373.15, tc=647.1, pc=220.55*10^5, w=.345,R=8.314 //given
f1=1, e1=1, e2=1, vnew=1, pnew=1 //assumed values
k=.37464+1.54226*w-.26992*w*2
s=(1+k*(1-(t/tc)^.5))^2,
a=.45724*R*R*tc*tc*s/pc
b=.0778*R*tc/pc
//calc of ... |
ebfbd4d740e87ed3c1af89fab11764a7b1c92e9b | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/jintgen/arity_01.tst | aaf827491c72fee42d8424b82bc3cdd5c36e32f8 | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 224 | tst | arity_01.tst | // @Harness: verifier
// @Purpose: "Test for arity mismatch in subroutine calls"
// @Result: "ArityMismatch @ 8:8"
architecture arity_01 {
external subroutine a(): void;
subroutine b(): void {
a(0);
}
}
|
bd7431bf92537af17b7a63eb4c7f0d9a9c6b4bdf | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Measurements_And_Instrumentation_P._Sharma_876.zip/Electronic_Measurements_And_Instrumentation_P._Sharma_876/CH5/EX5.5/Ex5_5.sce | bfd7b84988dcf4535abc0fcf1a95df58bd53c4f4 | [] | 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 | 272 | sce | Ex5_5.sce | errcatch(-1,"stop");mode(2);//caption:Find value of shunt resistance for ammeter
//Ex5.5
Im=2//ammeter current(in mA)
I=50//max range of ammeter(in mA)
Rm=100//internal ammeter resistance(in ohm)
Rs=(Rm/((I/Im)-1))
disp(Rs,'shunt resistance(in ohm)=')
exit();
|
e0da07d723232a623b2176d0c0e246972496683f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH20/EX20.1/Ex20_1.sce | 4b7c46e8155020c52bd7953a970a270c7b0ee228 | [] | 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 | 280 | sce | Ex20_1.sce | clear
//Given
E=2.5*10**5 //lm/m**2
r=1.5*10**11 //m
//Calculation
//
l=E*r**2
a=4*%pi*l
//Result
printf("\n (i) Luminous intensity is %0.3f cd", l)
printf("\n (ii) Luminous flux of the sun is %0.3f *10**28 lm",a*10**-28)
|
8c64f252cc9511c2064196a68a453a3310d3ef35 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2223/CH15/EX15.1/Ex15_1.sce | 3c9e0274b752cccf9bed525fef168b9a35cec6cb | [] | 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 | Ex15_1.sce | // scilab Code Exa 15.1 Centrifugal fan stage 1450 rpm
d1=0.18; // inner diameter of the impeller in m
d2=0.2; // outer diameter of the impeller in m
N=1450; // rotor Speed in RPM
c1=21; // Absolute velocity at entry in m/s
w1=20; // relative velocity at entry in m/s
c2=25; // Absolute velocity at exit in m/s
... |
e3abd0c28f96b81581c4cdb15c754ae1a2489294 | 05df9394f5d45c0bddbd52e4aad8c8210e9e2743 | /Data Communication/PAM.sci | 79084a657a3c2e3e432613d2b5ea52a4d796e34a | [] | no_license | pikabing/Scilab | a9fd34b70be3bd552f47fafc409bf7c88573ac7a | 87f2cc1914bfdb6c24a54960e9c49191bbd1f1ad | refs/heads/master | 2020-03-10T09:34:56.522084 | 2018-04-12T21:51:52 | 2018-04-12T21:51:52 | 129,311,712 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 358 | sci | PAM.sci | // generating PAM using scilab
function[] = pam(Am,fm)
t = 0:0.1:12*%pi
Vc = 1 + squarewave(4*t)
Vm = Am*sin(2*%pi*fm*t)
Mt = Vc.*Vm
subplot(3,1,1)
plot(Vm)
title('Modulating Signal')
subplot(3,1,2)
plot(Vc)
title('Carrier Signal')
subplot(3,1,3)
plot(Mt)
... |
fb51e085f31d67a3008335acdb115db1457593d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /497/CH3/EX3.3/Chap3_Ex3.sce | 17ddf2f3419e068a476494090c64878bcddcb03a | [] | 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,249 | sce | Chap3_Ex3.sce | //Kunii D., Levenspiel O., 1991. Fluidization Engineering(II Edition). Butterworth-Heinemann, MA, pp 491
//Chapter-3, Example 3, Page 82
//Title: Estimation of terminal velocity of falling particles
//==========================================================================================================
clear
... |
ae753bd85760b4e85d16d4822e26104d45bd4048 | a2dd2b9c1ff772eac263e04e43b6bbfea43c41a8 | /solveTentjeBoompjeVer2.sci | ed68ffb94901f157b2a98b9bb0e7aca2fc1300d8 | [] | no_license | JSilkens/TentsAndTrees | 37542c783a8df743d275b12d90f96f8c6debd42a | f44ec711c6147094afd4ee8c8e6faf73e7a3bada | refs/heads/master | 2021-01-10T18:33:11.358621 | 2014-05-09T17:11:05 | 2014-05-09T17:11:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 13,049 | sci | solveTentjeBoompjeVer2.sci |
x = 7 // leeg vakje (geel)
g = 3 // gras (lichtgroen)
b = 13 // boom (donkergroen)
t = 6 // tent (paars)
function [M,A,T] = solveTentjeBoompje(B,R,K)
T = zeros(B)
A = geefBoompjes(B)
M = berekenMogelijkheden(B,R,K)
M = mogelijkhedenVolgensVec(T,M,R,K)
[M,T] = tentjesVolgensVector(T,M,R,K... |
caf69fc5cfeedfa2e41910b261702f80d71269a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH9/EX9.1/9_1.sce | 8632807f8f8b3c83b0097360eccf604341ef9f7c | [] | 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 | 186 | sce | 9_1.sce | clear; clc; close;
disp(log10(10^6),'ans for part a :- ');
disp(log(%e^3),'ans for part b :- ');
disp(log10(10^(-2)),'ans for part c :- ');
disp(log(%e^-1),'ans for part d :- ');
|
3b7cb89cebed81c5cdf5569615504acefd46e1b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH1/EX1.21/Ex1_21.sce | 19f561f419625b6a77ff762059b805553a1a4e76 | [] | 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 | 928 | sce | Ex1_21.sce | clc
// Variable Initialization
Vm=230//Supply Voltage in Volts
Ra=0.75//Combined Field and Armature circuit resistance in Ohm
N=1300 //Motor speed in Rpm
V=210//Rated voltage of motor in Volts
a=45//firing angle in Degree
Kaf=0.03 //Constant in N-m/A^2
Kres=0.075 //Constant in V-s/Rad
//Solution
//For semi... |
37a26a3494f4872ab0c57156bb159a9955b05be2 | e8bcf3f9ffdfb367940fb9ed498b1c598ce92e65 | /grayplot.sce | d3ac26374d65752ccc1ea213093f236a50eb62c3 | [] | no_license | yoddha24/Intro-to-Scilab | 1fe25aee3ebd319bc2c9e2cf7c25d7050b09890e | 4c458c1bea6880839ebae07adfd39dea0eac4e2c | refs/heads/master | 2021-01-20T18:24:05.191473 | 2016-08-08T13:45:16 | 2016-08-08T13:45:16 | 65,207,356 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 170 | sce | grayplot.sce | // Program to plot using grayplot function
x=-10:10;
y=-10:10;
m=rand(21,21);
grayplot(x,y,m)
xtitle('Using grayplot for random numbers')
xlabel('x')
ylabel('y')
|
26f642447e1888941d17118ab156d6f911d500eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH9/EX9.12/9_12.sce | 4fc3b208dec812175e0c9b40abb823ffa0452e0e | [] | 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 | 719 | sce | 9_12.sce | clear; clc; close;
Cs = 10*10^(-6);
Ce = 20*10^(-6);
Cc = 1*10^(-6);
Rs = 1*10^(3);
R1 = 40*10^(3);
R2 = 10*10^(3);
Re = 2*10^(3);
Rc = 4*10^(3);
Rl = 2.2*10^(3);
Beta = 100;
ro = %inf;
re = 15.76;
Vcc = 20;
Ve = 4-0.7;
Cwo = 8*10^(-12);
Cwi = 6*10^(-12);
Cce = 1*10^(-12);
Cbc = 4*10^(-12);
Cbe = 3... |
beac5f406c77635ba8b138dc68f1da931fba9aa5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /534/CH12/EX12.9/12_9_Brick_Wall.sce | 55c598a70036e5a784a2a108acecfe3fa952937b | [] | 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,410 | sce | 12_9_Brick_Wall.sce | clear;
clc;
printf('FUNDAMENTALS OF HEAT AND MASS TRANSFER \n Incropera / Dewitt / Bergman / Lavine \n EXAMPLE 12.9 Page 766 \n')// Example 12.9
// Total hemispherical emissivity of fire brick wall
// Total emissive power of brick wall
// Absorptivity of the wall to irradiation from coals
Ts = 500 ;//[K] ... |
7bbdad68c8a5ca252b7b4b67ec9f550be057031c | 449d555969bfd7befe906877abab098c6e63a0e8 | /46/CH14/EX14.2/Example14_2.sce | 183ea422e5012b6840e5dfd249ce5e84a9b93a85 | [] | 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 | 338 | sce | Example14_2.sce | //Example 14.2
clear;
clc
h=poly([2,4,5,3,1],'s','coeff');
r=routh_t(h)
//Since there is no change in sign in the first column, there are no roots having positive real parts, and the system is stable.
y=coeff(h);
n=length(y);
c=0;
for i=1:n
if (r(i,1)<0)
c=c+1;
end
end
if(c>=1)
printf("system is unstable")
else ("syst... |
e8bfbeba2726ca25cac2f527773bd19135ab5669 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3826/CH6/EX6.32/Ex6_32.sce | dd59beaebe3e134b82f024ff6911fae725bc4f7d | [] | 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,136 | sce | Ex6_32.sce | //Example 6_32 page no:367
clc;
//given
power = 75;//in kW
t1 = 4000;//in hours
cost = 3600;//in rupees
motor_eff = 0.91;
pow_fac = 0.89;
trans_cost = 18;//in rupees per kVA
dep = 0.8;
transformer_cost = 6000;//in rupees
trans_eff = 0.91;
trans_pow_fac = 0.89;
max_tariff = 108;
tariff = 4;
output = 75;//... |
1abff30716140a192487098ef978a9675b319720 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH7/EX7.31/exp7_31.sce | 4f8534956eb04575fbd6c6e386a5a1fbe95a8734 | [] | 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 | 372 | sce | exp7_31.sce | //example7.31
clc
disp("As the impurity is accepter, it forms a p-type material.")
disp("Therefore, N_A = 10^22 /m^3 = p_p")
disp("Now, (p_p)*(n_p)=(n_i)^2 i.e. (10^22)*(n_p)=(1.4*10^16)^2")
n=((1.4*10^16)^2)/(10^22)
disp(n,"Therefore, n(in /m^3)= ")
r=((1.96*0.145*10^10)+(0.05*10^22))*(1.6*10^-19)
disp(r,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.