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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
01adacbb97a95fda0b1635bfbc657be3c77c9bc0 | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/ofemdemo/basic_elt_test.sci | 7f718cbf71e4bbdfb611d5c787c7bfb0431d6e6a | [] | 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 | 17,211 | sci | basic_elt_test.sci | function [out,out1,out2]=basic_elt_test(varargin);
// ELEMENT TESTS
//
//// eig, load, mat for all elements => comparisons with SDT5.1
// basic_elt_test('compare')
//
//// test of basic commands (integinfo, call, etc.) for all elements
// basic_elt_test('integinfo')
//
//// testmat for all elements,
//// the optional... |
9fc5b9341351467d09e4ee375b129ded07334f96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH2/EX2.3/2_3.sci | 9d0204df8cefa6c68b967c1864b6f642e80b9447 | [] | 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 | 422 | sci | 2_3.sci | // calculating Relative error (expressed as a percentage of f.s.d)
clc;
disp('calculating Relative error (expressed as a percentage of f.s.d)')
Am = 1.46;
At=1.50;
e=Am-At;
disp(e,'Absolute error(V)=');
Sc=-e;
disp(Sc,'Absolute Correction(V)=');
RE=(e/At)*100;
disp(RE,'Relative Error in terms of true value(in... |
cbc19422abb92cfce314089b28081d04b35a44be | 8062fe46632f0a71aa99ad958256ac4f8b2e4065 | /projects/03/a/RAM64alt.tst | 2252df57c055901a01913d6917e06933de81f767 | [] | no_license | bodgergely/nand2tetris | e4ba621d8e3e8a1f96e618029df6332a55a4699e | d2d2c28d01e03ae15a139b09fe82944bc3c67cde | refs/heads/master | 2022-07-22T03:56:54.314969 | 2022-07-08T21:42:46 | 2022-07-08T21:42:46 | 145,323,539 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 881 | tst | RAM64alt.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/03/a/RAM64.tst
load RAM64.hdl,
output-file RAM64alt.out,
compare-to RAM64alt.cmp,
output-list time%S1.4.1 in%D1.6.1 load%B2.1.2 address%D2.3.2 out%D1.6.1;
... |
8bfce214f6c16cd0ecaccd39866e304a9974efff | 449d555969bfd7befe906877abab098c6e63a0e8 | /2732/CH2/EX2.10/Ex2_10.sce | cd4721315629912420eae76e1aff4567aa7dc16a | [] | 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 | Ex2_10.sce | clc
// initialization of variables
clear
tau_xx= -1 // kgf/cm^2
tau_yy= 0 // kgf/cm^2
tau_xy= 7 // kgf/cm^2
// calculations
sigma_1=(tau_xx+tau_yy)/2+sqrt((1/2*(tau_xx-tau_yy))^2+tau_xy^2)
sigma_2=(tau_xx+tau_yy)/2-sqrt((1/2*(tau_xx-tau_yy))^2+tau_xy^2)
x=sigma_1 // positive one is tension
if(sigma_2>sigma_1... |
a028c7a18e23563783396b6b9e5a52a9fd5f24f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2204/CH13/EX13.17/ex13_17.sce | 8aa015dc28e8b3f92b9c90db28f64f55b8eb8a9a | [] | 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 | 233 | sce | ex13_17.sce | // Exa 13.17
clc;
clear;
close;
// Given data
R_A = 20;// in k ohm
R_A = R_A * 10^3;// in ohm
C = 0.1;// in µF
C = C*10^-6;// in F
pulse_width = 1.1*R_A*C;// in s
disp(pulse_width*10^3,"The output pulse width in ms is");
|
cde1cd4c89d2baff4b89979442ed3e37f3aa1c0d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH5/EX5.53/example5_53.sce | 6de823af8af389192afed1da75a4cedd882f8059 | [] | 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 | 554 | sce | example5_53.sce | clear;
clc;
// Stoichiometry
// Chapter 5
// Energy Balances
// Example 5.53
// Page 308
printf("Example 5.53, Page 308 \n \n");
// solution
F = 1135
Benzenef = 400*.993
HNO3con = Benzenef*63/78
H1 = -186.5
C11 = 1.88
H11 = H1+C11*(298.15-273.15)
H2 = -288.9
C12 = 1.96
H22 = H2+C12*(298.15-27... |
d7a139acfff1e49b975f0d77fb07eea10d57071c | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/sci2blif_added_blocks/HH_RG_3s.sce | 90384d402966313039957fd3b97f494cdf7d6bb9 | [] | 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 | 4,005 | sce | HH_RG_3s.sce | //**************************** HH_RG_3s **********************************
if (blk_name.entries(bl) == "HH_RG_3s") then
for ss=1:scs_m.objs(bl).model.ipar(1)
mputl("# HH_RG_3s "+string(bl)+" "+string(scs_m.objs(bl).model.ipar(2))+" "+string(ss),fd_w);
sci2blif_str= ".subckt HH_RG_3s"+" in[0]=net"+st... |
cd0e15b734a8651e31087786c71bb7aa1088a3ad | b13c6d07b88515b61d998f4fe34d9ec9710ba3ef | /ExperienceFiabilité.sce | 103d9780fd0ed422537db10104186d56df7d756d | [] | no_license | EmSavalle/PremiereExpe | c3018f5a833057b88cc5b7bce9f60cecc8b7aa27 | afb9188571ce7e460deed2971586ab0ef161d6cd | refs/heads/main | 2023-01-13T06:07:18.591098 | 2020-11-12T12:35:44 | 2020-11-12T12:35:44 | 310,552,016 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 58 | sce | ExperienceFiabilité.sce | response_matching = simple_matching;
begin;
begin_pcl;
|
02efd028bb0a339abc021e3a4d136c26cf5775e1 | a557f90da8513f81cafd8f65e37e2c0d66449a2f | /cir_conv_freq_domian.sce | f3a207009e04b19c775a9939a8c4253b2f7980fc | [] | no_license | Sahil966121/SCI | 484cd77d6247e54fe87d36b4f112965c83ab5d96 | cf2921861486a4f2e2e83c3ca813a4e7710d3508 | refs/heads/main | 2023-03-03T17:43:08.236192 | 2021-02-03T05:19:43 | 2021-02-03T05:19:43 | 324,413,192 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 460 | sce | cir_conv_freq_domian.sce | clc;
clear;
close;
x1=input('x(n)=');
x2=input('h(n)=');
L1=length(x1);
L2=length(x2);
N=max(L1,L2);
x1=[x1,zeros(1,N-L1)];
x2=[x2,zeros(1,N-L2)];
//circular convolution in freq domain
X1=fft(x1);
X2=fft(x2);
Y=X1.*X2;
y=ifft(Y);
disp(y,'Circular Convolution y=')
subplot(3,1,1);plot2d3(x1);xtitle('input signal x1','n',... |
469e4450d8d428fdc34286764607d96243e2e0f1 | b73e9d989ebb6c74535238e10eede063a5d7e66b | /123.sce | 5a1a37fe5c4cbf7ab9f9df7713457e2843e00592 | [] | no_license | ParthaSurve/CODES_SEM_VI | 930a520ccdbc7cb389dac6b6f03900674b5e1a6b | 1f6afa9b92ad8263d0773ce0f90f9ffa5943b8e4 | refs/heads/master | 2021-01-21T05:13:44.089655 | 2017-02-25T17:46:44 | 2017-02-25T17:46:44 | 83,149,933 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 513 | sce | 123.sce | syms a e; a is semimajor and e is eccentricity
[a,e] = solve(a*(1-e)==6375+300,a*(1+e)==6375+10000,a,e); % earth radius = 6375km,
hp=300, ha=10000
b=a*sqrt(1-e.^2); %b is semiminor
b=double(b);
a=double(a);
e=double(e);
u=0:pi/100:2*pi; %u is true anomaly
r=(a*(1-e^2)./(1+e.*cos(u))); %r is radial distance from earth's... |
fb9a9954546e7720db8b9aa933e07c08ff822835 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH4/EX4.6/eg4_6.sce | 88d8ce2afebfaab47090229012c2bce2230bd0a8 | [] | 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 | 276 | sce | eg4_6.sce | clear;
//clc();
v=11;
ct=0.7;
cs=0.4;
cc=(ct-cs)/2;
printf("\n the capacitance between conductors is: %.2f uF\n ",cc);
cl=0.5*(3*cc + cs);
ic=(v*2*3.14*50*2*cl*.001)/sqrt(3);..//charging current in ka/phase
printf("\n the charging current is: %.3f A\n ",ic);
|
bb8f93f555e3ed17edb94478bb9f6f467feeb7b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2891/CH2/EX2.31/Ex2_31.sce | 491b737d978c247a0bda144938b98bc6eca308bd | [] | 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,404 | sce | Ex2_31.sce | // Exa 2.31
clc;
clear;
close;
// given :
E_i=1 // magnitude of incident electric field in mV/m
E_i=1*10^-3 // magnitude of incident electric field in V/m
epsilon_0=8.854*10^-12 // permittivity in free space in F/m
mu_0=4*%pi*10^-7 // permeability in free space in H/m
theta_i=15 // incident angle in degrees
... |
9519c28298d4a116a26eb50e33e4aab6a6a76d30 | 6eb42df0d9f452fee0d084e0b0058e4e4ac242ef | /Updated_Exercises_March_2015/Miscellaneous/CoriolisForce/StraightPath.sce | b61fdfb39c79d14569b5e30d476865e060bdb45d | [] | no_license | huangqingze/ocean_modelling_for_beginners | b21c1b398efe91e4a3aa1fa5a1d732e2eb4ec16e | 3e73a511480c73f4e38b41c17b2defebb53133ed | refs/heads/main | 2023-07-03T12:00:01.326399 | 2021-08-14T21:16:12 | 2021-08-14T21:16:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,608 | sce | StraightPath.sce | //*******************************************
// Scilab script for visualisation of the
// Coriolis force.
//
// Use the help facility for more information
// on individual functions used.
//
// Author: J. Kaempf, 2015 (update)
//********************************************
clf; scf(0); a=gcf(); a.figure_si... |
2076fae0dad0a1a305c988a88e28c04ea6aa826c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH12/EX12.3/Ex12_3.sce | f42a27c84fb2a959ac04156598f4fcb53613a16c | [] | 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 | 545 | sce | Ex12_3.sce | //example-12.3
//page no-396
//given
//the molecular weight of polyisoprene monomer
Mm=68 //gm
//after vulcanisation with sulphur, it is observedthat the 2 molecules of isoprene monimer require 2 molecules of sulphur
//hence for full cross linking ,(68*2) gm of isoprene requires (32*2)gm of sulphur. therefore 68... |
f3b15a5dd303d5842c654eb3f5aca706b0032fbd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2201/CH1/EX1.19/ex1_19.sce | f7d697717b5d5b8e3b567eaa2012468381e77ce7 | [] | 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 | 222 | sce | ex1_19.sce | // Exa 1.19
clc;
clear;
close;
// Given data
M = 120;
n = 2;
N_A = 6.023*10^23;
m1 = M/N_A;//mass of 1 atom in gm
m2 = n*m1;//mass of unit cell in gm
disp(20/m2,"Number of unit cell in 20 gms of element is : ")
|
1afb60a95cf3a35d3ef0cf2f903ab20f93183488 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH11/EX11.12/example11_12.sce | 6d590b223e8f66394ecc606d16af3e0dc7c5b187 | [] | 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 | 567 | sce | example11_12.sce | //clc()
//Cp = 26.586 + 7.582 * 10 ^-3 * T - 1.12 * 10^-6 * T^2
T1 = 500;//K
T2 = 1000;//K
x = integrate('26.586 + 7.582 * 10^-3 * T - 1.12 * 10^-6 * T^2','T',T1,T2);
Cpm = 1 *x / ( T2 - T1 ) ;
disp("kJ/kmolK",Cpm,"(a)Mean molal heat capacity = ")
V = 500;//m^3;
N = V / 22.4143;
Q = N * Cpm * ( T2 - T1 );
dis... |
59f88a302c7fb1cea9e9c234002ceb31e38fac9c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2072/CH23/EX23.2/EX23_2.sce | 472f0be14d9a4af74e41a04924305ddff3e4c216 | [] | 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 | 255 | sce | EX23_2.sce | //23.2
p=25//in cm
f=10//in cm
x=(1/f)-(1/p)
q=1/x
p=25
M=-(q/p)
disp("part a")
disp(M,"The magnification when object is at 25cm=")
p=5//in cm
f=10//in cm
x=(1/f)-(1/p)
q=1/x
p=5
M=-(q/p)
disp("part c")
disp(M,"The magnification when object is at 5cm=")
|
4ec522042c3cf2a0f303ab3c686cd46280ad1e41 | ca8a1752ffab27d706f447f6671fec785bff91f6 | /ncp/cs2/project 01/Or8Way.tst | a010cca4216071809d289abbfea0e9a0d9325b72 | [] | no_license | aling94/school | 0d01dbdd582107a58b0a59c564df2db6367777be | 81d52961bc4c9244cf7abef2276ee69495eec351 | refs/heads/master | 2020-04-26T11:05:10.559842 | 2019-03-02T22:27:19 | 2019-03-02T22:27:19 | 173,504,921 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 474 | tst | Or8Way.tst | // This file is part of the materials accompanying the book
// "The Elements of Computing Systems" by Nisan and Schocken,
// MIT Press. Book site: www.idc.ac.il/tecs
// File name: projects/01/Or8Way.tst
load Or8Way.hdl,
output-file Or8Way.out,
compare-to Or8Way.cmp,
output-list in%B1.8.1 out%B2.1.2;
set in %B000000... |
84b232da9cc2ef3bf6b0bf989df4620011085a2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH4/EX4.3/Ex4_3.sce | 0baf633a8d74e08d8e0d2a0f7d4f0e6d09be024f | [] | 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 | 767 | sce | Ex4_3.sce | //=======================================================================
// chapter 4 example 3
clc;
clear;
//input data
E0 = 300*10^2; //local field in V/m
P1 = 3.398*10^-7; //dipole moment Coulomb/m
P2 = 2.124*10^-5; //dipole moment Coulomb/m
e0... |
65cf7a57e64a1fc436b455d617874c579eff16fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH3/EX3.1/Exa_3_1.sce | eef5eb1b95693e8b887ccb610a68ec1f2f859446 | [] | 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 | 159 | sce | Exa_3_1.sce | //Exa 3.1
clc;
clear;
close;
format('v',7);
//Given Data :
Q2=1800;//KJ/hr
Q2=Q2/3600;//KJ/sec or KW
W=0.35;//KW
COP=Q2/W;
disp(COP,"COP is : ");
|
c193cfc90cb901567f53754004826785a7327955 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH4/EX4.4/4_4.sce | 607c5a243b0604714d5e7e41c6db63c3834855a3 | [] | 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 | 788 | sce | 4_4.sce | //example 4.4
//linearization of non-linear law
//page 131
clc;clear;close;
x=[1 3 5 7 9];
y=[2.473 6.722 18.274 49.673 135.026];
for i=1:5
Y(i)=log(y(i));
x2(i)=x(i)^2;
xy(i)=x(i)*Y(i);
end
S_x=0,S_y=0,S_x2=0,S_xy=0;
printf('X\t Y=lny\t X^2\t XY\n\n');
for i=1:5
printf('%d\t ... |
49cf3c609de70096631ee062676fa40ba89a3d73 | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH3/EX3.6/ex_3_6.sce | c8ce95b972db928b71e517b990f91f658295f08c | [] | 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 | 405 | sce | ex_3_6.sce | syms t s a
y=laplace(%e^(-a*t)-%e^(a*t))
disp(y,"X(s)=")
s1=%s;
//a>0
a=2;
t=-5:0.1:5;
x=%e^(-a*abs(t));
subplot(2,1,1)
plot(t,x)
subplot(2,1,2)
x=1/(s1+a)-1/(s1-a);
plzr(x)
//a<0
a=-0.5;
t=-5:0.1:5;
x=%e^(-a*abs(t));
figure
subplot(2,1,1)
plot(t,x)
subplot(2,1,2)
x=1/(s1+a)-1/(s1-a);
plzr(x)
dis... |
97d8d91896fa9e17e81f20fda194a996f9bdd435 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2165/CH1/EX1.9/1_9.sce | 6e41d2ad7ec3f69cf4647a2cc5ab53843f2d824d | [] | 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 | 1_9.sce | clc
//initialisation of variables
v=10//ft^3
p=100//lb/in^2
p1=18//lb/in^2
v1=50//ft^3
n=log(p/p1)/log(5)
gama=1.4//air
//CALCULATIONS
W=[144*(p*v-p1*v1)]/(n-1)//ft lb
H=(gama-n)/(gama-1)*W//ft lb
E=W-H//ft lb
//RESULTS
printf('The heat supplied and the change of internal energy=% f ft lb',E)
|
f8c72f2087831141f8e2c2ad56ac222c033fd673 | 5ba2544f304e60e58fcb981a9e543cc526cb602a | /iView X SDK/Examples/NBS Presentation/Slideshow/Slideshow.sce | 7fcefdd7f302ed1b81757ad61f79d770808dcff5 | [] | no_license | air2310/cpp_rep | 24747ab9d55c17a00693ff7226c272ddf459edbe | c3464f08ae6431e64ee48b1c2a4c0539cc886189 | refs/heads/master | 2021-01-12T15:42:46.056782 | 2016-12-06T12:25:00 | 2016-12-06T12:25:00 | 71,864,975 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,425 | sce | Slideshow.sce | # -----------------------------------------------------------------------
#
# (c) Copyright 1997-2013, SensoMotoric Instruments GmbH
#
# Permission is hereby granted, free of charge, to any person or
# organization obtaining a copy of the software and accompanying
# documentation covered by this li... |
bc5d75704cd155bf5db5d5b71b282237fd7307bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1627/CH10/EX10.3/Ex10_3.sce | adab23125fcc80f2a338249221a04a126379f1b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 248 | sce | Ex10_3.sce | clc
//initialisation of variables
a=45//deg
b=120//deg
r=1750//rpm
v=15//cm
p=1000//N.s/m^4
u1=15*10^-2//m
v1=0.5//m
//CALCULATIONS
U2=(2*%pi*r/60)*u1//m/s
V1=U2-[(v*v1)]//m/s
P=U2*V1//kPa
//RESULTS
printf('The pressure =% f kPa',P)
|
34786bb4185ea76ebb5974ec5da0fa04cdd4966d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2093/CH6/EX6.10/exa_6_10.sce | 083bd9d1fbb636b5a8d1ab8838df44d6a68b6bed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 234 | sce | exa_6_10.sce | // Exa 6.10
clc;
clear;
close;
// Given data
R1= 220;// in kohm
R1=R1*10^3;// in ohm
R2=R1;// in ohm
C1= 250;// in pF
C1= C1*10^-12;// in F
C2=C1;// in F
f= 1/(2*%pi*R1*C1);
disp(f,"Frequency of oscilltions in Hz is : ")
|
e49d848eae978890910538d64f48bed02f93abfc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1415/CH1/EX1.2.2/ex2.sce | d2daea230e36ab9810a057e00ee80fcb875daef2 | [] | 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,069 | sce | ex2.sce | //Example 2 Page 59
clc
clear
//creating C(x) function
function y=C(x)
y=100000+160*x-0.2*x^2
endfunction
//the variable cost is the part of the cost function that depends on x
VariableCost=poly([0 160 -0.2],'x','c')//variablecost polynomial
disp(VariableCost,'VariableCost in dollars=')
FixedCost=100000... |
9336a1cf28f442a18378b0c815b8f7db5b801d43 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH1/EX1.33/Ex1_33.sce | 4be6cb6f6f45cdd60085617e3eaeeac674f3e776 | [] | 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 | 876 | sce | Ex1_33.sce | clc;
P=500000; // VA rating of transformer
E2=400; // rated secondary voltage
nmax=0.98; // maximum efficiency of transformer
l=80; // percentage of full load at which maximum efficiency occurs
ze2=4.5; // percentage impedance
pt=((1/nmax)-1)*P*(l/100); // total losses
pc=pt/2; // core loss = ohmic loss at maxim... |
4fc8825829e48502f8992ed10ecdfacb12a4d705 | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH4/EX4.14/example_14.sce | 4cf05a66026236d6a8802174b1731475ea334ac1 | [] | 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 | 452 | sce | example_14.sce | clc
clear
printf("example 4.14 page number 151\n\n")
//to find the discharge pressure
d=0.025 //in m
u=3 //in m/s
density=894 //in kg/m3
viscosity=6.2*10^4 //in Pa-s
Re=(u*d*density)/viscosity;
f=0.0045;
L=50;
delta_P=2*f*density*u^2*(L/d)
printf("frictional head loss = %f kPa",delta... |
bab86da7145e80f44c7492786f48d58fa4af04da | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH3/EX3.7/Ex3_7.sce | e007560b0ca41feb3fd5c386b6d713a7fcd38831 | [] | 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 | 447 | sce | Ex3_7.sce | clear;
clc;
printf("\t\t\tProblem Number 3.7\n\n\n");
// Chapter 3 : The First Law Of Thermodynamics
// Problem 3.7 (page no. 97)
// Solution
Rho=62.4 //Unit:lbm/ft^3 //the density of the fluid
V=100 //Unit:ft/s //Velocity of fluid
d=1 //Unit:in //Diameter
//1 ft^2=144 in^2 //A=(%pi/4)*d^2
A=(%pi*d^2)/(4*1... |
79a9500369f1963ba2d3405c9a58d7ff6648a388 | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/disassembler/brvs.instr.tst | bb4ab8eb3b541a54916dbc98466b0cfa26fc0dc4 | [] | 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 | 5,670 | tst | brvs.instr.tst | ; @Harness: disassembler
; @Result: PASS
section .text size=0x00000100 vma=0x00000000 lma=0x00000000 offset=0x00000034 ;2**0
section .data size=0x00000000 vma=0x00000000 lma=0x00000000 offset=0x00000134 ;2**0
start .text:
label 0x00000000 ".text":
0x0: 0xfb 0xf1 brvs .+126 ; 0x80
0x2: 0xf3 0x... |
c3580ff879ddb9bbd1bcb45e9cb708a5ab8769b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH3/EX3.7/Ch03Ex7.sce | 1afcd6f155db24fe36e91d03ae9fbeca8f591b19 | [] | 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,714 | sce | Ch03Ex7.sce | // Scilab code Ex3.7 : Pg:102 (2008)
clc;clear;
F = 9.0; // Focal length of the eye-piece, cm
// As F = f1*f2/(f1 + f2 - d) and f1 = f; f2 = f; d = 2/3*f, solving for f
f = poly(0, 'f');
f = roots(f*f-F*(f+f-2/3*f)); // Focal length of the eye-lens, cm
d = 2/3*f(1); // Distance of separation of two lens... |
e040cfd67229c8659a23263ee5ba32a7783ecfc5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /534/CH12/EX12.1/12_1_Plate_surface.sce | 953567f5f547c7421b00c87c247f32f3ae0063bf | [] | 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,660 | sce | 12_1_Plate_surface.sce | clear;
clc;
printf('FUNDAMENTALS OF HEAT AND MASS TRANSFER \n Incropera / Dewitt / Bergman / Lavine \n EXAMPLE 12.1 Page 731 \n')// Example 12.1
// a) Intensity of emission in each of the three directions
// b) Solid angles subtended by the three surfaces
// c) Rate at which radiation is intercepted by the thr... |
6831b3b305d543edff806a38f45dbbb3e89b6c75 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2267/CH7/EX7.16/ex7_16.sce | 6db372c9304db955694a7f3b40ac7b4b17d0909b | [] | 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 | 417 | sce | ex7_16.sce | //Part A Chapter 7 Example 16
clc;
clear;
close;
mg=40;//kg
mf=2.2;//kg
p1=1.47;//MPa
T=120;//degree C
p2=107.88;//kPa
cv=2.09;//kJ/kg.K
Td=T-101.8;//degree C(DegreeSuperHeat)
hf=2673.95;//kJ/kg
h=hf+Td*cv;//kJ/kg
hf2=918.926;//kJ/kg
hfg2=1864.28;//kJ/kg
x2=(h-hf2)/hfg2;//dryness fraction
x1=(mg-mf)/mg;... |
e87f12ef7261f8a0fccd1c5d8321b43accfabc1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH2/EX1.2.17/Ex1_2_17.sce | 624bf6681dbfa5c051950f7c9f39f0af7611c7a1 | [] | 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 | 451 | sce | Ex1_2_17.sce | //Section-1,Example-4,Page no.-AC.205
//To find the air required for the perfect combustion of 1 m^3 of the given gas.
clc;
T=0.22
L_O2=0.02
Net_O2=0.2
Plus_CO2=0.05
T_CO2=T+L_O2+Plus_CO2
T_N2=1.6
T_O2=Net_O2*(40/100)
T_W=T_CO2+T_N2+T_O2
M_Q=Net_O2*(100/21)
P_CO2=(T_CO2/T_W)*100
disp(P_CO2,'Percentage composition of CO... |
8f5c4c3ffc444bc0995046aebcd275c059d1dedc | 449d555969bfd7befe906877abab098c6e63a0e8 | /182/CH7/EX7.6/example7_6.sce | 561118190fa8a1e970187c3820b60107a33bca67 | [] | 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 | 887 | sce | example7_6.sce | // to calculate the minimum change detectable by the bridge
// example 7-6 in page 172
clc;
//Given data
P=3.5e+3; Q=7e+3; S=4e+3; R=2e+3; // bridge arm resistances in ohm
Eb=10;// supply voltage in volt
Ig=1e-6;//galvano meter reading in ampere
rg=2.5e+3;//galvanometer resistance=2.5 K-ohm
//calculations
r=((... |
be7f243d5e9035f0d0532b9b216e0ba16f3cd558 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1535/CH8/EX8.10/Ch08Ex10.sci | cb1c55c62e5380c278cc7efc4de04a3585da8a73 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 345 | sci | Ch08Ex10.sci | // Scilab Code Ex8.10: Page-175 (2010)
c = 3e+008; // Speed of light in vacuum, m/s
dE = 4e+026; // Energy radiated per second my the sun, J/s
dm = dE/c^2; // Rate of decrease of mass of sun, kg/s
printf("\nThe rate of decrease of mass of sun = %4.2e kg/s", dm);
// Result
// The rate of decrease of mas... |
75f69fb092138889e970447acbd3fc30bcd46cfb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3739/CH2/EX2.9/EX2_9.sce | e7ff25591ff2c0cd026cfd9e11a8febc6c033c50 | [] | 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 | 685 | sce | EX2_9.sce | //Chapter 2, Example 2.9, page 47
clc
//Initialisation
FSL=128 //FSL in dB
Lb=135 //Sum of FSL and medium loss Lm
Lc=5
Gt=30 //transmitter gain in dB
Gr=30 //reciever gain in dB
Pr=-60 ... |
7001af9a8d85eee1c6298a9e5d23f8db64c62042 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH3/EX3.27/Ex3_27.sce | 5fbc5d59d2e6374800740d79226e85eb5fb6cf72 | [] | 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 | 477 | sce | Ex3_27.sce | //EX3_27 PG-3.60
clc
Il=12e-3;//load current
Es=200;//rms voltage
Rf=0.02;//riplle factor
Esm=sqrt(2)*Es;//peak value of input voltage
Edc=2*Esm/%pi;
Idc=Il;
Rl=Edc/Idc;//load resistance
f=50;//frequency of the supply in Hz
disp(" For a half wave rectifier Ripple factor=1/(2*sqrt(3)*f*C*Rl)")
C=(4*sqrt(3)*f*... |
4d6f2aed22442247e04458f92c582c345f745bb8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1895/CH8/EX8.20/EXAMPLE8_20.SCE | 3f5c2087352612da3a6741eb992bbff4842fab15 | [] | 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 | 718 | sce | EXAMPLE8_20.SCE | //ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 7
//WAVEFORM CODING TECHNIQUES
clear all;
clc;
printf("EXAMPLE 8.20(PAGENO 415)");
//given
SbyN_0dB = 40//signal to noise ratio in dB
SbyN_0 = exp((SbyN_0dB/10)*log(10))//signal to noise ratio
q = sqrt((2 / 3) * (SbyN_0));//quantizing level
... |
9526ab43dd795fda09e57abfbd4e0296d8e2ec84 | 449d555969bfd7befe906877abab098c6e63a0e8 | /854/CH11/EX11.8/Example11_8.sce | fd0c52c59d50cb2f34d2c46dd2dfb07758e1f606 | [] | 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,183 | sce | Example11_8.sce | //clear//
//Caption:Program to find the input impedance and power delivered to
//the load
//Example11.8
//page363
clc;
close;
ZR1 = 300; //input impedance of first receiver
ZR2 = 300; //input impedance of second receiver
Zo = ZR1; //characteristic impedance = 300 ohm
Zc = -%i*300;//capacitive impedance
L = 80e-02;//le... |
3f8f02de0c45620f8122bb520dbe837dbd98b925 | 683d2599aa2be1a5f74b928d545b20e7ea656cd1 | /microdaq/macros/microdaq_blocks/mdaq_mem_read.sci | b32039b714a65c08ca2a3ec78839b65664f6a26e | [
"BSD-3-Clause"
] | permissive | pj1974/Scilab | 5c7fb67d5cae5ac0cdf78e3dd66b97ba50f9fc95 | cd54f1bd8502d6914ad6ff5271ca0e6e3d323935 | refs/heads/master | 2020-12-25T17:12:56.934984 | 2015-10-06T17:16:11 | 2015-10-06T17:16:11 | 41,862,822 | 0 | 0 | null | 2015-09-03T14:00:56 | 2015-09-03T14:00:56 | null | UTF-8 | Scilab | false | false | 3,382 | sci | mdaq_mem_read.sci | function [x,y,typ] = mdaq_mem_read(job,arg1,arg2)
mem_write_desc = ["This block reads data from MicroDAQ memory.";
"Block with mdaq_mem_set function can be used to";
"change Standalone and Ext model parameters";
"";
"Set block parameters:"];
x=[];y=[];typ=[];
select job
case 'set' then... |
325dd08e71a00ab52fd7a0eb30bdb8fd3ce57969 | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH4/EX4.11/EX4_11.sce | 2e0d94c2ba57469b1677cc2bc2f7b326616bb11a | [] | 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 | 864 | sce | EX4_11.sce | clc;funcprot(0);......//Example 4.11
//Initialization of variables
L=0.05;.........//Distance between 2 verticle plates in m
L1=1;...........//Length of the plate in m
W=1;...........//
Tw=100;........//Temperature of hot plate in degrees celcius
Ta=20;.............//Temperature of cold plate in degrees celcius
... |
9a874284426d1542cbc5ce3262ad36697a15f005 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /OW McCoy Dodge.sce | bc215e022c0b5b40e6fd519e88432d486a6556f7 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 30,336 | sce | OW McCoy Dodge.sce | Name=OW McCoy Dodge
PlayerCharacters=McCoy
BotCharacters=McCoy Bot.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=McCoy
AddedBots=McCoy Bot.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=2
BotTeams=1
MapName=horizbounce.map
MapScale=2.5
BlockProjectilePredictors=true
BlockCheats=true
InvinciblePlayer=t... |
cb390de1b18022f13bd7241fa85e1722d8e76d72 | 449d555969bfd7befe906877abab098c6e63a0e8 | /896/CH6/EX6.5/5.sce | 0d6847b9466e742775dfa5f34614d6576649ccff | [] | 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 | 448 | sce | 5.sce | clc
//Example 6.5
//Calculate volumetric flow rate of gasoline through a pipe
d=0.1//m internal diameter of pipe
A=%pi*d^2/4//m^2
dx=100//m length of pipe
f=0.005//dimentionless fanning friction factor
dz=10//m difference in water level
g=9.81//m/s^2
v=((2*g*dz/4/f)*d/dx)^0.5//m/s
printf("The velocity of gaso... |
80aa18b2fa5cf226be87e5900f9ae6876d1dae19 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_K._Rajagopal_2840.zip/Engineering_Physics_K._Rajagopal_2840/CH2/EX2.7/Ex2_7.sce | 90cb8e88342a06272664bd458f3edac12ad7d95a | [] | 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 | 182 | sce | Ex2_7.sce | errcatch(-1,"stop");mode(2);;
//need to find absorption coefficient
V=5600 //in m^3
T=2 //in second
s=700 //in m^2
a=0.16*V/(s*T)
disp(a,"absorption coefficient =")
exit();
|
d5fca7953c9087b879c213bafe8ac6a0aa433db9 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/hypermatrices.man.tst | 566da4dac4e480dcb6ec4a8684aa1323ad65c497 | [
"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 | 81 | tst | hypermatrices.man.tst | clear;lines(0);
a(1,1,1,1:2)=[1 2]
a=[1 2;3 4];a(:,:,2)=rand(2,2)
a(1,1,:)
[a a]
|
54888e215e4d63f6d2b0f15afc2e1212b734d1ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /2198/CH1/EX1.11.8/Ex1_11_8.sce | cbd6b58f76a794289c200aae386b620b6dd2c773 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 506 | sce | Ex1_11_8.sce | //Ex 1.11.8
clc;clear;close;
format('v',9);
//Given :
n=5*10^22;//per cm^3
ni=1.52*10^10*10^6;//per m^3
q=1.6*10^-19;//Coulomb
mu_n=0.135;//m^2/V-s
mu_p=0.048;//m^2/V-s
impurity=1/10^8;//atoms
sigma_i=ni*q*(mu_n+mu_p);//(ohm-cm)^-1
rho_i=1/sigma_i;//ohm-cm
disp(rho_i,"Resistivity of intrinsic Si in ohm-m... |
66a70814aa64b898c67829fb0f679e1856bb5cb3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2762/CH4/EX4.3.4/4_3_4.sce | f7bb436856b4ae779f73e54e7b41543a09730a30 | [] | 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 | 473 | sce | 4_3_4.sce | //Transport Processes and Seperation Process Principles
//Chapter 4
//Example 4.3-4
//Principles of Steady State Heat Transfer
//given data
//nomenclature of unmentioned specifications similar to previous example
I=200;//current in A
R=0.126;// resistance in ohms
P=I*I*R;//Power in watts
Tw=422.1;//watt temp i... |
f5fc248e668d9891e46d3301da30472379229b93 | e02aa9695b075784e5d6aba93cab02d1864f1039 | /Analyse/tp_scilab_latex/annexes/prise_en_main_scilab.sce | cb502bc5b350bd222c244d5805aec8087621a446 | [] | no_license | michelprojets/Ensimag1 | 1a4cf84203f0e63a71ece278bf364d32d2219825 | b9ed4a050c7c548781a9e26d99747e8883c5c1f5 | refs/heads/master | 2021-09-13T15:47:16.632446 | 2018-05-01T18:17:26 | 2018-05-01T18:17:26 | 103,514,194 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 854 | sce | prise_en_main_scilab.sce | // question 1
// spec permet de renvoyer les valeurs propres d'une matrice
eye(4,4) // matrice identité 4x4
// question 2
// 1)
A = [1,0,3,1;1,2,0,1;0,1,3,0]
size(A) // taille matrice A
// 2)
A(1,:) // première ligne
A(:,4) // dernière colonne
A(2,3) // élément deuxième ligne troisième colonne
// 3)
diag(A) // ... |
8f26b5f5a3e8c221d2dbfe99b515c179145a54f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1472/CH11/EX11.5.b/11_5b.sce | 653dd4560c1f62ebc0355620e6a35e7215f6effa | [] | 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 | 11_5b.sce | clc
//initialization of varaibles
P1=100 //psia
T1=2000+460 //R
P2=15 //psia
g=1.4
cp=0.276
cv=0.207
T2=1520 //R
//calculations
k=cp/cv
v1=53.34*T1/(P1*144)
v2=v1*(P1/P2)^(1/k)
dh=cp*(T2-T1)
dv=v2-v1
//results
printf("Enthalpy change = %d B/lb",dh)
printf("\n Volume change = %.1f cu t/lb",dv)
|
11011ef16c943b799c229d1610c895fd1c6bfd26 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH2/EX2.a.12/Example_a_2_12.sce | 59b25363099a3647eb74be2d4080bc3a61cd6b52 | [] | 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 | 370 | sce | Example_a_2_12.sce | //Example 2_12 page no:96
clc;
//current source are parallel so added them up
I1=5;
I2=5;
I3=10;
I=I1+I2+I3;
R1=2;
R2=2;
R3=3;
R4=2;
R5=1;
R=1/((1/R1)+(1/R2)+(1/R3)+(1/R4)+(1/R5));
V=I*R;
disp(V,"the voltage source is (in V)");
disp(R,"the resistance connected in series is (in ohm)");
//in text book res... |
ae073be5cef0d088fa53ffb8a6880416c845fa6d | fdbfc24750929832bb65f0d880937a70c6135798 | /Assignment4/3 Rayleigh_Power_Method.sce | a03ba3c83a6cd175d1fa581a02a16ccab71c294a | [] | no_license | mohitgaggar/LA_assignment-Scilab- | 05ff51030d875d326f01b75a8300c41bf6a1cb75 | adcbc360e81b9d3b64c826ba3299b90dacdcc8e5 | refs/heads/master | 2021-01-02T20:29:33.540763 | 2020-06-03T11:05:06 | 2020-06-03T11:05:06 | 239,787,284 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,359 | sce | 3 Rayleigh_Power_Method.sce | clc;clear;close;
A=[]
disp("-------------------------------------------------------------------------")
printf(" Enter a 3x3 matrix:\n\n")
for i=1:3
for j=1:3
printf("Enter element A(%d,%d):",i,j)
A(i,j)=input("")
end
end
disp(A,"The matrix is:")
x0=[]
disp("------------... |
dc0b037830e4486bf53c721db8833c5c525a9324 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH3/EX3.21/3_21.sce | 335c80b6bf3a0eb42504df53e4f2e38007b15129 | [] | 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,157 | sce | 3_21.sce | //Example 3.21
//Relaxation Method
//Page no. 79
clc;clear;close;
A=[10,-2,-2,-6;-1,10,-2,-7;-1,-1,10,-8]
deff('y=R(i,x,y,z)','y=A(i,1)*x+A(i,2)*y+A(i,3)*z+A(i,4)')
printf('dx\tdy\tdz\tdR1\tdR2\tdR3\n---------------------------------------------')
I=eye(3,3)
for i=1:3
printf('\n')
for j=1:3
... |
6c6a9580570f2ad059af0957b1b020f0a7474f33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH4/EX4.6/Ex4_6.sce | 0052115be12628a3041e24ebd7eb279be05c30dd | [] | 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 | 465 | sce | Ex4_6.sce | //example-4.6
//page no-125
//given
//radii of cation and anion in CaO
rc=0.94*10^-10 //m
ra=1.32*10^-10 //m
//so the lattice side will be
a=2*(rc+ra) //m
//effective no of atoms in FCC lattice structure
Ne=4 //because CuO has FCC cubic structure
//molecular weight of CuO
Aw=40.08+16
//atomic weight uni... |
b94e7a08c21a13d52aed75a2332b576e0bf0e155 | bb44d6eb6adf8f21077f2a49f2eb44d2424b2a5b | /gcd.sci | a8dede61dd92d30daaf0fb89f2fbf5a834f75cba | [] | no_license | prasadovhal/Scilab-Codes | c8ccc49feba4243d092d8a1eba7a708eb95dc89e | 3af5566d62b1f1b6cf080ec20391c39b9d61897d | refs/heads/master | 2020-03-29T16:50:45.738023 | 2018-09-24T16:05:50 | 2018-09-24T16:05:50 | 150,130,310 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 244 | sci | gcd.sci | function [gcd]=gd(n1,n2)
if (n1>n2) then
(n1==n1, n2==n2)
else
temp==n1
n1==n2
n2==temp
end
while((remainder=n1 % n2)!=0)
n1==n2
n2==remainder
end
gcd==n2
endfunction
|
686bcb0dc617221ec8be76e2b8f5bc096f7943c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH5/EX5.24/EX_5_24.SCE | 17dce1596f1c170446cb2fc49e41c57219940e7e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 534 | sce | EX_5_24.SCE | // Example 5.23:corner frequency and bandwidth
clc;
clear;
close;
tr=16;//rise time in micro second
V=100;//voltage in milli volts
Vd=90;//voltage in milli volts
f=5;//frequecny in killo hertz
fh= (0.35/(tr*10^-6))*10^-3;//upper cut off frequency in killo hertz
P= ((V-Vd)/V)*100;//
fl=(P*10^3*f)/(100*%pi);//l... |
6fe29dd9249fdcdae2f6fc00389d11d2acd34688 | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH8/EX8.5/Example8_5.sci | b9ea72a64c9a3d061153d88613a726336bd13f15 | [] | 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,396 | sci | Example8_5.sci | //Programming Example 8.5
//read several lines of text & determine the average number of characters per line
function[]= mainAvg()
global Sum //total number of characters
Sum=0
global Lines //total number of lines
Lines=0
printf("Enter the text below")
//read a line of te... |
d7400b95d18dffcfc01691593c640f8c54f32db4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH2/EX2.9/exa_2_9.sce | b26e5ba19603269aaa16eedce6d47667d8142e11 | [] | 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 | 641 | sce | exa_2_9.sce | //Exa 2.9
clc;
clear;
close;
//given data
k_in=0.3;// in W/mK
k_gw=0.038;// in W/mK
ro=1.5;// in cm
ho=12;// in W/m^2 degree C
rc=k_in/ho;// in m
rc=rc*10^2;// in cm
disp(rc,"Critical radius in cm")
if ro<rc then
disp("Since radius of insulation ("+string(ro)+" cm) is less than critical radius of insu... |
194d8cadf0f3c5f031c9165f4c94dda4fdfa2e63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH4/EX4.6/Example4_6.sce | e006068f651bcb5db45944700c75447306967022 | [] | 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 | Example4_6.sce | //Exa 4.6
clc;
clear;
close;
//Given data :
r=2/2;//cm
rdash=0.7788*r;//cm
d12=0.12*100;//cm
d11dash=300;//cm
d12dash=sqrt(300^2+100^2);//cm
d21dash=d12dash;//cm
d22dash=d11dash;//cm
d11=rdash;//cm
d22=rdash;//cm
d12=100;//cm
d21=100;//cm
Dm=(d11dash*d12dash*d21dash*d22dash)^(1/4);//cm
Ds=(d11*d12*d21*... |
7c25fffc958e9cc352391deda7920e1e3598b77b | bd1c6c9cddf020f43e361b17ddf9ecd803d20f82 | /BN/code/testes_2/resultado.tst | 69c27549bac806d8b49144d31bf2a761cc73b38a | [] | no_license | drohobytskyy/C | 04f66acb410f4a044d2d4c4a2c358e0ae19271ee | 073ac49322cfca0aa42fa7f7019666dcf5227bef | refs/heads/master | 2021-01-22T03:23:39.283301 | 2017-02-06T19:42:16 | 2017-02-06T19:42:16 | 81,118,496 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 566 | tst | resultado.tst | V_01 ok
V_02 ok
V_03 ok
V_04 ok
V_05 ok
V_06 ok
V_07 ok
V_08 ok
V_09 ok
V_10 ok
V_11 no
V_12 no
V_13 no
V_14 ok
V_15 ok
V_16 ok
V_17 ok
V_18 no
V_19 ok
V_20 ok
V_21 ok
V_22 ok
V_23 no
V_24 no
V_25 ok
V_26 ok
V_27 ok
V_28 no
V_29 ok
V_30 no
V_31 no
V_32 no
V_33 no
V_34 ok
V_35 ok
V_36 ok
V_37 ok
D_01 no
D_02 no
D_03 no
... |
fefc7bfc4647776cf0e8822788979b2fb42e1421 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1442/CH9/EX9.10/9_10.sce | bd97da391bb3ee92d2f8eede8b60715f7eafd48f | [] | 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 | 9_10.sce | clc
//initialisation of variables
m1= 1 //kg
h1= 2967.6 //kJ/kg
h2= 83.96 //kJ/kg
m2= 10
s1= 7.5166 //kJ/kg K
s2= 0.2966 //kJ/kg K
s3= 1.1654 //kJ/kg K
//CALCULATIONS
h3= (m1*h1+m2*h2)/(m1+m2)
S= -m1*s1-m2*s2+(m1+m2)*s3
//RESULTS
printf (' enthalpy = %.1f kJ/kg',h3)
printf (' \n entropy change = %.4f kJ/k... |
6ae3278504ab937689b21f5f826116cdb8753d2a | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH2/EX2.8/Example2_8.sce | f60b0cd5b457e382de1c3cc2d50a19d3cf2a8f40 | [] | 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 | 389 | sce | Example2_8.sce | clear ;
clc;
// Example 2.8
printf('Example 2.8\n\n');
//Page no. 63
// Solution
// 1 kg of the air/HCN mixture
// (a)
m1 = 27.03 ;//[g]
m2 = 29.0 ;//[g]
cn = (10*m1*1000*1000)/(10^6*m2) ;//[mgHCN/kg air]
printf('(a) 10.0 ppm HCN is %.2f mg HCN/kg air.\n',cn);
// (b)
ld = 300 ;//[mg/kg air]
fr = cn/... |
942027cf978092c7a3571cf5c8c424a375040224 | d976bbc11c40569df55ffeebaa44336b1aebb02b | /simulation_par_discretisation.sce | e0f6bebbfc88fe3839f4e6c1e7e99e39e1d330fb | [] | no_license | jonathanVisbecq/Projet-MODAL-SNA | 212271eb7c47164b32b26823c629ad5f44c8230b | 596e0052536cfe4522371bbd6de0ca0c37ba2f4d | refs/heads/master | 2021-01-02T09:27:42.502076 | 2013-06-19T16:30:39 | 2013-06-19T16:30:39 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 1,802 | sce | simulation_par_discretisation.sce | //------------------------------------------------------------------------------
// Simule le système avec discrétisation en temps
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
// Simule une trajectoire... |
359ecb5dc11abcb32794b9350bc19c49cb1eb996 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2090/CH2/EX2.7/Chapter2_example7.sce | b3c9dde24aaeb35826c24076365c9899fbbebe3e | [] | 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 | 509 | sce | Chapter2_example7.sce | clc
clear
//Input data
p1=1//Inlet pressure in bar
p2=32.425//Pressure at the end of isentropic compression in bar
r=6//Ratio of expansion
r1=1.4//Isentropic index
//Calculations
rc=(p2/p1)^(1/r1)//Compression ratio
b=(rc/r)//cut-off ratio
n=(1-((b^r1-1)/(rc^(r1-1)*r1*(b-1))))*100//Air-standard efficiency
... |
ec9f8be1432a1ac963851c41e0f38040074fce20 | 918e8207504f36c7eaf613b62c71e91ad3a33a8a | /2017/educrace_by_lulu/EducRace/DATA/Scenario/CarCrash.sce | dfbe09bf2bf0c4718f20d9740276b441fa2568b1 | [] | no_license | lazarusccr/GraphicsContest | b1299eeb74449b8714f126deeb64dc02da285260 | 8dec398588970e958c7f08ab7be32af760acbbd6 | refs/heads/master | 2021-04-29T07:29:46.122593 | 2017-12-28T16:26:51 | 2017-12-28T16:26:51 | 77,950,829 | 4 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 115 | sce | CarCrash.sce | Tint 255 0 0 0
Label Here1
TintAlphaChange 100 0.5 Linear
Wait 0.5
TintAlphaChange 0 0.5 Linear
Wait 0.5
Goto Here1 |
59a24b741f76ff0f7c30bdd4937b65d6ff5133c9 | c557cd21994aaa23ea4fe68fa779dd8b3aac0381 | /test/ltagdelete.tst | b7e65bf4d858433c0a8f6e60423ab625502d6917 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | dougsong/reposurgeon | 394001c0da4c3503bc8bae14935808ffd6f45657 | ee63ba2b0786fa1b79dd232bf3d4c2fe9c22104b | refs/heads/master | 2023-03-09T15:22:45.041046 | 2023-02-25T08:33:06 | 2023-02-25T08:33:06 | 280,299,498 | 1 | 0 | NOASSERTION | 2023-02-25T08:33:08 | 2020-07-17T01:45:32 | Go | UTF-8 | Scilab | false | false | 109 | tst | ltagdelete.tst | ## Test for correct side effects of lightweight tag deletion.
read <lighttag.fi
tag first-tag delete
write -
|
cc7e70a464a2497205402db93b5c8196f6faaa59 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1217/CH4/EX4.5/Exa4_5.sce | 7785990590d8fb06713b562d3bbbca56599e5f8d | [] | 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 | Exa4_5.sce | //Exa 4.5
clc;
clear;
close;
disp("The given circuit is basically an inverting amplifier with node A at virtual ground. Writing KCL at node A yields ");
disp("I1+I2=If");
disp("-2/10Kohm+3/20Kohm=-Vo/100Kohm");
Vo=-(-20+15);//in Volts
disp(Vo,"Output voltage in Volt is : ") |
64db6d0e6fe1104433af81c4661ed41287d1985f | 3655c97e8146a7ca97eaf60c4eb20ced2238eacb | /scilab/Function Optimization/min_bd_rastrigin.sci | 0be537efb4540496735b8c61a957a2b8a15e7ceb | [] | no_license | edielsonpf/genetic-algorithm | 99ae112982b6fee77ecfc55cbd10172b381e1dde | 94c599a23fa3b2f477c7a5062f65248a93cc395a | refs/heads/master | 2020-04-05T22:02:45.016605 | 2018-12-24T14:36:40 | 2018-12-24T14:36:40 | 32,630,334 | 0 | 1 | null | 2019-03-25T12:23:16 | 2015-03-21T11:45:11 | Python | UTF-8 | Scilab | false | false | 66 | sci | min_bd_rastrigin.sci | function Res = min_bd_rastrigin()
Res = [-1 -1]';
endfunction
|
350dfe16b001f373ecd242d5dd46ddd5dad1c7fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH3/EX3.3/Ex3_3.sce | 4af78e16070e36be9c0cfa02bf32e42aaacbf7c5 | [] | 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,014 | sce | Ex3_3.sce | //CHAPTER 3- THREE-PHASE A.C. CIRCUITS
//Example 3
clc;
disp("CHAPTER 3");
disp("EXAMPLE 3");
//VARIABLE INITIALIZATION
r_ph=30; //resistance of coils in Ohms
l=0.07; //inductance of coils in Henry
v_l=400; //line voltage in Volts
f=50; ... |
c8dee917accbdefef331ce7628c6b7df9ebf4aaf | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/util/%spb_diag.sci | 59c62d146883a5d6cc810e0994313e51bcd40bde | [
"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 | 503 | sci | %spb_diag.sci | function d=%spb_diag(a,k)
// g_diag - implement diag function for sparse matrix, rational matrix ,..
// Copyright INRIA
[lhs,rhs]=argn(0)
if rhs==1 then k=0,end
[ij,v,sz]=spget(a)
m=sz(1);n=sz(2)
if m>1&n>1 then
l=find(ij(:,1)==(ij(:,2)-k))
if k<=0 then
mn=mini(m,n-k)
else
mn=min(m+k,n)
end
kk=abs(k)
... |
26b8690ee99546fde5a2e3ca61d41f6a8abe5f38 | e9affefd4e89b3c7e2064fee8833d7838c0e0abc | /aws-java-sdk-core/src/test/resources/resources/profileconfig/ProfileWithEmptySecretKey.tst | 666fcc27d6ac911274a9cb4540700a144209c68e | [
"Apache-2.0"
] | permissive | aws/aws-sdk-java | 2c6199b12b47345b5d3c50e425dabba56e279190 | bab987ab604575f41a76864f755f49386e3264b4 | refs/heads/master | 2023-08-29T10:49:07.379135 | 2023-08-28T21:05:55 | 2023-08-28T21:05:55 | 574,877 | 3,695 | 3,092 | Apache-2.0 | 2023-09-13T23:35:28 | 2010-03-22T23:34:58 | null | UTF-8 | Scilab | false | false | 53 | tst | ProfileWithEmptySecretKey.tst | [test]
aws_access_key_id=abcd
aws_secret_access_key=
|
b282123f39670959aac8275794ff33791123f4b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH5/EX5.8/5_8.sce | 5d069e989846bca1d7d04c8a3e9c637ffc49b2ad | [] | 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 | 498 | sce | 5_8.sce | clear; clc; close;
Vcc = 16;
Vbe = 0.7;
Vt = 26*(10^(-3));
R1 = 90*(10^(3));
R2 = 10*(10^(3));
Re = 0.68*(10^(3));
Rc = 2.2*(10^(3));
ro = 50*(10^(3));
Beta = 210;
Vb = (R2/(R1+R2))*Vcc;
Ve = Vb - Vbe;
Ie = Ve/Re;
re = Vt/Ie;
disp(re,"Value of diode resistive element is(in ohms) :");
Rb = (R1*R2)/(... |
eb5af3b0aa36878025ae6fbd364e6fd3a42b275c | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH5/EX5.10/Ch05Ex10.sci | 38ade59ca4196eb832aa1089bd3a60b1e9cda705 | [] | 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 | 778 | sci | Ch05Ex10.sci | // Scilab Code Ex5.10 Determining resolved componet of shearing force in a given direction: Page-168 (2010)
h1 = 1; k1 = 1; l1 = 1 // Miller indices for first set of planes
h2 = 1; k2 = 1; l2 = 0; // Miller indices for second set of planes
F_111 = 660; // Shearing force along [111] direction, N
cos_theta = (h... |
184764c51aa210f59ea05ebe4044e08fa010ab82 | 765bc14bfd27d828ffb23b30e838ac739fce91c5 | /Framework/Config_class/UserFiles/Tests/LSE/DynamicSystem_case1_1pmus.tst | d27b1e0aad1e21dc97aea78eee281e817acb8120 | [] | no_license | MaximeBaudette/PARTF | e677d9d5824271910b4b6de07569619201dea273 | 85b733e59c8160ec16b27dc373cc2ce6d35c3ff4 | refs/heads/master | 2020-03-09T20:57:14.579999 | 2018-05-17T00:50:08 | 2018-05-17T00:50:08 | 128,997,252 | 0 | 0 | null | 2018-04-10T21:30:48 | 2018-04-10T21:30:48 | null | UTF-8 | Scilab | false | false | 3,505 | tst | DynamicSystem_case1_1pmus.tst | [Bus1]
BusNumber = "1"
EvtPluginINIFilePath = "EventFromCSVPlugin/EventFromCSVPlugin.ini"
EvtParams.<size(s)> = "1 1"
EvtParams 0 = "C:\Projects\PARTF\trunk\Framework\Applications\AppPlugins\Mathscript\Ringdown\RealEvent_case1_1pmus.csv"
EvtConfig.UTC Time 0 = "\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00"
EvtConfi... |
9bbe2a430dc3a4e0c27b95e30d316caa77d7da44 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH5/EX5.12/Ex5_12.sce | 529e45ea1c619ed2a0fa4076a8bb2889d11215bf | [] | 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 | Ex5_12.sce |
// Ex5_12
clc;
// Given:
w=0.1189;
flux=10^16;
// Solution:
A=w/(flux*3.16*10^7);// in m^2
A1=A*10000/(10^-24);// in Barns
printf("The cros section area is = %d b", A1)
|
c463ddc6f084111651620a3c6b117ad701ecf586 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH28/EX28.4/ques4.sce | 72b1d6605d5372f83a7499471f65b9c349764544 | [] | 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,516 | sce | ques4.sce | //ques4
clear
clc
disp('See figure in question');
disp('using numerical poissons equation u(i-1)(j)+u(i+1)(j)+u(i)(j-1)+u(i)(j+1)=h^2f(ih,jh)');
disp('Here f(x,y)=-10(x^2+y^2+10');
disp('Here for u1 i=1,j=2 putting in equation this gives : ');
disp('u1=1/4(u2+u3+150');
disp('similarly ');
disp('u2=1/4(u1+u4+18... |
31215ff0457d4bb92e5ce1648326fa65ad92cba0 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/m2sci/sci_cumsum.sci | 4d627d144f31e2f15394e52b0cdb6e4472b458d6 | [
"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 | 894 | sci | sci_cumsum.sci | function [stk,txt,top]=sci_cumsum()
// Copyright INRIA
txt=[]
if stk(top-rhs+1)(5)=='4' then
v='bool2s('+stk(top-rhs+1)(1)+')',
else
v=stk(top-rhs+1)(1),
end
if rhs==1 then
[m,n]=checkdims(stk(top))
x=stk(top)(1)
if m==-1&n==-1 then
set_infos([
'mtlb_cumsum('+x+') may be replaced by '
'cumsum('+x+')'... |
923045f054d9a210cc6cf837df9ffbaff4a7f61c | 6d1f05d2074f1d6f18d3d473f2dbd867c94fc7ee | /giarratano/SOURCE/TESTING/example.tst | 8ad6d824383131a2edf308fe6cd1606319d15ee9 | [] | no_license | arranger1044/icse-1516 | c40d2c86892cd90c14042a95581cbb0e238190fb | ee4bafb57bb549ef40e29b8edf8cdad038e97162 | refs/heads/master | 2020-12-24T19:04:01.588095 | 2016-05-31T07:46:47 | 2016-05-31T07:46:47 | 56,578,768 | 14 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 2,638 | tst | example.tst | (set-sequence-operator-recognition FALSE)
(set-dynamic-constraint-checking FALSE)
(set-strategy depth)
(unwatch all)
(watch rules)
; mab.clp test
(clear)
(open "example.rsl" example "w")
(load "compline.clp")
(load "mab.clp")
(reset)
(progn (dribble-on "mab.out") (run) (dribble-off))
(printout example "mab.clp differen... |
b2b953b7ed0597f416da75658f60ab48f1408d9b | 5a05d7e1b331922620afe242e4393f426335f2e3 | /macros/sos2ss.sci | d629c290dfda03e29947071560e1ab0538860860 | [] | no_license | sauravdekhtawala/FOSSEE-Signal-Processing-Toolbox | 2728cf855f58886c7c4a9317cc00784ba8cd8a5b | 91f8045f58b6b96dbaaf2d4400586660b92d461c | refs/heads/master | 2022-04-19T17:33:22.731810 | 2020-04-22T12:17:41 | 2020-04-22T12:17:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,987 | sci | sos2ss.sci | //Author: Parthasarathi Panda
//parthasarathipanda314@gmail.com
//Convert digital filter second-order section parameters to state-space form
//Calling Sequence
//[A,B,C,D] = sos2ss(sos)
//[A,B,C,D] = sos2ss(sos,g)
//
//sos2ss converts a second-order section representation of a digital filter to an equivalent state-spac... |
e35e7f3133b0a668288eb252f3c621dd577792e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1574/CH3/EX3.11/M_Ex_3_11.sce | 6ce1df5d8c3c1f9d744c4ef1b6c12762c71b30b1 | [] | 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 | M_Ex_3_11.sce | clf();
clc
//Chapter3: Modulation
//Example3.11, page no 144
//Given
deff("[y]=f(x)","y=Ec*(1+ma*(sin(wm*x)))*sin(wc*x)")
Ec=10,ma=0.5,wm=10000*%pi,wc=2*%pi*1e7
x=[0:0.01:20]*%pi/10;
subplot(2,1,1)
fplot2d(x,f)
xlabel("t", "fontsize", 3);
ylabel("Modulated Wave", "fontsize", 3, "color", "red");
Fc=wc/(2*%pi... |
2f3912d16b20b64b40921ef334d58610eedaefdf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2075/CH9/EX9.5/pe9_5.sce | 9d746f83d9766471fef0cfc618561cbbb5c10199 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 272 | sce | pe9_5.sce | //example 9.5
clc;funcprot(0);
//Initialization of Variable
I=22.6;//current
V=120;//voltage
Id=28;//A
Vd=280;//V
//calculation
P=3*I*V;
disp(P/1000,"total power in kW:")
Pl=Id*Vd;
disp(Pl/1000,"load power in kW:")
Pf=Pl/P;
disp(Pf,"power factor:")
clear()
|
bc4a790028590c04439fb923b1416cfbe8a08dda | 449d555969bfd7befe906877abab098c6e63a0e8 | /1436/CH1/EX1.7/ex1_7.sce | be0c304629cc82cca63235467b2f2b2705d760b3 | [] | 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 | 124 | sce | ex1_7.sce | // Example 1.7, page no-55
clear
clc
E_rec_pyro=0.95*0.85
T=1100/E_rec_pyro
printf("Pyrometer reading T = %.2f°C",T)
|
2599c36d3344f568725525177b2d26b1cf4ca49a | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/DEPENDENCIES/3_7_data.sci | 06e577d17018c736300d248e9a631f84641b65bf | [] | 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 | sci | 3_7_data.sci | //Compression ratio
r=6;
//Ratio specific heats for air
y=1.4;
//Pressure at beginning of compression(in bar)
p1=1;
//Temperature at beginning of compression(in K)
T1=27+273;
//Heat added during the constant volume combustion process(in kJ/kg)
qs=1170;
//Specific heat at constant volume(in kJ/kgK)
Cv=0.717; |
875b9deb33056140c981bb2a103e36fc1fb23fb7 | 676ffceabdfe022b6381807def2ea401302430ac | /library/Demos/Python/NekMesh/Tests/structured_grid.tst | a20cd5419d856601a68a9b034751604e506b8a04 | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 565 | tst | structured_grid.tst | <?xml version="1.0" encoding="utf-8" ?>
<test>
<description>Structured grid generation from NekMesh wrapper</description>
<executable python="true">StructuredGrid.py</executable>
<parameters> 5 6 0.0 1.0 2.0 3.0 2 Quad output.xml </parameters>
<files />
<metrics>
<metric type="regex" id="... |
26fc9979cc41022df2e556c37c672cda1dd1e93a | 4e9df66700bcf9688afe22df0009cdf4a17bc61f | /Scilab_Lab/examples/eyes.sci | 01c0b0ac169ebff1de25530d260a03cdb8d1fbf8 | [] | no_license | vmebus/workspace | e18947a1f967e6a3a7dfbc5cce6f92380d8637fc | f251b8a8e6cec30a77c7ef7b4103c5ee6e6d1393 | refs/heads/master | 2021-01-09T21:53:45.183564 | 2015-10-03T06:42:23 | 2015-10-03T06:42:23 | 36,120,248 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 192 | sci | eyes.sci | function eyes(result,L,Na)
N=length(result);
tt=0:1:Na*L;
set(gca(),"auto_clear","off");
for jj=1:Na*L:N-Na*L
plot(tt,result(jj:jj+Na*L));
end
set(gca(),"auto_clear","on");
endfunction |
2a9f1c0baa4bb68cdc16c13eb046fa58487c4efd | e8bcf3f9ffdfb367940fb9ed498b1c598ce92e65 | /comet.sce | f5d78ff341c641740879eca4bc6b963e65c9418d | [] | 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 | 177 | sce | comet.sce | // Program to demonstarte usage of comet
x=linspace(-%pi,%pi,500);
comet(x,%s^5-%s^3+%s+5)
xtitle('Using comet function to animate an equation')
xlabel('x')
ylabel('y')
|
ef140386d5ed97b8d708d4af9ca22b6b98c00c54 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3765/CH3/EX3.10/Ex3_10.sce | 4becf30993a1bd7d563a632f4d8e0ef0dd90becd | [] | 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 | 680 | sce | Ex3_10.sce | clc
// Example 3.10.py
// In example 3.9, how much heat per unit mass must be added to choke the flow//
// Variable declaration from example 3.9
To1 = 840 // upstream total temperature (in K)
M1 = 3.0 // upstream mach number
To1_by_Tostar = 0.6540 // To1/Tostar from Table A3
cp = 1004.5 ... |
ca25a0d279f223ce0198525cebfa5851f3c88405 | 7a77843c417bcedf80e1b0062437cf2e660f77fe | /GNSS_SOFTWARE_RECEIVERS/POSTPROCESSING_RECEIVERS/osgnss_next_step/src/third_party_tools/scilab/check_correlators_outputs/read_corr_out.sce | b309c7de42ef6a651b042b7433ce5d2ecd1a7b07 | [] | no_license | muhammadali201/gnsssdr | f3433dd5542f3df30e7ea966bffbeddbd2558e29 | 5e2d354c709563ed17ee5c8d0b6b725e00c59cdb | refs/heads/master | 2021-01-01T05:33:17.554728 | 2013-09-16T11:30:22 | 2013-09-16T11:30:22 | 41,659,404 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 838 | sce | read_corr_out.sce | clear all;
clc;
fileName='e:\corr_out.csv';
[fd, err] = mopen(fileName, 'rt');
s = mgetl(fd);
[Ie s] = strtod(s);
[Qe s] = strtod(s);
[Ip s] = strtod(s);
[Qp s] = strtod(s);
[Il s] = strtod(s);
[Ql s] = strtod(s);
[cross s] = strtod(s);
[dot s] = strtod(s);
[fre... |
45c317216763cbba1cd77f2d9994445f8bd5f6f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH2/EX2.3/example2_3.sce | ee28e306208bf07054bfcbd51a6b8d687e1894fb | [] | 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 | 76 | sce | example2_3.sce | w=24;
q=0.2;
v=w/q;
disp("the potential difference (in V) is "); disp(v); |
8d0a0bc9c3f34ffd4801feb87fc3c12cad1febbf | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH3/EX3.18/example_18.sce | 37db2eb07c0f9b9b993234c0be034f10943fefe0 | [] | 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 | 400 | sce | example_18.sce | clc
clear
printf("example 3.18 page number 108\n\n")
//to find the temperature of combustion
H_combustion = 1560000 //in kJ/kmol
H0_CO2 = 54.56 //in kJ/kmol
H0_O2 = 35.2 //in kJ/kmol
H0_steam = 43.38 //in kJ/kmol
H0_N2 = 33.32 //in kJ/kmol
t = H_combustion/(2*H0_CO2+3*H0_steam+0.875*H0_O2+16... |
316c3943b1d81270147ca8400c6783e4ea1a1128 | ad617742f184bf6d4cceb3e9c99232d8bd52b862 | /tests/CBUC.tst | 4f67559f991a81ef0fbb70b50dcf59861b509e41 | [
"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 | 398 | tst | CBUC.tst | *Testcase CBUC (Concurrent Block Update Consistency)
defsym testdur 10 # (maximum test duration in seconds)
mainsize 1
numcpu 2
sysclear
archlvl z/Arch
loadcore "$(testpath)/CBUC.core"
script "$(testpath)/CBUC.subtst" & # ('&' = async thread!)
runtest 300 ... |
cf3cb7d2072092bc25ed33677a68d10f29e8964e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH11/EX11.6/Ex11_6.sce | 7c8c9871e8b24ce70d617bde9a7bef89ba724b6e | [] | 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,058 | sce | Ex11_6.sce | //Fluid Systems - By - Shiv Kumar
//Chapter 11- Centrifugal Pumps
//Example 11.6
//To Calculate the Blade angle at Outlet, Power Required and Overall Efficiency of Pump.
clc
clear
//Given Data:-
Do=80; //Outer Diameter of the Impeller, cm
Q=1; //Discharge, m^3/s
... |
0e81285a90908fef464a7d5290a47c7bc7e0fbdf | d5bd4b5a4760efd0a3d16d7c39c7b495c5874d28 | /AnalogDigtitalCommunication/ampmod.sci | 79103c52014cc75cd7c67c741afcd8d7536e6e83 | [] | no_license | APU-PhasedArrayBeamForming/Array-Based-Beam-Forming | 27a61bc3cf93e544364121e508dc4d140b7e0cb1 | 4cde46b7aa3f4e995297ac72fc5038fa0cdf083d | refs/heads/master | 2021-01-25T08:01:17.468481 | 2017-06-15T18:47:40 | 2017-06-15T18:47:40 | 93,699,808 | 1 | 1 | null | 2017-06-15T18:47:40 | 2017-06-08T02:36:01 | Scilab | UTF-8 | Scilab | false | false | 724 | sci | ampmod.sci | function[x,Vm,Vc]=ampmod(Ec,Em,fm,fc,fs)
//Ec -carrier amplitude in volts
//Em - message signal amplitude in volts
//fm - modulating signal frequency Hz
//fc - carrier signal frequency in Hz
//fs - sampling frequency in samples/sec
t = 0:1/fs:1;
Vm = Em*sin(2*%pi*fm*t);
Vc = Ec*sin(2*%pi... |
3c2059e0883c71e2dd44978f53008020ad4e58f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /172/CH3/EX3.7/ex7.sce | 3fc0f72ff12e36d2b8a4e3f88fdbae0bc4d0c72d | [] | 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 | 399 | sce | ex7.sce | //example 7
//determining the pressure of water
clear
clc
vg=0.12736 //specific volume in m^3/kg for water at 200C
v=0.4 //specific volume in m^3/kg
P1=500 //in kPa
v1=0.42492 //specific volume at P1 in m^3/kg
P2=600 //in kPa
v2=0.35202 //specific volume at P2 in m^3/kg
P=P1+(P2-P1)*(v-v1)/(v2-v1) //calculati... |
714e180596ef3c6892214c847126b2a444f9ffc5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1541/CH2/EX2.37/Chapter2_Example37.sce | 2f8f87d82af460c55bbe4135883c4d37394cb3ce | [] | 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 | 742 | sce | Chapter2_Example37.sce | //Chapter-2, Example 2.37, Page 2.68
//=============================================================================
clc
clear
//INPUT DATA
nFL=0.98;//Efficiency of transformer at full load 0.8 power factor
upf=0.99;//Efficiency of the transformer at half load
Q=500;//Transformer rating in KVA
cosq=0.8;//Powe... |
9134306799fac1ffbbf8026643b821210df8856f | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH7/EX7.1/exa7_1.sce | adcd43a4a111f6c6905b1ef1507b1982fe7fff8e | [] | 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 | exa7_1.sce | // Example 7-1
// Steady state sinusoidal output
clear; clc;
xdel(winsid()); //close all windows
// please set the path
// cd "/<your code directory>/"
// exec("plotresp.sci")
s = %s;
w = 1;
K = 5;
T = 0.1;
G = syslin('c',K,T*s + 1);
t = 0:0.1:20;
u = sin(w*t);
plotresp(u,t,G,'Response to sinusoidal input');
// a... |
5565e9fca60b2dd09039a8bdf83b119bdef27879 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH23/EX23.7/B_7.sce | f09ab6a9c3bf9163623c87db3f904643c671022c | [] | 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 | 385 | sce | B_7.sce | // sum 23-7
clc;
clear;
Vi=20*5/18;
Vf=0;
m=80;
pmax=1;
u=0.1;
S=50;
KE=0.5*m*Vi^2;
N=KE/(u*S*2);
t=sqrt(N/(pmax*3));
b=3*t;
// printing data in scilab o/p window
printf("KE is %0.1f Nm ",KE);
printf("\n N is %0.2f N ",N);
printf("\n t is %0.1f mm ",t);
printf("\n b is %0.1f mm ",b);
//T... |
8eec0a180831e529d808118095ecf313cd610ad5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH6/EX6.3/Ex6_3.sce | acf742640675028ea02d0ccadb53da6bd0af5130 | [] | 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 | 786 | sce | Ex6_3.sce | clear;
clc;
//Example 6.3
Vdd=10;
R1=70.9;//(Kohm)
R2=29.1;//(Kohm)
Rd=5;//(Kohm)
Vtn=1.5;
Kn=0.5;//(mA/V^2)
//lambda=y
y=0.01;//V^-1
Rsi=4;//(Kohm)
Vgsq=Vdd*R2/(R1+R2);
printf('\ngate to source voltage=%.2f V\n',Vgsq)
Idq=Kn*(Vgsq-Vtn)^2;
printf('\ndrain current=%.3f mA\n',Idq)
Vdsq=Vdd-Idq*Rd;
printf... |
1cce086e14d13ecbb26ddeee688c7911249d7583 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH9/EX9.1/Ex_9_1.sce | 4f6b225c36711cd9ec71744217ff3d72e9b02bbc | [] | 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 | 258 | sce | Ex_9_1.sce | // Example 9.1;//quantum efficiency
clc;
clear;
close;
re=4.2*10^6;// Average no. of electron hole pair generated
rp=6*10^6;//no. of photons
h=1200;//wavelength in nano meter
n=round((re/rp)*100);//quantum efficiency
disp(n,"quantum efficiency is")
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.